#[repr(u8)]pub enum StartUpDelay {
Show 16 variants
Delay31us = 0,
Delay62us = 1,
Delay122us = 2,
Delay244us = 3,
Delay488us = 4,
Delay977us = 5,
Delay2ms = 6,
Delay4ms = 7,
Delay8ms = 8,
Delay16ms = 9,
Delay31ms = 10,
Delay63ms = 11,
Delay125ms = 12,
Delay250ms = 13,
Delay500ms = 14,
Delay1s = 15,
}
Expand description
Start up delay before continuous Xosc
monitoring takes effect
After a hard reset or waking from sleep, the Xosc
output will remained
masked for the start up period, to ensure an unstable clock is not
propagated into the digital logic.
The start up delay is counted using the OscUlp32k
clock, and the delay
is equal to 2^N clock cycles, where N is selectable in the range 0..16
.
Variants§
Delay31us = 0
Delay62us = 1
Delay122us = 2
Delay244us = 3
Delay488us = 4
Delay977us = 5
Delay2ms = 6
Delay4ms = 7
Delay8ms = 8
Delay16ms = 9
Delay31ms = 10
Delay63ms = 11
Delay125ms = 12
Delay250ms = 13
Delay500ms = 14
Delay1s = 15
Trait Implementations§
Source§impl Clone for StartUpDelay
impl Clone for StartUpDelay
Source§fn clone(&self) -> StartUpDelay
fn clone(&self) -> StartUpDelay
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for StartUpDelay
impl Default for StartUpDelay
Source§fn default() -> StartUpDelay
fn default() -> StartUpDelay
Returns the “default value” for a type. Read more
Source§impl PartialEq for StartUpDelay
impl PartialEq for StartUpDelay
impl Copy for StartUpDelay
impl Eq for StartUpDelay
impl StructuralPartialEq for StartUpDelay
Auto Trait Implementations§
impl Freeze for StartUpDelay
impl RefUnwindSafe for StartUpDelay
impl Send for StartUpDelay
impl Sync for StartUpDelay
impl Unpin for StartUpDelay
impl UnwindSafe for StartUpDelay
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more