#[repr(C)]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: CR0x00 - control register
fcr: FCR0x04 - frame control register
sr: SR0x08 - status register
clr: CLR0x0c - clear register
ram_com0: RAM_COM00x14 - display memory
ram_com1: RAM_COM10x1c - display memory
ram_com2: RAM_COM20x24 - display memory
ram_com3: RAM_COM30x2c - display memory
ram_com4: RAM_COM40x34 - display memory
ram_com5: RAM_COM50x3c - display memory
ram_com6: RAM_COM60x44 - display memory
ram_com7: RAM_COM70x4c - display memory
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more