[][src]Module embedded_hal::spi

Serial Peripheral Interface

Structs

Mode

SPI mode

Enums

Phase

Clock phase

Polarity

Clock polarity

Constants

MODE_0

Helper for CPOL = 0, CPHA = 0

MODE_1

Helper for CPOL = 0, CPHA = 1

MODE_2

Helper for CPOL = 1, CPHA = 0

MODE_3

Helper for CPOL = 1, CPHA = 1

Traits

FullDuplex

Full duplex (master mode)