nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ hf_audio_clock_update()

int hf_audio_clock_update ( void *const control_val_u)

#include <hf_audio_clock.h>

Update the audio clock frequency. This function configures the audio clock to the specified frequency value. The frequency value must be within the range defined by APLL_FREQ_MIN and APLL_FREQ_MAX. The function will adjust the frequency to fit within this range if necessary.

Parameters
[in]control_val_uPointer to the control value used to adjust the audio clock frequency.
Returns
0 on success, or a negative error code on failure.