diff options
author | robert-hh <robert@hammelrath.com> | 2023-09-24 21:42:06 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-08-29 16:27:43 +1000 |
commit | b7fa4e2fc87481180c7e36e80f2518856bfa0540 (patch) | |
tree | e4f6b0fc78cffca79f843cc30a99baaa42573b08 /docs/esp32/tutorial | |
parent | 8e1123b25bca23a3334211546d4164c9c343ec5b (diff) |
mimxrt/machine_uart: Implement a Python UART IRQ handler.
Supported triggers are: IRQ_RXIDLE and IRQ_TXIDLE.
When IRQ_RXIDLE is set, the handler will be called 3 character times after
the data in burst stopped.
When IRQ_TXIDLE is set, the handler will be called immediately after the
data has been sent.
This commit requires a change to fsl_lpuart.c, because the existing code
does not support under-run appropriately.
The irq.flags() value is cleared only at an expected event. Do not change
it otherwise.
Signed-off-by: robert-hh <robert@hammelrath.com>
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions