Struct ssd1306::prelude::SPIInterface [−][src]
pub struct SPIInterface<SPI, DC, CS> { /* fields omitted */ }
Expand description
SPI display interface.
This combines the SPI peripheral and a data/command as well as a chip-select pin
Implementations
impl<SPI, DC, CS> SPIInterface<SPI, DC, CS> where
SPI: Write<u8>,
DC: OutputPin,
CS: OutputPin,
impl<SPI, DC, CS> SPIInterface<SPI, DC, CS> where
SPI: Write<u8>,
DC: OutputPin,
CS: OutputPin,
Create new SPI interface for communication with a display driver
Trait Implementations
impl<SPI, DC, CS> WriteOnlyDataCommand for SPIInterface<SPI, DC, CS> where
SPI: Write<u8>,
DC: OutputPin,
CS: OutputPin,
impl<SPI, DC, CS> WriteOnlyDataCommand for SPIInterface<SPI, DC, CS> where
SPI: Write<u8>,
DC: OutputPin,
CS: OutputPin,
Send a batch of commands to display
Send pixel data to display
Auto Trait Implementations
impl<SPI, DC, CS> Send for SPIInterface<SPI, DC, CS> where
CS: Send,
DC: Send,
SPI: Send,
impl<SPI, DC, CS> Sync for SPIInterface<SPI, DC, CS> where
CS: Sync,
DC: Sync,
SPI: Sync,
impl<SPI, DC, CS> Unpin for SPIInterface<SPI, DC, CS> where
CS: Unpin,
DC: Unpin,
SPI: Unpin,
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Casts the value.
Casts the value.
Casts the value.