Struct Cfgr
#[repr(transparent)]pub struct Cfgr(pub u32);Expand description
TAMP configuration register.
Tuple Fields§
§0: u32Implementations§
§impl Cfgr
impl Cfgr
pub const fn set_tmonen(&mut self, val: bool)
pub const fn set_tmonen(&mut self, val: bool)
Temperature monitor enable.
pub const fn set_vmonen(&mut self, val: bool)
pub const fn set_vmonen(&mut self, val: bool)
Voltage monitor enable.
pub const fn wutmonen(&self) -> bool
pub const fn wutmonen(&self) -> bool
Voltage and temperature monitor periodic enable by RTC wakeup timer.
pub const fn set_wutmonen(&mut self, val: bool)
pub const fn set_wutmonen(&mut self, val: bool)
Voltage and temperature monitor periodic enable by RTC wakeup timer.
Trait Implementations§
impl Copy for Cfgr
impl Eq for Cfgr
impl StructuralPartialEq for Cfgr
Auto Trait Implementations§
impl Freeze for Cfgr
impl RefUnwindSafe for Cfgr
impl Send for Cfgr
impl Sync for Cfgr
impl Unpin for Cfgr
impl UnsafeUnpin for Cfgr
impl UnwindSafe for Cfgr
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