Enum stm32_metapac::pwr::vals::Rlpsn
#[repr(u8)]pub enum Rlpsn {
LOWPOWER = 0,
NORMAL = 1,
}
Variants§
LOWPOWER = 0
RAM enters to low power mode when system enters to STOP.
NORMAL = 1
RAM remains in normal mode when system enters to STOP.
Implementations§
Trait Implementations§
§impl Ord for Rlpsn
impl Ord for Rlpsn
§impl PartialOrd for Rlpsn
impl PartialOrd for Rlpsn
§fn partial_cmp(&self, other: &Rlpsn) -> Option<Ordering>
fn partial_cmp(&self, other: &Rlpsn) -> 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 Rlpsn
impl Eq for Rlpsn
impl StructuralEq for Rlpsn
impl StructuralPartialEq for Rlpsn
Auto Trait Implementations§
impl RefUnwindSafe for Rlpsn
impl Send for Rlpsn
impl Sync for Rlpsn
impl Unpin for Rlpsn
impl UnwindSafe for Rlpsn
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