[][src]Struct sam3x8e::tc2::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) -> TC0XC0SR[src]

Bits 0:1 - External Clock Signal 0 Selection

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

Bits 2:3 - External Clock Signal 1 Selection

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

Bits 4:5 - External Clock Signal 2 Selection

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

Bit 8 - Quadrature Decoder ENabled

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

Bit 9 - POSition ENabled

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

Bit 10 - SPEED ENabled

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

Bit 11 - Quadrature Decoding TRANSparent

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

Bit 12 - EDGe on PHA count mode

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

Bit 13 - INVerted phA

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

Bit 14 - INVerted phB

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

Bit 15 - INVerted InDeX

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

Bit 16 - SWAP PHA and PHB

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

Bit 17 - InDeX pin is PHB pin

pub fn filter(&self) -> FILTERR[src]

Bit 19

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

Bits 20:25 - MAXimum FILTer

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 = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

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]