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

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

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

Writes raw bits to the register

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

Bit 0 - Software Reset

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

Bit 1 - Enable

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

Bits 2:3 - Operation Mode

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

Bit 6 - Run in Standby

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

Bits 8:10 - PDEC Configuration

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

Bit 11 - Auto Lock

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

Bit 14 - PDEC Phase A and B Swap

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

Bit 15 - Period Enable

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

Bit 16 - PDEC Input From Pin 0 Enable

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

Bit 17 - PDEC Input From Pin 1 Enable

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

Bit 18 - PDEC Input From Pin 2 Enable

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

Bit 20 - IO Pin 0 Invert Enable

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

Bit 21 - IO Pin 1 Invert Enable

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

Bit 22 - IO Pin 2 Invert Enable

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

Bits 24:26 - Angular Counter Length

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

Bits 28:31 - Maximum Consecutive Missing Pulses

Auto Trait Implementations

impl Send for W

impl Sync for W

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]