aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTimo Kröger <[email protected]>2022-02-25 13:19:51 +0100
committerTimo Kröger <[email protected]>2022-02-25 14:32:39 +0100
commit48f700b35c5371f1df374a615a5d68adff02597a (patch)
tree8dca0824c0c25e19fd48d3c15466b207da588ea3 /examples
parent6da4b6636435b350b21f0b30e7175a2a6899acdc (diff)
stm32 usart: Fix RX interrupt flag handling
* On v1 interrupts cannot be cleared individually. Instead they are cleared implicitly by reading or writing DR (which we do now). * Multiple error flags can be set at the same time: Handle them all in one go intstead of re-entering the ISR for each one so that we do not lose any error flags on v1 hardware. * Wake when the RX buffer becomes full: This allows fast running chips to pull data from the buffer before receiving the next byte.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions