Enum atsaml21e16b::tc0::count16::evctrl::EVACTSELECT_A
source · #[repr(u8)]
pub enum EVACTSELECT_A {
OFF,
RETRIGGER,
COUNT,
START,
STAMP,
PPW,
PWP,
PW,
}
Expand description
Event Action
Value on reset: 0
Variants§
OFF
0: Event action disabled
RETRIGGER
1: Start, restart or retrigger TC on event
COUNT
2: Count on event
START
3: Start TC on event
STAMP
4: Time stamp capture
PPW
5: Period captured in CC0, pulse width in CC1
PWP
6: Period captured in CC1, pulse width in CC0
PW
7: Pulse width capture
Trait Implementations§
source§impl Clone for EVACTSELECT_A
impl Clone for EVACTSELECT_A
source§fn clone(&self) -> EVACTSELECT_A
fn clone(&self) -> EVACTSELECT_A
Returns a copy 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 EVACTSELECT_A
impl Debug for EVACTSELECT_A
source§impl From<EVACTSELECT_A> for u8
impl From<EVACTSELECT_A> for u8
source§fn from(variant: EVACTSELECT_A) -> Self
fn from(variant: EVACTSELECT_A) -> Self
Converts to this type from the input type.