#[repr(transparent)]pub struct Dpmdur(pub u32);
Expand description
Set the duration required to enter/exit deep power-down mode (DPM).
Tuple Fields§
§0: u32
Implementations§
Source§impl Dpmdur
impl Dpmdur
Sourcepub const fn enter(&self) -> u16
pub const fn enter(&self) -> u16
Duration needed by external flash to enter DPM. Duration is given as ENTER * 256 * 62.5 ns.
Sourcepub fn set_enter(&mut self, val: u16)
pub fn set_enter(&mut self, val: u16)
Duration needed by external flash to enter DPM. Duration is given as ENTER * 256 * 62.5 ns.
Trait Implementations§
impl Copy for Dpmdur
impl Eq for Dpmdur
impl StructuralPartialEq for Dpmdur
Auto Trait Implementations§
impl Freeze for Dpmdur
impl RefUnwindSafe for Dpmdur
impl Send for Dpmdur
impl Sync for Dpmdur
impl Unpin for Dpmdur
impl UnwindSafe for Dpmdur
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
)