Enum lpc11uxx::syscon::pdsleepcfg::WDTOSC_PDR
source · pub enum WDTOSC_PDR {
POWERED,
POWERED_DOWN,
}
Expand description
Possible values of the field WDTOSC_PD
Variants§
Implementations§
source§impl WDTOSC_PDR
impl WDTOSC_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
Trait Implementations§
source§impl Clone for WDTOSC_PDR
impl Clone for WDTOSC_PDR
source§fn clone(&self) -> WDTOSC_PDR
fn clone(&self) -> WDTOSC_PDR
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more