[][src]Trait max7456::Spi

pub trait Spi {
    type Error;
    fn write(&self, bytes: &[u8]) -> Result<(), Self::Error>;
fn write_read(
        &self,
        input: &[u8],
        output: &mut [u8]
    ) -> Result<(), Self::Error>; }

Associated Types

type Error

Loading content...

Required methods

fn write(&self, bytes: &[u8]) -> Result<(), Self::Error>

fn write_read(&self, input: &[u8], output: &mut [u8]) -> Result<(), Self::Error>

Loading content...

Implementors

Loading content...