[−][src]Struct epd_waveshare::epd2in9::EPD2in9
EPD2in9 driver
Trait Implementations
impl<SPI, CS, BUSY, DC, RST> WaveshareDisplay<SPI, CS, BUSY, DC, RST> for EPD2in9<SPI, CS, BUSY, DC, RST> where
SPI: Write<u8>,
CS: OutputPin,
BUSY: InputPin,
DC: OutputPin,
RST: OutputPin,
[src]
SPI: Write<u8>,
CS: OutputPin,
BUSY: InputPin,
DC: OutputPin,
RST: OutputPin,
fn width(&self) -> u32
[src]
fn height(&self) -> u32
[src]
fn new<DELAY: DelayMs<u8>>(
spi: &mut SPI,
cs: CS,
busy: BUSY,
dc: DC,
rst: RST,
delay: &mut DELAY
) -> Result<Self, SPI::Error>
[src]
spi: &mut SPI,
cs: CS,
busy: BUSY,
dc: DC,
rst: RST,
delay: &mut DELAY
) -> Result<Self, SPI::Error>
fn sleep(&mut self, spi: &mut SPI) -> Result<(), SPI::Error>
[src]
fn wake_up<DELAY: DelayMs<u8>>(
&mut self,
spi: &mut SPI,
delay: &mut DELAY
) -> Result<(), SPI::Error>
[src]
&mut self,
spi: &mut SPI,
delay: &mut DELAY
) -> Result<(), SPI::Error>
fn update_frame(
&mut self,
spi: &mut SPI,
buffer: &[u8]
) -> Result<(), SPI::Error>
[src]
&mut self,
spi: &mut SPI,
buffer: &[u8]
) -> Result<(), SPI::Error>
fn update_partial_frame(
&mut self,
spi: &mut SPI,
buffer: &[u8],
x: u32,
y: u32,
width: u32,
height: u32
) -> Result<(), SPI::Error>
[src]
&mut self,
spi: &mut SPI,
buffer: &[u8],
x: u32,
y: u32,
width: u32,
height: u32
) -> Result<(), SPI::Error>
fn display_frame(&mut self, spi: &mut SPI) -> Result<(), SPI::Error>
[src]
fn clear_frame(&mut self, spi: &mut SPI) -> Result<(), SPI::Error>
[src]
fn set_background_color(&mut self, background_color: Color)
[src]
fn background_color(&self) -> &Color
[src]
fn set_lut(
&mut self,
spi: &mut SPI,
refresh_rate: Option<RefreshLUT>
) -> Result<(), SPI::Error>
[src]
&mut self,
spi: &mut SPI,
refresh_rate: Option<RefreshLUT>
) -> Result<(), SPI::Error>
fn is_busy(&self) -> bool
[src]
Auto Trait Implementations
impl<SPI, CS, BUSY, DC, RST> Send for EPD2in9<SPI, CS, BUSY, DC, RST> where
BUSY: Send,
CS: Send,
DC: Send,
RST: Send,
SPI: Send,
BUSY: Send,
CS: Send,
DC: Send,
RST: Send,
SPI: Send,
impl<SPI, CS, BUSY, DC, RST> Sync for EPD2in9<SPI, CS, BUSY, DC, RST> where
BUSY: Sync,
CS: Sync,
DC: Sync,
RST: Sync,
SPI: Sync,
BUSY: Sync,
CS: Sync,
DC: Sync,
RST: Sync,
SPI: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,