Enum zinc_hal_lpc11xx::ioregs::SPI0_cr1_ms [] [src]

pub enum SPI0_cr1_ms {
    Master,
    Slave,
}

Variants

Master

The SPI controller acts as a master on the bus, driving the SCLK, MOSI, and SSEL lines and receiving the MISO line.

Slave

The SPI controller acts as a slave on the bus, driving MISO line and receiving SCLK, MOSI, and SSEL lines.

Trait Implementations

Derived Implementations

impl PartialEq for SPI0_cr1_ms

fn eq(&self, __arg_0: &SPI0_cr1_ms) -> bool

fn ne(&self, __arg_0: &SPI0_cr1_ms) -> bool