[][src]Struct k1921vk01t_pac::nt_qep0::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub qposcnt: QPOSCNT,
    pub qposinit: QPOSINIT,
    pub qposmax: QPOSMAX,
    pub qposcmp: QPOSCMP,
    pub qposilat: QPOSILAT,
    pub qposslat: QPOSSLAT,
    pub qposlat: QPOSLAT,
    pub qutmr: QUTMR,
    pub quprd: QUPRD,
    pub qwdtmr: QWDTMR,
    pub qwdprd: QWDPRD,
    pub qdecctl: QDECCTL,
    pub qepctl: QEPCTL,
    pub qcapctl: QCAPCTL,
    pub qposctl: QPOSCTL,
    pub qeint: QEINT,
    pub qflg: QFLG,
    pub qclr: QCLR,
    pub qfrc: QFRC,
    pub qepsts: QEPSTS,
    pub qctmr: QCTMR,
    pub qcprd: QCPRD,
    pub qctmrlat: QCTMRLAT,
    pub qcprdlat: QCPRDLAT,
    pub intclr: INTCLR,
    // some fields omitted
}

Register block

Fields

qposcnt: QPOSCNT

0x00 - Position count register

qposinit: QPOSINIT

0x04 - Shadow count register

qposmax: QPOSMAX

0x08 - Period register

qposcmp: QPOSCMP

0x0c - Count compare position reg

qposilat: QPOSILAT

0x10 - Register meaning count position

qposslat: QPOSSLAT

0x14 - Strobe register

qposlat: QPOSLAT

0x18 - Time event register

qutmr: QUTMR

0x1c - Time reading timer register

quprd: QUPRD

0x20 - Period time reading timer register

qwdtmr: QWDTMR

0x24 - Watchdog timer register

qwdprd: QWDPRD

0x28 - Period watchdog timer register

qdecctl: QDECCTL

0x2c - Input control register

qepctl: QEPCTL

0x30 - Quadrature decoder control register

qcapctl: QCAPCTL

0x34 - Capture register

qposctl: QPOSCTL

0x38 - Register countposition control

qeint: QEINT

0x3c - Interrupt mask

qflg: QFLG

0x40 - Flag interrupt

qclr: QCLR

0x44 - Reset interrupt

qfrc: QFRC

0x48 - Emulation interrupt

qepsts: QEPSTS

0x4c - Status interrupt

qctmr: QCTMR

0x50 - Timer register

qcprd: QCPRD

0x54 - Period register

qctmrlat: QCTMRLAT

0x58 - Register Storage Timer

qcprdlat: QCPRDLAT

0x5c - Register Storage Period

intclr: INTCLR

0x70 - Clear interrupt 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> Same<T> for T

type Output = T

Should always be Self

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

type Error = !

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.