Enum stm32_metapac::pwr::vals::Unlocked
#[repr(u8)]pub enum Unlocked {
LOCKED = 0,
UNLOCKED = 1,
}
Variants§
LOCKED = 0
accessed locked: key was not written and after each register write access.
UNLOCKED = 1
after key 0xCAFECAFE was written in this register.
Implementations§
Trait Implementations§
§impl Ord for Unlocked
impl Ord for Unlocked
§impl PartialEq for Unlocked
impl PartialEq for Unlocked
§impl PartialOrd for Unlocked
impl PartialOrd for Unlocked
§fn partial_cmp(&self, other: &Unlocked) -> Option<Ordering>
fn partial_cmp(&self, other: &Unlocked) -> 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 Unlocked
impl Eq for Unlocked
impl StructuralEq for Unlocked
impl StructuralPartialEq for Unlocked
Auto Trait Implementations§
impl RefUnwindSafe for Unlocked
impl Send for Unlocked
impl Sync for Unlocked
impl Unpin for Unlocked
impl UnwindSafe for Unlocked
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