Skip to main content

RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
    pub touch_config: TOUCH_CONFIG,
    pub touch_channel: TOUCH_CHANNEL,
    pub touch_process: TOUCH_PROCESS,
    pub touch_sleep: TOUCH_SLEEP,
    pub touch_delay: TOUCH_DELAY,
    pub touch_force: [TOUCH_FORCE; 6],
    pub touch_voltage: [TOUCH_VOLTAGE; 3],
    pub touch_raw: [TOUCH_RAW; 12],
    pub touch_interrupt_0: TOUCH_INTERRUPT_0,
    pub touch_interrupt_1: TOUCH_INTERRUPT_1,
    /* private fields */
}
Expand description

Register block

Fields§

§touch_config: TOUCH_CONFIG

0xa00 - ??

§touch_channel: TOUCH_CHANNEL

0xa04 - ??

§touch_process: TOUCH_PROCESS

0xa08 - ??

§touch_sleep: TOUCH_SLEEP

0xa0c - ??

§touch_delay: TOUCH_DELAY

0xa10 - ??

§touch_force: [TOUCH_FORCE; 6]

0xa14..0xa2c - ??

§touch_voltage: [TOUCH_VOLTAGE; 3]

0xa2c..0xa38 - ??

§touch_raw: [TOUCH_RAW; 12]

0xa38..0xa68 - ??

§touch_interrupt_0: TOUCH_INTERRUPT_0

0xacc - ??

§touch_interrupt_1: TOUCH_INTERRUPT_1

0xad0 - ??

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where 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 T
where 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 T
where U: Into<T>,

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

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

Source§

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.