Type Definition atsame54p19a_pac::pdec::ctrla::W[][src]

type W = W<u32, CTRLA>;

Writer for register CTRLA

Implementations

impl W[src]

pub fn swrst(&mut self) -> SWRST_W<'_>[src]

Bit 0 - Software Reset

pub fn enable(&mut self) -> ENABLE_W<'_>[src]

Bit 1 - Enable

pub fn mode(&mut self) -> MODE_W<'_>[src]

Bits 2:3 - Operation Mode

pub fn runstdby(&mut self) -> RUNSTDBY_W<'_>[src]

Bit 6 - Run in Standby

pub fn conf(&mut self) -> CONF_W<'_>[src]

Bits 8:10 - PDEC Configuration

pub fn alock(&mut self) -> ALOCK_W<'_>[src]

Bit 11 - Auto Lock

pub fn swap(&mut self) -> SWAP_W<'_>[src]

Bit 14 - PDEC Phase A and B Swap

pub fn peren(&mut self) -> PEREN_W<'_>[src]

Bit 15 - Period Enable

pub fn pinen0(&mut self) -> PINEN0_W<'_>[src]

Bit 16 - PDEC Input From Pin 0 Enable

pub fn pinen1(&mut self) -> PINEN1_W<'_>[src]

Bit 17 - PDEC Input From Pin 1 Enable

pub fn pinen2(&mut self) -> PINEN2_W<'_>[src]

Bit 18 - PDEC Input From Pin 2 Enable

pub fn pinven0(&mut self) -> PINVEN0_W<'_>[src]

Bit 20 - IO Pin 0 Invert Enable

pub fn pinven1(&mut self) -> PINVEN1_W<'_>[src]

Bit 21 - IO Pin 1 Invert Enable

pub fn pinven2(&mut self) -> PINVEN2_W<'_>[src]

Bit 22 - IO Pin 2 Invert Enable

pub fn angular(&mut self) -> ANGULAR_W<'_>[src]

Bits 24:26 - Angular Counter Length

pub fn maxcmp(&mut self) -> MAXCMP_W<'_>[src]

Bits 28:31 - Maximum Consecutive Missing Pulses