Struct bcm2709_spi::spi::SPIInterface [] [src]

pub struct SPIInterface {
    pub mode: u8,
    pub device: u8,
    // some fields omitted
}

Fields

bit-1: CPOL, bit-0: CPHA; SPI mode for the device

RaspberryPi has 2 chip select lines for this SPI device. Set this to the device number to drive

Methods

impl SPIInterface
[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Drop for SPIInterface
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for SPIInterface

impl Sync for SPIInterface