Module stm32wlxx_hal::spi

source ·
Expand description

Serial peripheral interface

The Spi struct implement the embedded-hal traits for transfers.

Constructors

There was a minor cartesian explosion when writing this module.

FunctionBusplexDMA
new_spi1_full_duplex1Full-duplexNo
new_spi1_full_duplex_dma1Full-duplexYes
new_spi1_mosi_simplex1MOSI-simplexNo
new_spi1_mosi_simplex_dma1MOSI-simplexYes
new_spi2_full_duplex2Full-duplexNo
new_spi2_full_duplex_dma2Full-duplexYes
new_spi2_mosi_simplex2MOSI-simplexNo
new_spi2_mosi_simplex_dma2MOSI-simplexYes

Structs

Enums

Constants

  • Helper for CPOL = 0, CPHA = 0
  • Helper for CPOL = 0, CPHA = 1
  • Helper for CPOL = 1, CPHA = 0
  • Helper for CPOL = 1, CPHA = 1

Traits