summaryrefslogtreecommitdiff
path: root/py/persistentcode.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-12-30 00:59:16 +1100
committerDamien George <damien.p.george@gmail.com>2018-12-30 00:59:16 +1100
commit7bdbea9a0ce99fd934c8f5f9d0eba7b1cf458567 (patch)
tree62dc93f1deefe55e055a04e475c14e79a0de4c5f /py/persistentcode.h
parent0d860fdcd01614a109cd85a09c727b547dcb1378 (diff)
stm32/uart: Clear overrun error flag after reading RX data register.
On MCUs other than F4 the ORE (overrun error) flag needs to be cleared independently of clearing RXNE, even though both are wired to trigger the same RXNE IRQ. In the case that an overrun occurred it's necessary to explicitly clear the ORE flag or else the RXNE interrupt will keep firing.
Diffstat (limited to 'py/persistentcode.h')
0 files changed, 0 insertions, 0 deletions