Enum IntresetenCtrlWriteprotection
#[repr(u8)]pub enum IntresetenCtrlWriteprotection {
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§
§impl IntresetenCtrlWriteprotection
impl IntresetenCtrlWriteprotection
pub const fn from_bits(val: u8) -> IntresetenCtrlWriteprotection
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for IntresetenCtrlWriteprotection
impl Clone for IntresetenCtrlWriteprotection
§fn clone(&self) -> IntresetenCtrlWriteprotection
fn clone(&self) -> IntresetenCtrlWriteprotection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IntresetenCtrlWriteprotection
§impl Debug for IntresetenCtrlWriteprotection
impl Debug for IntresetenCtrlWriteprotection
impl Eq for IntresetenCtrlWriteprotection
§impl From<u8> for IntresetenCtrlWriteprotection
impl From<u8> for IntresetenCtrlWriteprotection
§fn from(val: u8) -> IntresetenCtrlWriteprotection
fn from(val: u8) -> IntresetenCtrlWriteprotection
Converts to this type from the input type.
§impl Ord for IntresetenCtrlWriteprotection
impl Ord for IntresetenCtrlWriteprotection
§fn cmp(&self, other: &IntresetenCtrlWriteprotection) -> Ordering
fn cmp(&self, other: &IntresetenCtrlWriteprotection) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for IntresetenCtrlWriteprotection
impl PartialEq for IntresetenCtrlWriteprotection
§impl PartialOrd for IntresetenCtrlWriteprotection
impl PartialOrd for IntresetenCtrlWriteprotection
impl StructuralPartialEq for IntresetenCtrlWriteprotection
Auto Trait Implementations§
impl Freeze for IntresetenCtrlWriteprotection
impl RefUnwindSafe for IntresetenCtrlWriteprotection
impl Send for IntresetenCtrlWriteprotection
impl Sync for IntresetenCtrlWriteprotection
impl Unpin for IntresetenCtrlWriteprotection
impl UnsafeUnpin for IntresetenCtrlWriteprotection
impl UnwindSafe for IntresetenCtrlWriteprotection
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