Struct ili9341::Ili9341
[−]
[src]
pub struct Ili9341<SPI, CS, DC, RESET> { /* fields omitted */ }
Methods
impl<E, SPI, CS, DC, RESET> Ili9341<SPI, CS, DC, RESET> where
SPI: Transfer<u8, Error = E> + Write<u8, Error = E>,
CS: OutputPin,
DC: OutputPin,
RESET: OutputPin,
[src]
SPI: Transfer<u8, Error = E> + Write<u8, Error = E>,
CS: OutputPin,
DC: OutputPin,
RESET: OutputPin,
fn new<DELAY: DelayMs<u16>>(
spi: SPI,
cs: CS,
dc: DC,
reset: RESET,
delay: &mut DELAY
) -> Result<Self, Error<E>>
[src]
spi: SPI,
cs: CS,
dc: DC,
reset: RESET,
delay: &mut DELAY
) -> Result<Self, Error<E>>
fn draw_iter<I: IntoIterator<Item = u16>>(
&mut self,
x0: u16,
y0: u16,
x1: u16,
y1: u16,
data: I
) -> Result<(), Error<E>>
[src]
&mut self,
x0: u16,
y0: u16,
x1: u16,
y1: u16,
data: I
) -> Result<(), Error<E>>
fn draw_raw(
&mut self,
x0: u16,
y0: u16,
x1: u16,
y1: u16,
data: &[u8]
) -> Result<(), Error<E>>
[src]
&mut self,
x0: u16,
y0: u16,
x1: u16,
y1: u16,
data: &[u8]
) -> Result<(), Error<E>>