Enum atsaml21e16b::tcc0::evctrl::EVACT1SELECT_A
source · #[repr(u8)]
pub enum EVACT1SELECT_A {
OFF,
RETRIGGER,
DIR,
STOP,
DEC,
PPW,
PWP,
FAULT,
}
Expand description
Timer/counter Input Event1 Action
Value on reset: 0
Variants§
OFF
0: Event action disabled
RETRIGGER
1: Re-trigger counter on event
DIR
2: Direction control
STOP
3: Stop counter on event
DEC
4: Decrement counter on event
PPW
5: Period capture value in CC0 register, pulse width capture value in CC1 register
PWP
6: Period capture value in CC1 register, pulse width capture value in CC0 register
FAULT
7: Non-recoverable fault
Trait Implementations§
source§impl Clone for EVACT1SELECT_A
impl Clone for EVACT1SELECT_A
source§fn clone(&self) -> EVACT1SELECT_A
fn clone(&self) -> EVACT1SELECT_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 EVACT1SELECT_A
impl Debug for EVACT1SELECT_A
source§impl From<EVACT1SELECT_A> for u8
impl From<EVACT1SELECT_A> for u8
source§fn from(variant: EVACT1SELECT_A) -> Self
fn from(variant: EVACT1SELECT_A) -> Self
Converts to this type from the input type.