nRF5x shared functions for configuration the system clocks More...
nRF5x shared functions for configuration the system clocks
Definition in file nrf_clock.h.
Go to the source code of this file.
| #define | CLOCK_HFXO_ONBOOT 0 | 
| The high frequency clock (HFCLK) uses the internal oscillator per default.  More... | |
| void | clock_init_hf (void) | 
| Initialize the high frequency clock (HFCLK) as configured in the board's periph_conf.h.  | |
| void | clock_hfxo_request (void) | 
| Request the external high frequency crystal (HFXO) as HF clock source.  More... | |
| void | clock_hfxo_release (void) | 
| Release the use of the HFXO.  More... | |
| 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... | |
| #define CLOCK_HFXO_ONBOOT 0 | 
The high frequency clock (HFCLK) uses the internal oscillator per default.
Setting this define to 1 will enable the HFXO clock source on boot so it will always be active.
Definition at line 28 of file nrf_clock.h.
| void clock_hfxo_release | ( | void | ) | 
Release the use of the HFXO.
If this was the last active request, the HFXO will be disabled
| void clock_hfxo_request | ( | void | ) | 
Request the external high frequency crystal (HFXO) as HF clock source.
If this is the first request, the HFXO will be enabled.
| 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)