#[repr(u8)]pub enum SpnidenCtrlWriteprotection {
Show 16 variants
DISABLED = 0,
ENABLED = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
CLEAR = 15,
}
Variants§
DISABLED = 0
Read: Write protection is disabled.
ENABLED = 1
Read: Write protection is enabled.
_RESERVED_2 = 2
_RESERVED_3 = 3
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
CLEAR = 15
Write: Value to clear write protection.
Implementations§
Trait Implementations§
Source§impl Clone for SpnidenCtrlWriteprotection
impl Clone for SpnidenCtrlWriteprotection
Source§fn clone(&self) -> SpnidenCtrlWriteprotection
fn clone(&self) -> SpnidenCtrlWriteprotection
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 From<SpnidenCtrlWriteprotection> for u8
impl From<SpnidenCtrlWriteprotection> for u8
Source§fn from(val: SpnidenCtrlWriteprotection) -> u8
fn from(val: SpnidenCtrlWriteprotection) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SpnidenCtrlWriteprotection
impl From<u8> for SpnidenCtrlWriteprotection
Source§fn from(val: u8) -> SpnidenCtrlWriteprotection
fn from(val: u8) -> SpnidenCtrlWriteprotection
Converts to this type from the input type.
Source§impl Ord for SpnidenCtrlWriteprotection
impl Ord for SpnidenCtrlWriteprotection
Source§fn cmp(&self, other: &SpnidenCtrlWriteprotection) -> Ordering
fn cmp(&self, other: &SpnidenCtrlWriteprotection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for SpnidenCtrlWriteprotection
impl PartialOrd for SpnidenCtrlWriteprotection
impl Copy for SpnidenCtrlWriteprotection
impl Eq for SpnidenCtrlWriteprotection
impl StructuralPartialEq for SpnidenCtrlWriteprotection
Auto Trait Implementations§
impl Freeze for SpnidenCtrlWriteprotection
impl RefUnwindSafe for SpnidenCtrlWriteprotection
impl Send for SpnidenCtrlWriteprotection
impl Sync for SpnidenCtrlWriteprotection
impl Unpin for SpnidenCtrlWriteprotection
impl UnwindSafe for SpnidenCtrlWriteprotection
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
)