pub enum PDDSR {
STOP_MODE,
STANDBY_MODE,
}
Expand description
Possible values of the field PDDS
Variants§
STOP_MODE
Enter Stop mode when the CPU enters deepsleep
STANDBY_MODE
Enter Standby mode when the CPU enters deepsleep
Implementations§
source§impl PDDSR
impl PDDSR
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_stop_mode(&self) -> bool
pub fn is_stop_mode(&self) -> bool
Checks if the value of the field is STOP_MODE
sourcepub fn is_standby_mode(&self) -> bool
pub fn is_standby_mode(&self) -> bool
Checks if the value of the field is STANDBY_MODE