19.6.5.9 Enum spi_transfer_mode

SPI transfer mode.

Table 19-66. Members
Enum valueDescription

SPI_TRANSFER_MODE_0

Mode 0. Leading edge: rising, sample. Trailing edge: falling, setup

SPI_TRANSFER_MODE_1

Mode 1. Leading edge: rising, setup. Trailing edge: falling, sample

SPI_TRANSFER_MODE_2

Mode 2. Leading edge: falling, sample. Trailing edge: rising, setup

SPI_TRANSFER_MODE_3

Mode 3. Leading edge: falling, setup. Trailing edge: rising, sample