Struct nrf52832_hal::Clocks [−][src]
pub struct Clocks<H, L, LSTAT> { /* fields omitted */ }
Expand description
A high level abstraction for the CLOCK peripheral.
Implementations
Use an external oscillator as the high frequency clock source.
Use the internal oscillator as the high frequency clock source.
Start the Low Frequency clock.
Stop the Low Frequency clock.
Use the internal RC Oscillator for the low frequency clock source.
Generate the Low Frequency clock from the high frequency clock source.
pub fn set_lfclk_src_external(
self,
cfg: LfOscConfiguration
) -> Clocks<H, ExternalOscillator, LfOscStopped>
pub fn set_lfclk_src_external(
self,
cfg: LfOscConfiguration
) -> Clocks<H, ExternalOscillator, LfOscStopped>
Use an external crystal to drive the low frequency clock.