[][src]Struct atsams70j21b::tc0::tc_bmr::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 tc0xc0s(&self) -> TC0XC0S_R[src]

Bits 0:1 - External Clock Signal 0 Selection

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

Bits 2:3 - External Clock Signal 1 Selection

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

Bits 4:5 - External Clock Signal 2 Selection

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

Bit 8 - Quadrature Decoder Enabled

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

Bit 9 - Position Enabled

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

Bit 10 - Speed Enabled

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

Bit 11 - Quadrature Decoding Transparent

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

Bit 12 - Edge on PHA Count Mode

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

Bit 13 - Inverted PHA

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

Bit 14 - Inverted PHB

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

Bit 15 - Inverted Index

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

Bit 16 - Swap PHA and PHB

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

Bit 17 - Index Pin is PHB Pin

pub fn autoc(&self) -> AUTOC_R[src]

Bit 18 - AutoCorrection of missing pulses

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

Bits 20:25 - Maximum Filter

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

Bits 26:29 - Maximum Consecutive Missing Pulses

Auto Trait Implementations

impl Unpin for R

impl Sync for R

impl Send for R

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