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