Module spi

Module spi 

Source
Expand description

SPI bus master driver.

Provides safe wrappers around the oveRTOS SPI API with software CS management, thread-safe bus locking, and multi-segment transactions.

Enums§

BitOrder
SPI bit order.
Mode
SPI clock mode (CPOL/CPHA).

Functions§

read
Read-only SPI transfer (clocks out zeros).
transfer
Full-duplex SPI transfer. tx or rx may be empty for half-duplex.
write
Write-only SPI transfer.