pub struct SystemResetCapabilities {
pub raw: u8,
}
Expand description
§System Reset Capabilities
Fields§
§raw: u8
Raw byte of the system reset capabilities
Implementations§
Source§impl SystemResetCapabilities
impl SystemResetCapabilities
Sourcepub fn has_watchdog_timer(&self) -> bool
pub fn has_watchdog_timer(&self) -> bool
System contains a watchdog timer; either True (1) or False (0).
Sourcepub fn boot_option_on_limit(&self) -> BootOptionOnLimit
pub fn boot_option_on_limit(&self) -> BootOptionOnLimit
Boot Option on Limit
Identifies one of the system actions to be taken when the Reset Limit is reached.
Sourcepub fn boot_option(&self) -> BootOption
pub fn boot_option(&self) -> BootOption
Boot Option
Indicates one of the following actions to be taken after a watchdog reset:
Sourcepub fn reset_enabled(&self) -> bool
pub fn reset_enabled(&self) -> bool
Status
Identifies whether (1) or not (0) the system reset is enabled by the user.
Trait Implementations§
Source§impl Debug for SystemResetCapabilities
impl Debug for SystemResetCapabilities
Source§impl From<u8> for SystemResetCapabilities
impl From<u8> for SystemResetCapabilities
Source§impl PartialEq for SystemResetCapabilities
impl PartialEq for SystemResetCapabilities
Source§impl Serialize for SystemResetCapabilities
impl Serialize for SystemResetCapabilities
impl Eq for SystemResetCapabilities
impl StructuralPartialEq for SystemResetCapabilities
Auto Trait Implementations§
impl Freeze for SystemResetCapabilities
impl RefUnwindSafe for SystemResetCapabilities
impl Send for SystemResetCapabilities
impl Sync for SystemResetCapabilities
impl Unpin for SystemResetCapabilities
impl UnwindSafe for SystemResetCapabilities
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