Struct mkw41z::tpm2::qdctrl::R
[−]
[src]
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 quaden(&self) -> QUADENR
[src]
Bit 0 - Enables the quadrature decoder mode
pub fn tofdir(&self) -> TOFDIRR
[src]
Bit 1 - Indicates if the TOF bit was set on the top or the bottom of counting.
pub fn quadir(&self) -> QUADIRR
[src]
Bit 2 - Counter Direction in Quadrature Decode Mode
pub fn quadmode(&self) -> QUADMODER
[src]
Bit 3 - Quadrature Decoder Mode