aboutsummaryrefslogtreecommitdiff
path: root/embassy-std/src
diff options
context:
space:
mode:
authorTimo Kröger <[email protected]>2021-01-03 12:09:51 +0100
committerTimo Kröger <[email protected]>2021-01-04 22:55:40 +0100
commit85ec9dd16fb5649900722228e46e9c68370901a6 (patch)
tree759856b65a30ae1f7451f358254147e49ff04286 /embassy-std/src
parenta3b3305b8e9afbedde58e6c44c112335b25fa176 (diff)
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
Diffstat (limited to 'embassy-std/src')
0 files changed, 0 insertions, 0 deletions