Module zinc::hal::spi [-]  [+] [src]

SPI interface.

SPIConf is a MCU-specific struct.

As SPI performs read and write as one operation, special care should be taken if write() and read() methods are used with several devices on one SPI peripheral. The best way is to always use transfer().

Traits

SPI

SPI trait.