Access functions for the NRF51 Clock Controller
More...
Access functions for the NRF51 Clock Controller
Access functions for the Clock Controller
LGPL License Terms libopencm3 License
- Author
- © 2016 Roel Postelmans
LGPL License Terms libopencm3 License
- Author
- © 2016 Maxim Sloyko maxim.nosp@m.s@go.nosp@m.ogle..nosp@m.com
-
© 2021 Eduard Drusa <ventyl86 at netkosice dot sk>
◆ clock_set_lfclk_src()
◆ clock_set_xtal_freq()
Select nominal frequency of external crystal for HFCLK.
This register has to match the actual crystal used in design to enable correct behaviour.
- Parameters
-
[in] | freq | enum clock_xtal_freq |
Definition at line 40 of file clock.c.
References CLOCK_XTALFREQ.
◆ clock_start_hfclk()
void clock_start_hfclk |
( |
bool |
wait | ) |
|
◆ clock_start_lfclk()
void clock_start_lfclk |
( |
bool |
wait | ) |
|
◆ clock_stop_hfclk()
void clock_stop_hfclk |
( |
void |
| ) |
|
◆ clock_stop_lfclk()
void clock_stop_lfclk |
( |
void |
| ) |
|