Trait lcd::InputCapableHardware [] [src]

pub trait InputCapableHardware: Hardware {
    fn rw(&self, bit: bool);
fn read_data(&self) -> u8; }

Required Methods

Set R/W flag. Implementation should re-configure data port (D0-D7) for input before setting R/W pin to true and configure data port (D0-D7) for output after setting R/W to false.

Note that LCD driver typically uses 5V, so input should be tolerant to 5V when using busy flag.

Read data from the data pins of the LCD (D0-D7 in 8-bit mode and D4-D7 in 4-bit mode)

Implementors