Type Definition atsame54n19a_pac::pdec::ctrla::R[][src]

type R = R<u32, CTRLA>;

Reader of register CTRLA

Implementations

impl R[src]

pub fn swrst(&self) -> SWRST_R[src]

Bit 0 - Software Reset

pub fn enable(&self) -> ENABLE_R[src]

Bit 1 - Enable

pub fn mode(&self) -> MODE_R[src]

Bits 2:3 - Operation Mode

pub fn runstdby(&self) -> RUNSTDBY_R[src]

Bit 6 - Run in Standby

pub fn conf(&self) -> CONF_R[src]

Bits 8:10 - PDEC Configuration

pub fn alock(&self) -> ALOCK_R[src]

Bit 11 - Auto Lock

pub fn swap(&self) -> SWAP_R[src]

Bit 14 - PDEC Phase A and B Swap

pub fn peren(&self) -> PEREN_R[src]

Bit 15 - Period Enable

pub fn pinen0(&self) -> PINEN0_R[src]

Bit 16 - PDEC Input From Pin 0 Enable

pub fn pinen1(&self) -> PINEN1_R[src]

Bit 17 - PDEC Input From Pin 1 Enable

pub fn pinen2(&self) -> PINEN2_R[src]

Bit 18 - PDEC Input From Pin 2 Enable

pub fn pinven0(&self) -> PINVEN0_R[src]

Bit 20 - IO Pin 0 Invert Enable

pub fn pinven1(&self) -> PINVEN1_R[src]

Bit 21 - IO Pin 1 Invert Enable

pub fn pinven2(&self) -> PINVEN2_R[src]

Bit 22 - IO Pin 2 Invert Enable

pub fn angular(&self) -> ANGULAR_R[src]

Bits 24:26 - Angular Counter Length

pub fn maxcmp(&self) -> MAXCMP_R[src]

Bits 28:31 - Maximum Consecutive Missing Pulses