![]() |
nRF Connect SDK API 3.3.99
|
| int audio_clock_set | ( | uint16_t | freq_value | ) |
#include <applications/nrf_audio/src/modules/audio_clock.h>
Set 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.
| [in] | freq_value | The desired frequency value for the audio clock, calculated according to the formula in the nRF5340 SoC documentation. |