k210_soc

Module spi

Source
Expand description

SPI peripherals handling

Structs§

Enums§

  • Borrow aitm from pac instruction_address_trans_mode
  • Borrow frame format from pac FRAME_FORMAT
  • Borrow tmod from pac TRANSFER_MODE
  • Borrow work mode from pac WORK_MODE

Traits§

  • Trait for generalizing over SPI0 and SPI1 (SPI2 is slave-only and SPI3 is !!!special!!!)
  • Extension trait that constrains SPI peripherals
  • Trait for trunction of a SPI frame from u32 register to other unsigned integer types.