Struct display_interface_spi::SPIInterface [−][src]
pub struct SPIInterface<SPI, DC, CS> { /* fields omitted */ }
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,
[src]
impl<SPI, DC, CS> SPIInterface<SPI, DC, CS> where
SPI: Write<u8>,
DC: OutputPin,
CS: OutputPin,
[src]Trait Implementations
impl<SPI, DC, CS> WriteOnlyDataCommand for SPIInterface<SPI, DC, CS> where
SPI: Write<u8>,
DC: OutputPin,
CS: OutputPin,
[src]
impl<SPI, DC, CS> WriteOnlyDataCommand for SPIInterface<SPI, DC, CS> where
SPI: Write<u8>,
DC: OutputPin,
CS: OutputPin,
[src]fn send_commands(&mut self, cmds: DataFormat<'_>) -> Result<(), DisplayError>
[src]
fn send_commands(&mut self, cmds: DataFormat<'_>) -> Result<(), DisplayError>
[src]Send a batch of commands to display
fn send_data(&mut self, buf: DataFormat<'_>) -> Result<(), DisplayError>
[src]
fn send_data(&mut self, buf: DataFormat<'_>) -> Result<(), DisplayError>
[src]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,
CS: Send,
DC: Send,
SPI: Send,
impl<SPI, DC, CS> Sync for SPIInterface<SPI, DC, CS> where
CS: Sync,
DC: Sync,
SPI: Sync,
CS: Sync,
DC: Sync,
SPI: Sync,
impl<SPI, DC, CS> Unpin for SPIInterface<SPI, DC, CS> where
CS: Unpin,
DC: Unpin,
SPI: Unpin,
CS: Unpin,
DC: Unpin,
SPI: Unpin,