Trait Spi
max7456
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>; }
type Error
fn write(&self, bytes: &[u8]) -> Result<(), Self::Error>
fn write_read(&self, input: &[u8], output: &mut [u8]) -> Result<(), Self::Error>