embassy-nrf

Crates

git

Versions

nrf52840

Flavors

Module spis

Module spis 

Source
Expand description

Serial Peripheral Instance in slave mode (SPIS) driver.

Structs§

Config
SPIS configuration.
InterruptHandler
Interrupt handler.
Mode
SPI mode
Spis
Serial Peripheral Interface in slave mode.

Enums§

BitOrder
Error
SPIS error
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§

Instance
SPIS peripheral instance