#[repr(transparent)]pub struct Startup(pub u32);
Expand description
Controls the startup delay
Tuple Fields§
§0: u32
Implementations§
source§impl Startup
impl Startup
sourcepub const fn delay(&self) -> u16
pub const fn delay(&self) -> u16
in multiples of 256*xtal_period. The reset value of 0xc4 corresponds to approx 50 000 cycles.
sourcepub fn set_delay(&mut self, val: u16)
pub fn set_delay(&mut self, val: u16)
in multiples of 256*xtal_period. The reset value of 0xc4 corresponds to approx 50 000 cycles.
Trait Implementations§
impl Copy for Startup
impl Eq for Startup
impl StructuralPartialEq for Startup
Auto Trait Implementations§
impl Freeze for Startup
impl RefUnwindSafe for Startup
impl Send for Startup
impl Sync for Startup
impl Unpin for Startup
impl UnwindSafe for Startup
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)