pub struct ResetReasonRaw(/* private fields */);Expand description
Raw reset reason bits. Can be queried or all reasons can be iterated over
Implementations§
Source§impl ResetReasonRaw
impl ResetReasonRaw
Sourcepub fn into_iter(self) -> ResetReasonRawIter ⓘ
pub fn into_iter(self) -> ResetReasonRawIter ⓘ
Convert to an iterator of contained reset reasons
Sourcepub fn is_voltage_detect(&self) -> bool
pub fn is_voltage_detect(&self) -> bool
Voltage detect
Sourcepub fn is_reset_ack_timeout(&self) -> bool
pub fn is_reset_ack_timeout(&self) -> bool
Reset ack timeout
Sourcepub fn is_low_power_ack_timeout(&self) -> bool
pub fn is_low_power_ack_timeout(&self) -> bool
Low power ack timeout
Sourcepub fn is_system_clock_generation(&self) -> bool
pub fn is_system_clock_generation(&self) -> bool
System clock generation
Sourcepub fn is_watchdog0(&self) -> bool
pub fn is_watchdog0(&self) -> bool
Watchdog 0
Sourcepub fn is_software(&self) -> bool
pub fn is_software(&self) -> bool
Software
Sourcepub fn is_code_watchdog0(&self) -> bool
pub fn is_code_watchdog0(&self) -> bool
Code watchdog 0
Sourcepub fn is_code_watchdog1(&self) -> bool
pub fn is_code_watchdog1(&self) -> bool
Code watchdog 1
Trait Implementations§
Source§impl Clone for ResetReasonRaw
impl Clone for ResetReasonRaw
Source§fn clone(&self) -> ResetReasonRaw
fn clone(&self) -> ResetReasonRaw
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 ResetReasonRaw
impl Debug for ResetReasonRaw
Source§impl Format for ResetReasonRaw
impl Format for ResetReasonRaw
impl Copy for ResetReasonRaw
Auto Trait Implementations§
impl Freeze for ResetReasonRaw
impl RefUnwindSafe for ResetReasonRaw
impl Send for ResetReasonRaw
impl Sync for ResetReasonRaw
impl Unpin for ResetReasonRaw
impl UnwindSafe for ResetReasonRaw
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