#[repr(u8)]pub enum Flexpwm1Wrprot {
Disabled = 0,
Enabled = 1,
DisabledLocked = 2,
EnabledLocked = 3,
}Variants§
Disabled = 0
Write protection off (default).
Enabled = 1
Write protection on.
DisabledLocked = 2
Write protection off and locked until chip reset.
EnabledLocked = 3
Write protection on and locked until chip reset.
Implementations§
Trait Implementations§
Source§impl Clone for Flexpwm1Wrprot
impl Clone for Flexpwm1Wrprot
Source§fn clone(&self) -> Flexpwm1Wrprot
fn clone(&self) -> Flexpwm1Wrprot
Returns a duplicate 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 Flexpwm1Wrprot
impl Debug for Flexpwm1Wrprot
Source§impl From<Flexpwm1Wrprot> for u8
impl From<Flexpwm1Wrprot> for u8
Source§fn from(val: Flexpwm1Wrprot) -> u8
fn from(val: Flexpwm1Wrprot) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Flexpwm1Wrprot
impl From<u8> for Flexpwm1Wrprot
Source§fn from(val: u8) -> Flexpwm1Wrprot
fn from(val: u8) -> Flexpwm1Wrprot
Converts to this type from the input type.
Source§impl Ord for Flexpwm1Wrprot
impl Ord for Flexpwm1Wrprot
Source§fn cmp(&self, other: &Flexpwm1Wrprot) -> Ordering
fn cmp(&self, other: &Flexpwm1Wrprot) -> 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 PartialEq for Flexpwm1Wrprot
impl PartialEq for Flexpwm1Wrprot
Source§impl PartialOrd for Flexpwm1Wrprot
impl PartialOrd for Flexpwm1Wrprot
impl Copy for Flexpwm1Wrprot
impl Eq for Flexpwm1Wrprot
impl StructuralPartialEq for Flexpwm1Wrprot
Auto Trait Implementations§
impl Freeze for Flexpwm1Wrprot
impl RefUnwindSafe for Flexpwm1Wrprot
impl Send for Flexpwm1Wrprot
impl Sync for Flexpwm1Wrprot
impl Unpin for Flexpwm1Wrprot
impl UnwindSafe for Flexpwm1Wrprot
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