#[repr(u8)]
pub enum KEY_A {
OFF,
CLR,
SET,
SETLCK,
}
Expand description
Peripheral access control key
Value on reset: 0
Variants
OFF
0: No action
CLR
1: Clear protection
SET
2: Set protection
SETLCK
3: Set and lock protection
Trait Implementations
impl Copy for KEY_A
impl StructuralPartialEq for KEY_A
Auto Trait Implementations
impl RefUnwindSafe for KEY_A
impl Send for KEY_A
impl Sync for KEY_A
impl Unpin for KEY_A
impl UnwindSafe for KEY_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more