# k210_soc::spi - Rust
SPI peripherals handling
Keywords: rust, rustlang, rust-lang, spi

# Module k210_soc::spi

source · [−]
Expand description

SPI peripherals handling

## Structs

SPIImpl

## Enums

aitm

Borrow aitm from pac instruction_address_trans_mode

frame_format

Borrow frame format from pac FRAME_FORMAT

tmod

Borrow tmod from pac TRANSFER_MODE

work_mode

Borrow work mode from pac WORK_MODE

## Traits

SPI
SPI01

Trait for generalizing over SPI0 and SPI1 (SPI2 is slave-only and SPI3 is !!!special!!!)

SPIExt

Extension trait that constrains SPI peripherals

TruncU32

Trait for trunction of a SPI frame from u32 register to other unsigned integer types.