[][src]Struct atsamd51j19a::pdec::ctrla::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

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

Bit 1 - Enable

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

Bits 2:3 - Operation Mode

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

Bit 6 - Run in Standby

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

Bits 8:10 - PDEC Configuration

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

Bit 11 - Auto Lock

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

Bit 14 - PDEC Phase A and B Swap

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

Bit 15 - Period Enable

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

Bit 16 - PDEC Input From Pin 0 Enable

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

Bit 17 - PDEC Input From Pin 1 Enable

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

Bit 18 - PDEC Input From Pin 2 Enable

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

Bit 20 - IO Pin 0 Invert Enable

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

Bit 21 - IO Pin 1 Invert Enable

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

Bit 22 - IO Pin 2 Invert Enable

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

Bits 24:26 - Angular Counter Length

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

Bits 28:31 - Maximum Consecutive Missing Pulses

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]