Re:Async-await on stable Rust
by ppf on Friday November 08, 2019 @02:45AM
(#21480584)
>poll for the interrupt
Errr, no. You either poll, or set up an interrupt to catch an event. The point of an interrupt is to allow other code to continue to run while waiting for a peripheral.
Errr, no. You either poll, or set up an interrupt to catch an event. The point of an interrupt is to allow other code to continue to run while waiting for a peripheral.