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 PartialOrd for Unlocked
impl PartialOrd for Unlocked
impl Copy for Unlocked
impl Eq for Unlocked
impl StructuralPartialEq for Unlocked
Auto Trait Implementations§
impl Freeze for Unlocked
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)