#[repr(C)]pub struct RegisterBlock {Show 20 fields
pub CTRL: RWRegister<u16>,
pub FILT: RWRegister<u16>,
pub WTR: RWRegister<u16>,
pub POSD: RWRegister<u16>,
pub POSDH: RORegister<u16>,
pub REV: RWRegister<u16>,
pub REVH: RORegister<u16>,
pub UPOS: RWRegister<u16>,
pub LPOS: RWRegister<u16>,
pub UPOSH: RORegister<u16>,
pub LPOSH: RORegister<u16>,
pub UINIT: RWRegister<u16>,
pub LINIT: RWRegister<u16>,
pub IMR: RORegister<u16>,
pub TST: RWRegister<u16>,
pub CTRL2: RWRegister<u16>,
pub UMOD: RWRegister<u16>,
pub LMOD: RWRegister<u16>,
pub UCOMP: RWRegister<u16>,
pub LCOMP: RWRegister<u16>,
}Expand description
Quadrature Decoder
Fields§
§CTRL: RWRegister<u16>Control Register
FILT: RWRegister<u16>Input Filter Register
WTR: RWRegister<u16>Watchdog Timeout Register
POSD: RWRegister<u16>Position Difference Counter Register
POSDH: RORegister<u16>Position Difference Hold Register
REV: RWRegister<u16>Revolution Counter Register
REVH: RORegister<u16>Revolution Hold Register
UPOS: RWRegister<u16>Upper Position Counter Register
LPOS: RWRegister<u16>Lower Position Counter Register
UPOSH: RORegister<u16>Upper Position Hold Register
LPOSH: RORegister<u16>Lower Position Hold Register
UINIT: RWRegister<u16>Upper Initialization Register
LINIT: RWRegister<u16>Lower Initialization Register
IMR: RORegister<u16>Input Monitor Register
TST: RWRegister<u16>Test Register
CTRL2: RWRegister<u16>Control 2 Register
UMOD: RWRegister<u16>Upper Modulus Register
LMOD: RWRegister<u16>Lower Modulus Register
UCOMP: RWRegister<u16>Upper Position Compare Register
LCOMP: RWRegister<u16>Lower Position Compare Register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more