Enum atsame54n::pac::wrctrl::KEYSELECT_A
source · #[repr(u8)]pub enum KEYSELECT_A {
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§
source§impl Clone for KEYSELECT_A
impl Clone for KEYSELECT_A
source§fn clone(&self) -> KEYSELECT_A
fn clone(&self) -> KEYSELECT_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for KEYSELECT_A
impl Debug for KEYSELECT_A
source§impl From<KEYSELECT_A> for u8
impl From<KEYSELECT_A> for u8
source§fn from(variant: KEYSELECT_A) -> Self
fn from(variant: KEYSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for KEYSELECT_A
impl PartialEq for KEYSELECT_A
source§fn eq(&self, other: &KEYSELECT_A) -> bool
fn eq(&self, other: &KEYSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for KEYSELECT_A
impl Eq for KEYSELECT_A
impl StructuralPartialEq for KEYSELECT_A
Auto Trait Implementations§
impl Freeze for KEYSELECT_A
impl RefUnwindSafe for KEYSELECT_A
impl Send for KEYSELECT_A
impl Sync for KEYSELECT_A
impl Unpin for KEYSELECT_A
impl UnwindSafe for KEYSELECT_A
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