[][src]Struct sam3x8e::tc2::bmr::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 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 filter(&mut self) -> _FILTERW[src]

Bit 19

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

Bits 20:25 - MAXimum FILTer

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

🔬 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]