embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

Module controller

Module controller 

Source
Expand description

LPSPI Controller Driver.

Structs§

ClockConfig
SPI target clock configuration
Config
SPI controller configuration
InterruptHandler
SPI interrupt handler.
Mode
SPI mode.
Spi
Spi driver.

Enums§

BitOrder
SPI bit order
IoError
I/O Errors
Phase
Clock phase.
Polarity
Clock polarity.
SetupError
Errors exclusive to HW initialization

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.