#[repr(C)]
pub struct RegisterBlock { pub cr: Reg<CR_SPEC>, pub fcr: Reg<FCR_SPEC>, pub sr: Reg<SR_SPEC>, pub clr: Reg<CLR_SPEC>, pub ram_com0: Reg<RAM_COM0_SPEC>, pub ram_com1: Reg<RAM_COM1_SPEC>, pub ram_com2: Reg<RAM_COM2_SPEC>, pub ram_com3: Reg<RAM_COM3_SPEC>, pub ram_com4: Reg<RAM_COM4_SPEC>, pub ram_com5: Reg<RAM_COM5_SPEC>, pub ram_com6: Reg<RAM_COM6_SPEC>, pub ram_com7: Reg<RAM_COM7_SPEC>, /* private fields */ }
Expand description

Register block

Fields

cr: Reg<CR_SPEC>

0x00 - control register

fcr: Reg<FCR_SPEC>

0x04 - frame control register

sr: Reg<SR_SPEC>

0x08 - status register

clr: Reg<CLR_SPEC>

0x0c - clear register

ram_com0: Reg<RAM_COM0_SPEC>

0x14 - display memory

ram_com1: Reg<RAM_COM1_SPEC>

0x1c - display memory

ram_com2: Reg<RAM_COM2_SPEC>

0x24 - display memory

ram_com3: Reg<RAM_COM3_SPEC>

0x2c - display memory

ram_com4: Reg<RAM_COM4_SPEC>

0x34 - display memory

ram_com5: Reg<RAM_COM5_SPEC>

0x3c - display memory

ram_com6: Reg<RAM_COM6_SPEC>

0x44 - display memory

ram_com7: Reg<RAM_COM7_SPEC>

0x4c - display memory

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.

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.