#[repr(C)]
pub struct RegisterBlock {
Show 17 fields pub cr: CR, pub cfg: CFG, pub sr: SR, pub scr: SCR, pub rts: RTS, pub seqcfg: SEQCFG, pub tim: TIM, pub itimer: ITIMER, pub wcfg: WCFG, pub wth: WTH, pub lcv: LCV, pub ier: IER, pub idr: IDR, pub imr: IMR, pub calib: CALIB, pub version: VERSION, pub parameter: PARAMETER, /* private fields */
}
Expand description

Register block

Fields§

§cr: CR

0x00 - Control Register

§cfg: CFG

0x04 - Configuration Register

§sr: SR

0x08 - Status Register

§scr: SCR

0x0c - Status Clear Register

§rts: RTS

0x10 - Resistive Touch Screen Register

§seqcfg: SEQCFG

0x14 - Sequencer Configuration Register

§tim: TIM

0x1c - Timing Configuration Register

§itimer: ITIMER

0x20 - Internal Timer Register

§wcfg: WCFG

0x24 - Window Monitor Configuration Register

§wth: WTH

0x28 - Window Monitor Threshold Configuration Register

§lcv: LCV

0x2c - Sequencer Last Converted Value Register

§ier: IER

0x30 - Interrupt Enable Register

§idr: IDR

0x34 - Interrupt Disable Register

§imr: IMR

0x38 - Interrupt Mask Register

§calib: CALIB

0x3c - Calibration Register

§version: VERSION

0x40 - Version Register

§parameter: PARAMETER

0x44 - Parameter Register

Implementations§

source§

impl RegisterBlock

source

pub const fn second_dma_word_cdma_alt(&self) -> &SECOND_DMA_WORD_CDMA_ALT

0x18 - Configuration Direct Memory Access Register

source

pub const fn first_dma_word_cdma(&self) -> &FIRST_DMA_WORD_CDMA

0x18 - Configuration Direct Memory Access Register

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.