#[repr(transparent)]pub struct Sysrststat(pub u32);Expand description
system reset status register
Tuple Fields§
§0: u32Implementations§
Source§impl Sysrststat
impl Sysrststat
Sourcepub const fn set_vdd_por(&mut self, val: VddPor)
pub const fn set_vdd_por(&mut self, val: VddPor)
VDD POR Event Detected:
Sourcepub const fn set_pad_reset(&mut self, val: PadReset)
pub const fn set_pad_reset(&mut self, val: PadReset)
PAD RESET Event Detected:
Sourcepub const fn arm_apd_reset(&self) -> ArmApdReset
pub const fn arm_apd_reset(&self) -> ArmApdReset
ARM RESET Event Detected:
Sourcepub const fn set_arm_apd_reset(&mut self, val: ArmApdReset)
pub const fn set_arm_apd_reset(&mut self, val: ArmApdReset)
ARM RESET Event Detected:
Sourcepub const fn wdt0_reset(&self) -> Wdt0Reset
pub const fn wdt0_reset(&self) -> Wdt0Reset
WDT0 RESET Event Detected:
Sourcepub const fn set_wdt0_reset(&mut self, val: Wdt0Reset)
pub const fn set_wdt0_reset(&mut self, val: Wdt0Reset)
WDT0 RESET Event Detected:
Sourcepub const fn wdt1_reset(&self) -> Wdt1Reset
pub const fn wdt1_reset(&self) -> Wdt1Reset
WDT1 RESET Event Detected:
Sourcepub const fn set_wdt1_reset(&mut self, val: Wdt1Reset)
pub const fn set_wdt1_reset(&mut self, val: Wdt1Reset)
WDT1 RESET Event Detected:
Trait Implementations§
Source§impl Clone for Sysrststat
impl Clone for Sysrststat
Source§fn clone(&self) -> Sysrststat
fn clone(&self) -> Sysrststat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Sysrststat
impl Debug for Sysrststat
Source§impl Default for Sysrststat
impl Default for Sysrststat
Source§fn default() -> Sysrststat
fn default() -> Sysrststat
Returns the “default value” for a type. Read more
Source§impl PartialEq for Sysrststat
impl PartialEq for Sysrststat
impl Copy for Sysrststat
impl Eq for Sysrststat
impl StructuralPartialEq for Sysrststat
Auto Trait Implementations§
impl Freeze for Sysrststat
impl RefUnwindSafe for Sysrststat
impl Send for Sysrststat
impl Sync for Sysrststat
impl Unpin for Sysrststat
impl UnwindSafe for Sysrststat
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