Trait lcd_ili9341::Interface
[−]
[src]
pub trait Interface { fn write_parameters(&self, command: u8, data: &[u8]); fn write_memory<I>(&self, iterable: I)
where
I: IntoIterator<Item = u32>; fn read_parameters(&self, command: u8, data: &mut [u8]); fn read_memory(&self, data: &mut [u32]); }
Trait representing the interface to the hardware. Intended to abstract the various buses (SPI, MPU 8/9/16/18-bit) from the Controller code.
Required Methods
fn write_parameters(&self, command: u8, data: &[u8])
fn write_memory<I>(&self, iterable: I) where
I: IntoIterator<Item = u32>,
I: IntoIterator<Item = u32>,