#[repr(transparent)]pub struct PwrOpt(pub u32);Expand description
Power Mode Options Register
Tuple Fields§
§0: u32Implementations§
Source§impl PwrOpt
impl PwrOpt
Sourcepub const fn set_pd_cdiv(&mut self, val: u8)
pub const fn set_pd_cdiv(&mut self, val: u8)
Power Down Clock Divider Setting
Sourcepub const fn set_slm_count(&mut self, val: u16)
pub const fn set_slm_count(&mut self, val: u16)
Sleep Recovery Timer Count
Sourcepub const fn pd_timer_en(&self) -> PdTimerEn
pub const fn pd_timer_en(&self) -> PdTimerEn
Power Down BIST Timer Enable
Sourcepub const fn set_pd_timer_en(&mut self, val: PdTimerEn)
pub const fn set_pd_timer_en(&mut self, val: PdTimerEn)
Power Down BIST Timer Enable
Trait Implementations§
impl Copy for PwrOpt
impl Eq for PwrOpt
impl StructuralPartialEq for PwrOpt
Auto Trait Implementations§
impl Freeze for PwrOpt
impl RefUnwindSafe for PwrOpt
impl Send for PwrOpt
impl Sync for PwrOpt
impl Unpin for PwrOpt
impl UnwindSafe for PwrOpt
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