#[repr(transparent)]pub struct Srs(pub u32);Expand description
System Reset Status
Tuple Fields§
§0: u32Implementations§
Source§impl Srs
impl Srs
Sourcepub const fn set_wakeup(&mut self, val: bool)
pub const fn set_wakeup(&mut self, val: bool)
Wake-up Reset
Sourcepub const fn set_rstack(&mut self, val: bool)
pub const fn set_rstack(&mut self, val: bool)
Reset Timeout
Sourcepub const fn set_lockup(&mut self, val: bool)
pub const fn set_lockup(&mut self, val: bool)
Lockup Reset
Sourcepub const fn set_secvio(&mut self, val: bool)
pub const fn set_secvio(&mut self, val: bool)
Security Violation Reset
Sourcepub const fn set_tamper(&mut self, val: bool)
pub const fn set_tamper(&mut self, val: bool)
Tamper Reset
Trait Implementations§
impl Copy for Srs
impl Eq for Srs
impl StructuralPartialEq for Srs
Auto Trait Implementations§
impl Freeze for Srs
impl RefUnwindSafe for Srs
impl Send for Srs
impl Sync for Srs
impl Unpin for Srs
impl UnwindSafe for Srs
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