atsamd21g::tcc0::evctrl

Type Alias R

Source
pub type R = R<EvctrlSpec>;
Expand description

Register EVCTRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn evact0(&self) -> Evact0R

Bits 0:2 - Timer/counter Input Event0 Action

Source

pub fn evact1(&self) -> Evact1R

Bits 3:5 - Timer/counter Input Event1 Action

Source

pub fn cntsel(&self) -> CntselR

Bits 6:7 - Timer/counter Output Event Mode

Source

pub fn ovfeo(&self) -> OvfeoR

Bit 8 - Overflow/Underflow Output Event Enable

Source

pub fn trgeo(&self) -> TrgeoR

Bit 9 - Retrigger Output Event Enable

Source

pub fn cnteo(&self) -> CnteoR

Bit 10 - Timer/counter Output Event Enable

Source

pub fn tcinv0(&self) -> Tcinv0R

Bit 12 - Inverted Event 0 Input Enable

Source

pub fn tcinv1(&self) -> Tcinv1R

Bit 13 - Inverted Event 1 Input Enable

Source

pub fn tcei0(&self) -> Tcei0R

Bit 14 - Timer/counter Event 0 Input Enable

Source

pub fn tcei1(&self) -> Tcei1R

Bit 15 - Timer/counter Event 1 Input Enable

Source

pub fn mcei0(&self) -> Mcei0R

Bit 16 - Match or Capture Channel 0 Event Input Enable

Source

pub fn mcei1(&self) -> Mcei1R

Bit 17 - Match or Capture Channel 1 Event Input Enable

Source

pub fn mcei2(&self) -> Mcei2R

Bit 18 - Match or Capture Channel 2 Event Input Enable

Source

pub fn mcei3(&self) -> Mcei3R

Bit 19 - Match or Capture Channel 3 Event Input Enable

Source

pub fn mceo0(&self) -> Mceo0R

Bit 24 - Match or Capture Channel 0 Event Output Enable

Source

pub fn mceo1(&self) -> Mceo1R

Bit 25 - Match or Capture Channel 1 Event Output Enable

Source

pub fn mceo2(&self) -> Mceo2R

Bit 26 - Match or Capture Channel 2 Event Output Enable

Source

pub fn mceo3(&self) -> Mceo3R

Bit 27 - Match or Capture Channel 3 Event Output Enable