#[repr(u8)]pub enum MiscompareCtrl {
_RESERVED_0 = 0,
ENABLE_RESET = 1,
ENABLE_INTERRUPT = 2,
_RESERVED_3 = 3,
DISABLE_BOTH = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
_RESERVED_0 = 0
ENABLE_RESET = 1
Enable reset
ENABLE_INTERRUPT = 2
Enable interrupt
_RESERVED_3 = 3
DISABLE_BOTH = 4
Disable both reset and interrupt
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
Source§impl Clone for MiscompareCtrl
impl Clone for MiscompareCtrl
Source§fn clone(&self) -> MiscompareCtrl
fn clone(&self) -> MiscompareCtrl
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 MiscompareCtrl
impl Debug for MiscompareCtrl
Source§impl From<MiscompareCtrl> for u8
impl From<MiscompareCtrl> for u8
Source§fn from(val: MiscompareCtrl) -> u8
fn from(val: MiscompareCtrl) -> u8
Converts to this type from the input type.
Source§impl From<u8> for MiscompareCtrl
impl From<u8> for MiscompareCtrl
Source§fn from(val: u8) -> MiscompareCtrl
fn from(val: u8) -> MiscompareCtrl
Converts to this type from the input type.
Source§impl Ord for MiscompareCtrl
impl Ord for MiscompareCtrl
Source§fn cmp(&self, other: &MiscompareCtrl) -> Ordering
fn cmp(&self, other: &MiscompareCtrl) -> 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 MiscompareCtrl
impl PartialEq for MiscompareCtrl
Source§impl PartialOrd for MiscompareCtrl
impl PartialOrd for MiscompareCtrl
impl Copy for MiscompareCtrl
impl Eq for MiscompareCtrl
impl StructuralPartialEq for MiscompareCtrl
Auto Trait Implementations§
impl Freeze for MiscompareCtrl
impl RefUnwindSafe for MiscompareCtrl
impl Send for MiscompareCtrl
impl Sync for MiscompareCtrl
impl Unpin for MiscompareCtrl
impl UnwindSafe for MiscompareCtrl
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