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