Enum lpc11uxx::syscon::sysrststat::SYSRSTR
source · pub enum SYSRSTR {
NO_SYSTEM_RESET_DETE,
SYSTEM_RESET_DETECTE,
}
Expand description
Possible values of the field SYSRST
Variants§
NO_SYSTEM_RESET_DETE
No System reset detected
SYSTEM_RESET_DETECTE
System reset detected. Writing a one clears this reset.
Implementations§
source§impl SYSRSTR
impl SYSRSTR
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
sourcepub fn is_no_system_reset_dete(&self) -> bool
pub fn is_no_system_reset_dete(&self) -> bool
Checks if the value of the field is NO_SYSTEM_RESET_DETE
sourcepub fn is_system_reset_detecte(&self) -> bool
pub fn is_system_reset_detecte(&self) -> bool
Checks if the value of the field is SYSTEM_RESET_DETECTE