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
Trait Implementations§
impl Copy for PDDSR
impl StructuralPartialEq for PDDSR
Auto Trait Implementations§
impl Freeze for PDDSR
impl RefUnwindSafe for PDDSR
impl Send for PDDSR
impl Sync for PDDSR
impl Unpin for PDDSR
impl UnwindSafe for PDDSR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more