Struct solo_bsp::lcd::RegisterBlock

pub struct RegisterBlock {
    pub cr: CR,
    pub fcr: FCR,
    pub sr: SR,
    pub clr: CLR,
    pub ram_com0: RAM_COM0,
    pub ram_com1: RAM_COM1,
    pub ram_com2: RAM_COM2,
    pub ram_com3: RAM_COM3,
    pub ram_com4: RAM_COM4,
    pub ram_com5: RAM_COM5,
    pub ram_com6: RAM_COM6,
    pub ram_com7: RAM_COM7,
    /* private fields */
}
Expand description

Register block

Fields§

§cr: CR

0x00 - control register

§fcr: FCR

0x04 - frame control register

§sr: SR

0x08 - status register

§clr: CLR

0x0c - clear register

§ram_com0: RAM_COM0

0x14 - display memory

§ram_com1: RAM_COM1

0x1c - display memory

§ram_com2: RAM_COM2

0x24 - display memory

§ram_com3: RAM_COM3

0x2c - display memory

§ram_com4: RAM_COM4

0x34 - display memory

§ram_com5: RAM_COM5

0x3c - display memory

§ram_com6: RAM_COM6

0x44 - display memory

§ram_com7: RAM_COM7

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.

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.