#[repr(C)]
pub struct RegisterBlock {
Show 26 fields pub cr: CR, pub cfg: CFG, pub tim: TIM, pub sr: SR, pub scr: SCR, pub drl0: DRL0, pub drh0: DRH0, pub drl1: DRL1, pub drh1: DRH1, pub drl2: DRL2, pub drh2: DRH2, pub drl3: DRL3, pub drh3: DRH3, pub iadr: IADR, pub bcfg: BCFG, pub csrcfg: CSRCFG, pub cmcfg: CMCFG, pub cmdr: CMDR, pub acmcfg: ACMCFG, pub acmdr: ACMDR, pub abmcfg: ABMCFG, pub abmdr: ABMDR, pub ier: IER, pub idr: IDR, pub imr: IMR, pub version: VERSION,
}
Expand description

Register block

Fields§

§cr: CR

0x00 - Control Register

§cfg: CFG

0x04 - Configuration Register

§tim: TIM

0x08 - Timing Register

§sr: SR

0x0c - Status Register

§scr: SCR

0x10 - Status Clear Register

§drl0: DRL0

0x14 - Data Register Low 0

§drh0: DRH0

0x18 - Data Register High 0

§drl1: DRL1

0x1c - Data Register Low 1

§drh1: DRH1

0x20 - Data Register High 1

§drl2: DRL2

0x24 - Data Register Low 2

§drh2: DRH2

0x28 - Data Register High 2

§drl3: DRL3

0x2c - Data Register Low 3

§drh3: DRH3

0x30 - Data Register High 3

§iadr: IADR

0x34 - Indirect Access Data Register

§bcfg: BCFG

0x38 - Blink Configuration Register

§csrcfg: CSRCFG

0x3c - Circular Shift Register Configuration

§cmcfg: CMCFG

0x40 - Character Mapping Configuration Register

§cmdr: CMDR

0x44 - Character Mapping Data Register

§acmcfg: ACMCFG

0x48 - Automated Character Mapping Configuration Register

§acmdr: ACMDR

0x4c - Automated Character Mapping Data Register

§abmcfg: ABMCFG

0x50 - Automated Bit Mapping Configuration Register

§abmdr: ABMDR

0x54 - Automated Bit Mapping Data Register

§ier: IER

0x58 - Interrupt Enable Register

§idr: IDR

0x5c - Interrupt Disable Register

§imr: IMR

0x60 - Interrupt Mask Register

§version: VERSION

0x64 - Version 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.