[−][src]Trait ectool::Spi
SPI bus transactions
Required methods
fn target(&self) -> SpiTarget
Return the target of the SPI bus
unsafe fn reset(&mut self) -> Result<(), Error>
Reset the SPI bus
unsafe fn read(&mut self, data: &mut [u8]) -> Result<usize, Error>
Read data from the SPI bus
unsafe fn write(&mut self, data: &[u8]) -> Result<usize, Error>
Write data to the SPI bus