|
|
|
|
|
by bschwindHN
1 day ago
|
|
Async Rust can be nice, especially when juggling multiple tasks and composing them with timeouts and such. Async in an embedded context is actually really nice, too. You can have high level "send this thing over SPI, receive this data from USB" futures and they will run (ideally via DMA) and your CPU can go to sleep, only waking up when interrupts fire from the hardware peripherals you were using. |
|