19 #ifndef CODEBASE_HAL_HAL_CLOCKS_H_ 20 #define CODEBASE_HAL_HAL_CLOCKS_H_ 43 #define LFCLK_FREQ 32768
void hfclk_xtal_deinit(void)
Function to de-initialize the HF clock from using the crystal. RC oscillator will be used to generate...
void lfclk_init(lfclk_src_t lfclk_src)
Function to initialize the LF clock.
void hfclk_xtal_init_nonblocking(void)
Function to initialize the HF clock to use the crystal. This function returns immediately after trigg...
void hfclk_block_till_xtal(void)
Blocks until the HF crystal oscillator is running.
Synthesizer from HFCLK clock.
void lfclk_deinit(void)
Function to de-initialize the LF clock. Saves a bit of power as LF clock is not running,...
void hfclk_xtal_init_blocking(void)
Function to start the crystal oscillator to be used for HF clock. This function blocks until the crys...