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