#[repr(u8)]pub enum Ctrl3Outmode {
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 Ctrl3Outmode
impl Ctrl3Outmode
Trait Implementations§
Source§impl Clone for Ctrl3Outmode
impl Clone for Ctrl3Outmode
Source§fn clone(&self) -> Ctrl3Outmode
fn clone(&self) -> Ctrl3Outmode
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 Ctrl3Outmode
impl Debug for Ctrl3Outmode
Source§impl From<Ctrl3Outmode> for u8
impl From<Ctrl3Outmode> for u8
Source§fn from(val: Ctrl3Outmode) -> u8
fn from(val: Ctrl3Outmode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Ctrl3Outmode
impl From<u8> for Ctrl3Outmode
Source§fn from(val: u8) -> Ctrl3Outmode
fn from(val: u8) -> Ctrl3Outmode
Converts to this type from the input type.
Source§impl Ord for Ctrl3Outmode
impl Ord for Ctrl3Outmode
Source§fn cmp(&self, other: &Ctrl3Outmode) -> Ordering
fn cmp(&self, other: &Ctrl3Outmode) -> 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 Ctrl3Outmode
impl PartialEq for Ctrl3Outmode
Source§impl PartialOrd for Ctrl3Outmode
impl PartialOrd for Ctrl3Outmode
impl Copy for Ctrl3Outmode
impl Eq for Ctrl3Outmode
impl StructuralPartialEq for Ctrl3Outmode
Auto Trait Implementations§
impl Freeze for Ctrl3Outmode
impl RefUnwindSafe for Ctrl3Outmode
impl Send for Ctrl3Outmode
impl Sync for Ctrl3Outmode
impl Unpin for Ctrl3Outmode
impl UnwindSafe for Ctrl3Outmode
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