Type Alias W

Source
pub type W = W<StatusSpec>;
Expand description

Register STATUS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn qerr(&mut self) -> QerrW<'_, StatusSpec>

Bit 0 - Quadrature Error Flag

Source

pub fn idxerr(&mut self) -> IdxerrW<'_, StatusSpec>

Bit 1 - Index Error Flag

Source

pub fn mperr(&mut self) -> MperrW<'_, StatusSpec>

Bit 2 - Missing Pulse Error flag

Source

pub fn winerr(&mut self) -> WinerrW<'_, StatusSpec>

Bit 4 - Window Error Flag

Source

pub fn herr(&mut self) -> HerrW<'_, StatusSpec>

Bit 5 - Hall Error Flag

Source

pub fn stop(&mut self) -> StopW<'_, StatusSpec>

Bit 6 - Stop

Source

pub fn dir(&mut self) -> DirW<'_, StatusSpec>

Bit 7 - Direction Status Flag

Source

pub fn prescbufv(&mut self) -> PrescbufvW<'_, StatusSpec>

Bit 8 - Prescaler Buffer Valid

Source

pub fn filterbufv(&mut self) -> FilterbufvW<'_, StatusSpec>

Bit 9 - Filter Buffer Valid

Source

pub fn ccbufv0(&mut self) -> Ccbufv0W<'_, StatusSpec>

Bit 12 - Compare Channel 0 Buffer Valid

Source

pub fn ccbufv1(&mut self) -> Ccbufv1W<'_, StatusSpec>

Bit 13 - Compare Channel 1 Buffer Valid