Enum stm32_metapac::pwr::vals::Stopf
#[repr(u8)]pub enum Stopf {
NONE = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
STOP0 = 4,
STOP1 = 5,
STOP2 = 6,
_RESERVED_7 = 7,
}
Variants§
NONE = 0
The device did not enter any Stop mode.
_RESERVED_1 = 1
_RESERVED_2 = 2
_RESERVED_3 = 3
STOP0 = 4
The device entered in Stop 0 mode.
STOP1 = 5
The device entered in Stop 1 mode.
STOP2 = 6
The device entered in Stop 2 mode.
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Stopf
impl Ord for Stopf
§impl PartialOrd for Stopf
impl PartialOrd for Stopf
§fn partial_cmp(&self, other: &Stopf) -> Option<Ordering>
fn partial_cmp(&self, other: &Stopf) -> 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 Stopf
impl Eq for Stopf
impl StructuralEq for Stopf
impl StructuralPartialEq for Stopf
Auto Trait Implementations§
impl RefUnwindSafe for Stopf
impl Send for Stopf
impl Sync for Stopf
impl Unpin for Stopf
impl UnwindSafe for Stopf
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