pub enum FLASH_PDR {
POWERED,
POWERED_DOWN,
}
Expand description
Possible values of the field FLASH_PD
Variants§
Implementations§
source§impl FLASH_PDR
impl FLASH_PDR
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_powered(&self) -> bool
pub fn is_powered(&self) -> bool
Checks if the value of the field is POWERED
sourcepub fn is_powered_down(&self) -> bool
pub fn is_powered_down(&self) -> bool
Checks if the value of the field is POWERED_DOWN