#[repr(transparent)]pub struct ResetType(pub u32);
Expand description
The type of system reset.
Tuple Fields§
§0: u32
Implementations§
source§impl ResetType
impl ResetType
sourcepub const COLD: ResetType = _
pub const COLD: ResetType = _
System-wide reset.
This is analogous to power cycling the device.
sourcepub const WARM: ResetType = _
pub const WARM: ResetType = _
System-wide re-initialization.
If the system doesn’t support a warm reset, this will trigger a cold reset.
sourcepub const PLATFORM_SPECIFIC: ResetType = _
pub const PLATFORM_SPECIFIC: ResetType = _
A platform-specific reset type.