pub struct OscUlp1k { /* private fields */ }
Expand description
Clock representing the 1 kHz output of the OscUlp32kBase
clock
The OSCULP32K 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 OscUlp1k
clock is
derived from the OscUlp32kBase
clock. See the
module-level documentation for details and examples.
Implementations
sourceimpl OscUlp1k
impl OscUlp1k
sourcepub fn enable<N: Increment>(
token: OscUlp1kToken,
base: EnabledOscUlp32kBase<N>
) -> (EnabledOscUlp1k, EnabledOscUlp32kBase<N::Inc>)
pub fn enable<N: Increment>(
token: OscUlp1kToken,
base: EnabledOscUlp32kBase<N>
) -> (EnabledOscUlp1k, EnabledOscUlp32kBase<N::Inc>)
Enable 1 kHz output from the OscUlp32kBase
clock
This will Increment
the EnabledOscUlp32kBase
counter.
Auto Trait Implementations
impl RefUnwindSafe for OscUlp1k
impl Send for OscUlp1k
impl Sync for OscUlp1k
impl Unpin for OscUlp1k
impl UnwindSafe for OscUlp1k
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