Type Alias atsamd51p::tcc0::evctrl::W

source ·
pub type W = W<EVCTRL_SPEC>;
Expand description

Register EVCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn evact0(&mut self) -> EVACT0_W<'_, EVCTRL_SPEC, 0>

Bits 0:2 - Timer/counter Input Event0 Action

source

pub fn evact1(&mut self) -> EVACT1_W<'_, EVCTRL_SPEC, 3>

Bits 3:5 - Timer/counter Input Event1 Action

source

pub fn cntsel(&mut self) -> CNTSEL_W<'_, EVCTRL_SPEC, 6>

Bits 6:7 - Timer/counter Output Event Mode

source

pub fn ovfeo(&mut self) -> OVFEO_W<'_, EVCTRL_SPEC, 8>

Bit 8 - Overflow/Underflow Output Event Enable

source

pub fn trgeo(&mut self) -> TRGEO_W<'_, EVCTRL_SPEC, 9>

Bit 9 - Retrigger Output Event Enable

source

pub fn cnteo(&mut self) -> CNTEO_W<'_, EVCTRL_SPEC, 10>

Bit 10 - Timer/counter Output Event Enable

source

pub fn tcinv0(&mut self) -> TCINV0_W<'_, EVCTRL_SPEC, 12>

Bit 12 - Inverted Event 0 Input Enable

source

pub fn tcinv1(&mut self) -> TCINV1_W<'_, EVCTRL_SPEC, 13>

Bit 13 - Inverted Event 1 Input Enable

source

pub fn tcei0(&mut self) -> TCEI0_W<'_, EVCTRL_SPEC, 14>

Bit 14 - Timer/counter Event 0 Input Enable

source

pub fn tcei1(&mut self) -> TCEI1_W<'_, EVCTRL_SPEC, 15>

Bit 15 - Timer/counter Event 1 Input Enable

source

pub fn mcei0(&mut self) -> MCEI0_W<'_, EVCTRL_SPEC, 16>

Bit 16 - Match or Capture Channel 0 Event Input Enable

source

pub fn mcei1(&mut self) -> MCEI1_W<'_, EVCTRL_SPEC, 17>

Bit 17 - Match or Capture Channel 1 Event Input Enable

source

pub fn mcei2(&mut self) -> MCEI2_W<'_, EVCTRL_SPEC, 18>

Bit 18 - Match or Capture Channel 2 Event Input Enable

source

pub fn mcei3(&mut self) -> MCEI3_W<'_, EVCTRL_SPEC, 19>

Bit 19 - Match or Capture Channel 3 Event Input Enable

source

pub fn mcei4(&mut self) -> MCEI4_W<'_, EVCTRL_SPEC, 20>

Bit 20 - Match or Capture Channel 4 Event Input Enable

source

pub fn mcei5(&mut self) -> MCEI5_W<'_, EVCTRL_SPEC, 21>

Bit 21 - Match or Capture Channel 5 Event Input Enable

source

pub fn mceo0(&mut self) -> MCEO0_W<'_, EVCTRL_SPEC, 24>

Bit 24 - Match or Capture Channel 0 Event Output Enable

source

pub fn mceo1(&mut self) -> MCEO1_W<'_, EVCTRL_SPEC, 25>

Bit 25 - Match or Capture Channel 1 Event Output Enable

source

pub fn mceo2(&mut self) -> MCEO2_W<'_, EVCTRL_SPEC, 26>

Bit 26 - Match or Capture Channel 2 Event Output Enable

source

pub fn mceo3(&mut self) -> MCEO3_W<'_, EVCTRL_SPEC, 27>

Bit 27 - Match or Capture Channel 3 Event Output Enable

source

pub fn mceo4(&mut self) -> MCEO4_W<'_, EVCTRL_SPEC, 28>

Bit 28 - Match or Capture Channel 4 Event Output Enable

source

pub fn mceo5(&mut self) -> MCEO5_W<'_, EVCTRL_SPEC, 29>

Bit 29 - Match or Capture Channel 5 Event Output Enable

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual