Struct display_interface_spi::SPIInterfaceNoCS
source · [−]pub struct SPIInterfaceNoCS<SPI, DC> { /* private fields */ }
Expand description
SPI display interface.
This combines the SPI peripheral and a data/command pin
Implementations
sourceimpl<SPI, DC> SPIInterfaceNoCS<SPI, DC>where
SPI: Write<u8>,
DC: OutputPin,
impl<SPI, DC> SPIInterfaceNoCS<SPI, DC>where
SPI: Write<u8>,
DC: OutputPin,
Trait Implementations
sourceimpl<SPI, DC> WriteOnlyDataCommand for SPIInterfaceNoCS<SPI, DC>where
SPI: Write<u8>,
DC: OutputPin,
impl<SPI, DC> WriteOnlyDataCommand for SPIInterfaceNoCS<SPI, DC>where
SPI: Write<u8>,
DC: OutputPin,
sourcefn send_commands(&mut self, cmds: DataFormat<'_>) -> Result<(), DisplayError>
fn send_commands(&mut self, cmds: DataFormat<'_>) -> Result<(), DisplayError>
Send a batch of commands to display
sourcefn send_data(&mut self, buf: DataFormat<'_>) -> Result<(), DisplayError>
fn send_data(&mut self, buf: DataFormat<'_>) -> Result<(), DisplayError>
Send pixel data to display
Auto Trait Implementations
impl<SPI, DC> RefUnwindSafe for SPIInterfaceNoCS<SPI, DC>where
DC: RefUnwindSafe,
SPI: RefUnwindSafe,
impl<SPI, DC> Send for SPIInterfaceNoCS<SPI, DC>where
DC: Send,
SPI: Send,
impl<SPI, DC> Sync for SPIInterfaceNoCS<SPI, DC>where
DC: Sync,
SPI: Sync,
impl<SPI, DC> Unpin for SPIInterfaceNoCS<SPI, DC>where
DC: Unpin,
SPI: Unpin,
impl<SPI, DC> UnwindSafe for SPIInterfaceNoCS<SPI, DC>where
DC: UnwindSafe,
SPI: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more