Type Alias xmc4800::posif0::pdbg::R

source ·
pub type R = R<PDBG_SPEC>;
Expand description

Register PDBG reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn qcsv(&self) -> QCSV_R

Bits 0:1 - Quadrature Decoder Current state

source

pub fn qpsv(&self) -> QPSV_R

Bits 2:3 - Quadrature Decoder Previous state

source

pub fn ival(&self) -> IVAL_R

Bit 4 - Current Index Value

source

pub fn hsp(&self) -> HSP_R

Bits 5:7 - Hall Current Sampled Pattern

source

pub fn lpp0(&self) -> LPP0_R

Bits 8:13 - Actual count of the Low Pass Filter for POSI0

source

pub fn lpp1(&self) -> LPP1_R

Bits 16:21 - Actual count of the Low Pass Filter for POSI1

source

pub fn lpp2(&self) -> LPP2_R

Bits 22:27 - Actual count of the Low Pass Filter for POSI2