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
sourceimpl 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 RefUnwindSafe for PDDSR
impl Send for PDDSR
impl Sync for PDDSR
impl Unpin for PDDSR
impl UnwindSafe for PDDSR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more