Struct bcm2709_spi::spi::SPIInterface
[−]
[src]
pub struct SPIInterface { pub mode: u8, pub device: u8, // some fields omitted }
Fields
mode: u8
bit-1: CPOL, bit-0: CPHA; SPI mode for the device
device: u8
RaspberryPi has 2 chip select lines for this SPI device. Set this to the device number to drive