stm32-rs / stm32l0xx-hal

A hardware abstraction layer (HAL) for the STM32L0 series microcontrollers written in Rust
BSD Zero Clause License
96 stars 60 forks source link

Add DMA support to SPI API #148

Closed michaelbeaumont closed 3 years ago

michaelbeaumont commented 3 years ago

It's not completely clear from the reference manual if we need to deal with SPI_SR.OVR or SPI_SR.RXNE here or if this can be made more robust.

michaelbeaumont commented 3 years ago

It works for me (I've only tested the write functionality to be honest). I'll come up with an example!