#[repr(C)]
pub struct RegisterBlock { pub id: ID, pub globctl: GLOBCTL, pub fnctl: FNCTL, pub evfr: EVFR, pub tsval: TSVAL, pub line0: LINE0, pub line1: LINE1, pub ldcmp0: LDCMP0, pub ldcmp1: LDCMP1, pub tscmp0: TSCMP0, pub tscmp1: TSCMP1, }
Expand description

Register block

Fields

id: ID

0x00 - Module Identification Register

globctl: GLOBCTL

0x04 - Global Control Register

fnctl: FNCTL

0x08 - Function Control Register

evfr: EVFR

0x0c - Event Flag Register

tsval: TSVAL

0x10 - Touch-sense TS-Counter Value

line0: LINE0

0x14 - Line Pattern Register 0

line1: LINE1

0x18 - Line Pattern Register 1

ldcmp0: LDCMP0

0x1c - LED Compare Register 0

ldcmp1: LDCMP1

0x20 - LED Compare Register 1

tscmp0: TSCMP0

0x24 - Touch-sense Compare Register 0

tscmp1: TSCMP1

0x28 - Touch-sense Compare Register 1

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.