Trait ExtRead

Source
pub trait ExtRead: Ext + BasicRead {
    // Provided methods
    fn read_byte_from_pos(&mut self, pos: (u8, u8)) -> u8 { ... }
    fn read_graph_from_cgram(&mut self, index: u8) -> CGRAMGraph { ... }
}
Expand description

Useful commands to read data from the LCD

Provided Methods§

Source

fn read_byte_from_pos(&mut self, pos: (u8, u8)) -> u8

read a byte from specific position

Source

fn read_graph_from_cgram(&mut self, index: u8) -> CGRAMGraph

read custom graph data from CGRAM

We always read graph data as Font 5x11 mode,
user will take response to check whether the second part is needed.

Implementors§

Source§

impl<'a, 'b, Sender, Delayer> ExtRead for Lcd<'a, 'b, Sender, Delayer, true>
where Delayer: DelayNs, Sender: SendCommand<Delayer, true>,