[][src]Type Definition tm4c129x::qei0::ctl::R

type R = R<u32, CTL>;

Reader of register CTL

Methods

impl R[src]

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

Bit 0 - Enable QEI

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

Bit 1 - Swap Signals

pub fn sigmode(&self) -> SIGMODE_R[src]

Bit 2 - Signal Mode

pub fn capmode(&self) -> CAPMODE_R[src]

Bit 3 - Capture Mode

pub fn resmode(&self) -> RESMODE_R[src]

Bit 4 - Reset Mode

pub fn velen(&self) -> VELEN_R[src]

Bit 5 - Capture Velocity

pub fn veldiv(&self) -> VELDIV_R[src]

Bits 6:8 - Predivide Velocity

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

Bit 9 - Invert PhA

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

Bit 10 - Invert PhB

pub fn invi(&self) -> INVI_R[src]

Bit 11 - Invert Index Pulse

pub fn stallen(&self) -> STALLEN_R[src]

Bit 12 - Stall QEI

pub fn filten(&self) -> FILTEN_R[src]

Bit 13 - Enable Input Filter

pub fn filtcnt(&self) -> FILTCNT_R[src]

Bits 16:19 - Input Filter Prescale Count