esp-rs / esp-hal

no_std Hardware Abstraction Layers for ESP32 microcontrollers
https://docs.esp-rs.org/esp-hal/
Apache License 2.0
769 stars 214 forks source link

SPI PDMA: Don't read to clear interrupts #2585

Closed bugadani closed 3 days ago

bugadani commented 3 days ago

This is the only place where we use modify instead of write and the hardware is write-1-to-clear so not reading should be safe.