nrf_clock.h File Reference

nRF5x shared functions for configuration the system clocks More...

Detailed Description

nRF5x shared functions for configuration the system clocks

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file nrf_clock.h.

Go to the source code of this file.

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. More...
 
void clock_stop_lf (void)
 Stop the low frequency clock (LFCLK) More...
 

Function Documentation

◆ clock_start_lf()

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.

◆ clock_stop_lf()

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!