[][src]Struct imxrt1062_enc1::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub ctrl: CTRL,
    pub filt: FILT,
    pub wtr: WTR,
    pub posd: POSD,
    pub posdh: POSDH,
    pub rev: REV,
    pub revh: REVH,
    pub upos: UPOS,
    pub lpos: LPOS,
    pub uposh: UPOSH,
    pub lposh: LPOSH,
    pub uinit: UINIT,
    pub linit: LINIT,
    pub imr: IMR,
    pub tst: TST,
    pub ctrl2: CTRL2,
    pub umod: UMOD,
    pub lmod: LMOD,
    pub ucomp: UCOMP,
    pub lcomp: LCOMP,
}

Register block

Fields

ctrl: CTRL

0x00 - Control Register

filt: FILT

0x02 - Input Filter Register

wtr: WTR

0x04 - Watchdog Timeout Register

posd: POSD

0x06 - Position Difference Counter Register

posdh: POSDH

0x08 - Position Difference Hold Register

rev: REV

0x0a - Revolution Counter Register

revh: REVH

0x0c - Revolution Hold Register

upos: UPOS

0x0e - Upper Position Counter Register

lpos: LPOS

0x10 - Lower Position Counter Register

uposh: UPOSH

0x12 - Upper Position Hold Register

lposh: LPOSH

0x14 - Lower Position Hold Register

uinit: UINIT

0x16 - Upper Initialization Register

linit: LINIT

0x18 - Lower Initialization Register

imr: IMR

0x1a - Input Monitor Register

tst: TST

0x1c - Test Register

ctrl2: CTRL2

0x1e - Control 2 Register

umod: UMOD

0x20 - Upper Modulus Register

lmod: LMOD

0x22 - Lower Modulus Register

ucomp: UCOMP

0x24 - Upper Position Compare Register

lcomp: LCOMP

0x26 - Lower Position Compare Register

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.