nrf_clock.h¶
nRF5x shared functions for configuration the system clocks
-
void
clock_init_hf
(void)¶ Initialize the high frequency clock (HFCLK) as configured in the board’s periph_conf.h.
-
void
clock_start_lf
(void)¶ Start the low frequency clock (LFCLK) as configured in the board’s periph_conf.
Calling this function while the LFCLK is already running will have no effect.
-
void
clock_stop_lf
(void)¶ Stop the low frequency clock (LFCLK)
Note
Be sure that no module is using the LFCLK before you shut it down!