esp-rs / esp32-hal

A hardware abstraction layer for the esp32 written in Rust.
Apache License 2.0
192 stars 28 forks source link

Blocking SPI Interface #39

Closed fmckeogh closed 3 years ago

fmckeogh commented 4 years ago

ESP32 has four SPI peripherals, all of which can be used in master mode and two of which can be used in slave mode. embedded-hal defines a blocking interface which should be implemented and the use of DMA for an asynchronous interface needs to be planned and discussed.

arjanmels commented 3 years ago

Blocking interface implemented in #43. DMA still to be done (I don't plan to do this on short term).