pub struct Xosc32k { /* private fields */ }Expand description
Clock representing the 32 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 Xosc32k clock is derived
from the Xosc32kBase clock. See the module-level documentation
for details and examples.
Implementations
sourceimpl Xosc32k
 
impl Xosc32k
sourcepub fn enable<M, N>(
    token: Xosc32kToken,
    base: EnabledXosc32kBase<M, N>
) -> (EnabledXosc32k, EnabledXosc32kBase<M, N::Inc>)where
    M: Mode,
    N: Increment,
 
pub fn enable<M, N>(
    token: Xosc32kToken,
    base: EnabledXosc32kBase<M, N>
) -> (EnabledXosc32k, EnabledXosc32kBase<M, N::Inc>)where
    M: Mode,
    N: Increment,
Enable 32 kHz output from the Xosc32kBase clock
This will Increment the EnabledXosc32kBase counter.
Auto Trait Implementations
impl RefUnwindSafe for Xosc32k
impl Send for Xosc32k
impl Sync for Xosc32k
impl Unpin for Xosc32k
impl UnwindSafe for Xosc32k
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