[][src]Struct atsams70q19::tc0::tc_bmr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

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

Writes raw bits to the register

pub fn tc0xc0s(&mut self) -> _TC0XC0SW[src]

Bits 0:1 - External Clock Signal 0 Selection

pub fn tc1xc1s(&mut self) -> _TC1XC1SW[src]

Bits 2:3 - External Clock Signal 1 Selection

pub fn tc2xc2s(&mut self) -> _TC2XC2SW[src]

Bits 4:5 - External Clock Signal 2 Selection

pub fn qden(&mut self) -> _QDENW[src]

Bit 8 - Quadrature Decoder Enabled

pub fn posen(&mut self) -> _POSENW[src]

Bit 9 - Position Enabled

pub fn speeden(&mut self) -> _SPEEDENW[src]

Bit 10 - Speed Enabled

pub fn qdtrans(&mut self) -> _QDTRANSW[src]

Bit 11 - Quadrature Decoding Transparent

pub fn edgpha(&mut self) -> _EDGPHAW[src]

Bit 12 - Edge on PHA Count Mode

pub fn inva(&mut self) -> _INVAW[src]

Bit 13 - Inverted PHA

pub fn invb(&mut self) -> _INVBW[src]

Bit 14 - Inverted PHB

pub fn invidx(&mut self) -> _INVIDXW[src]

Bit 15 - Inverted Index

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

Bit 16 - Swap PHA and PHB

pub fn idxphb(&mut self) -> _IDXPHBW[src]

Bit 17 - Index Pin is PHB Pin

pub fn maxfilt(&mut self) -> _MAXFILTW[src]

Bits 20:25 - Maximum Filter

Auto Trait Implementations

impl Unpin for W

impl Send for W

impl Sync for W

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self