embassy/embassy-nrf
Timo Kröger 85ec9dd16f uarte: Be on safe side with potentially racy code
The PS does not specify how many cycles it takes for a STARTXX task to
generate a XXSTARTED event. I think it is instantaneous but let’s be on
the safe side for the following sequence:
1. poll() starttx
2. drop() txstarted not yet set, but future gets dropped
3. txstarted set by hardware, peripheral enabled after it was dropped
2021-01-04 22:55:40 +01:00
..
src uarte: Be on safe side with potentially racy code 2021-01-04 22:55:40 +01:00
Cargo.toml Low power UART driver 2020-12-30 19:24:12 +01:00