#[repr(transparent)]pub struct Dormant(pub u32);
Expand description
Crystal Oscillator pause control
Tuple Fields§
§0: u32
Implementations§
source§impl Dormant
impl Dormant
sourcepub const fn dormant(&self) -> Dormant
pub const fn dormant(&self) -> Dormant
This is used to save power by pausing the XOSC On power-up this field is initialised to WAKE An invalid write will also select WAKE Warning: stop the PLLs before selecting dormant mode Warning: setup the irq before selecting dormant mode
sourcepub fn set_dormant(&mut self, val: Dormant)
pub fn set_dormant(&mut self, val: Dormant)
This is used to save power by pausing the XOSC On power-up this field is initialised to WAKE An invalid write will also select WAKE Warning: stop the PLLs before selecting dormant mode Warning: setup the irq before selecting dormant mode
Trait Implementations§
impl Copy for Dormant
impl Eq for Dormant
impl StructuralPartialEq for Dormant
Auto Trait Implementations§
impl Freeze for Dormant
impl RefUnwindSafe for Dormant
impl Send for Dormant
impl Sync for Dormant
impl Unpin for Dormant
impl UnwindSafe for Dormant
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
)