Enum stm32_metapac::pwr::vals::Pdds
#[repr(u8)]pub enum Pdds {
STOP_MODE = 0,
STANDBY_MODE = 1,
}
Variants§
STOP_MODE = 0
Enter Stop mode when the CPU enters deepsleep
STANDBY_MODE = 1
Enter Standby mode when the CPU enters deepsleep
Implementations§
Trait Implementations§
§impl Ord for Pdds
impl Ord for Pdds
§impl PartialOrd for Pdds
impl PartialOrd for Pdds
§fn partial_cmp(&self, other: &Pdds) -> Option<Ordering>
fn partial_cmp(&self, other: &Pdds) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Pdds
impl Eq for Pdds
impl StructuralPartialEq for Pdds
Auto Trait Implementations§
impl Freeze for Pdds
impl RefUnwindSafe for Pdds
impl Send for Pdds
impl Sync for Pdds
impl Unpin for Pdds
impl UnwindSafe for Pdds
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