Struct nrf52833_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.
Auto Trait Implementations
impl<H, L, LSTAT> RefUnwindSafe for Clocks<H, L, LSTAT> where
H: RefUnwindSafe,
L: RefUnwindSafe,
LSTAT: RefUnwindSafe,
impl<H, L, LSTAT> UnwindSafe for Clocks<H, L, LSTAT> where
H: UnwindSafe,
L: UnwindSafe,
LSTAT: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Performs the conversion.
Performs the conversion.
Casts the value.
Casts the value.
Casts the value.
Casts the value.