#[repr(u8)]pub enum Keyselect {
Off = 0,
Clr = 1,
Set = 2,
Setlck = 3,
}
Expand description
Peripheral access control key
Value on reset: 0
Variants§
Off = 0
0: No action
Clr = 1
1: Clear protection
Set = 2
2: Set protection
Setlck = 3
3: Set and lock protection
Trait Implementations§
impl Copy for Keyselect
impl Eq for Keyselect
impl IsEnum for Keyselect
impl StructuralPartialEq for Keyselect
Auto Trait Implementations§
impl Freeze for Keyselect
impl RefUnwindSafe for Keyselect
impl Send for Keyselect
impl Sync for Keyselect
impl Unpin for Keyselect
impl UnwindSafe for Keyselect
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