#[repr(u8)]pub enum Ctrl1Outmode {
COUNTER_ACTIVE = 0,
CLEAR_OFLAG = 1,
SET_OFLAG = 2,
TOGGLE_OFLAG_SUCCESS = 3,
TOGGLE_OFLAG_ALT = 4,
CLEAR_ON_SECONDARY = 5,
CLEAR_ON_ROLLOVER = 6,
ENABLE_GATED_OUT = 7,
}Variants§
COUNTER_ACTIVE = 0
Asserted while counter is active
CLEAR_OFLAG = 1
Clear OFLAG output on successful compare
SET_OFLAG = 2
Set OFLAG output on successful compare
TOGGLE_OFLAG_SUCCESS = 3
Toggle OFLAG output on successful compare
TOGGLE_OFLAG_ALT = 4
Toggle OFLAG output using alternating compare registers
CLEAR_ON_SECONDARY = 5
Set on compare, cleared on secondary source input edge
CLEAR_ON_ROLLOVER = 6
Set on compare, cleared on counter rollover
ENABLE_GATED_OUT = 7
Enable gated clock output while counter is active
Implementations§
Source§impl Ctrl1Outmode
impl Ctrl1Outmode
Trait Implementations§
Source§impl Clone for Ctrl1Outmode
impl Clone for Ctrl1Outmode
Source§fn clone(&self) -> Ctrl1Outmode
fn clone(&self) -> Ctrl1Outmode
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 Ctrl1Outmode
impl Debug for Ctrl1Outmode
Source§impl From<Ctrl1Outmode> for u8
impl From<Ctrl1Outmode> for u8
Source§fn from(val: Ctrl1Outmode) -> u8
fn from(val: Ctrl1Outmode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Ctrl1Outmode
impl From<u8> for Ctrl1Outmode
Source§fn from(val: u8) -> Ctrl1Outmode
fn from(val: u8) -> Ctrl1Outmode
Converts to this type from the input type.
Source§impl Ord for Ctrl1Outmode
impl Ord for Ctrl1Outmode
Source§fn cmp(&self, other: &Ctrl1Outmode) -> Ordering
fn cmp(&self, other: &Ctrl1Outmode) -> 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 Ctrl1Outmode
impl PartialEq for Ctrl1Outmode
Source§impl PartialOrd for Ctrl1Outmode
impl PartialOrd for Ctrl1Outmode
impl Copy for Ctrl1Outmode
impl Eq for Ctrl1Outmode
impl StructuralPartialEq for Ctrl1Outmode
Auto Trait Implementations§
impl Freeze for Ctrl1Outmode
impl RefUnwindSafe for Ctrl1Outmode
impl Send for Ctrl1Outmode
impl Sync for Ctrl1Outmode
impl Unpin for Ctrl1Outmode
impl UnwindSafe for Ctrl1Outmode
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