pub struct Xosc1k { /* private fields */ }
Expand description
Clock representing the 1 kHz output of the Xosc32kBase
clock
The XOSC32K peripheral has two possible clock outputs, one at 32 kHz and
another at 1 kHz. This structure is represented in the type system as a set
of three clocks forming a small clock tree. The Xosc1k
clock is derived
from the Xosc32kBase
clock. See the module-level documentation
for details and examples.
Implementations
sourceimpl Xosc1k
impl Xosc1k
sourcepub fn enable<M, N>(
token: Xosc1kToken,
base: EnabledXosc32kBase<M, N>
) -> (EnabledXosc1k, EnabledXosc32kBase<M, N::Inc>)where
M: Mode,
N: Increment,
pub fn enable<M, N>(
token: Xosc1kToken,
base: EnabledXosc32kBase<M, N>
) -> (EnabledXosc1k, EnabledXosc32kBase<M, N::Inc>)where
M: Mode,
N: Increment,
Enable 1 kHz output from the Xosc32kBase
clock
This will Increment
the EnabledXosc32kBase
counter.
Auto Trait Implementations
impl RefUnwindSafe for Xosc1k
impl Send for Xosc1k
impl Sync for Xosc1k
impl Unpin for Xosc1k
impl UnwindSafe for Xosc1k
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more