Skip to content

Commit

Permalink
SPI: Implement interrupt-driven transfer_in_place_async (#2691)
Browse files Browse the repository at this point in the history
* Implement transfer_async

* The start of our shiny future

* Add State

* Wake from interrupt

* Rename and remove return value

* Fix register write

* Fix S2

* Rename traits

* Async flushes

* Flush before async operations

* Fix comments

* Rename start fn, place async handler in RAM

* Explicitly stop listening before async operations
  • Loading branch information
bugadani authored Dec 18, 2024
1 parent f990957 commit 2ca1545
Show file tree
Hide file tree
Showing 3 changed files with 538 additions and 87 deletions.
1 change: 1 addition & 0 deletions esp-hal/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `BurstConfig`, a device-specific configuration for configuring DMA transfers in burst mode (#2543)
- `{DmaRxBuf, DmaTxBuf, DmaRxTxBuf}::set_burst_config` (#2543)
- ESP32-S2: DMA support for AES (#2699)
- Added `transfer_in_place_async` and embedded-hal-async implementation to `Spi` (#2691)

### Changed

Expand Down
Loading

0 comments on commit 2ca1545

Please sign in to comment.