diff options
author | robert-hh <robert@hammelrath.com> | 2024-02-22 13:21:06 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-08-29 16:27:43 +1000 |
commit | 8e1123b25bca23a3334211546d4164c9c343ec5b (patch) | |
tree | 452b976a79ca36dcf8357dca9c6976a01c9f01e4 /docs/esp32/tutorial | |
parent | 01c046d2a803ead4d320ed533938fcc878a5959e (diff) |
samd/machine_uart: Implement a Python UART IRQ handler.
Supported for all SAMD51 devices and SAMD21 with external flash. For
interrupt events, IRQ_RX and IRQ_TXIDLE are provided.
IRQ_RX is called for every received byte. This may not be useful for high
data rates, but can be used to build a wrapper class providing an
IRQ_RXIDLE event or to signal just the first byte of a message.
IRQ_TXIDLE is called only when messages are longer than 5 bytes and
triggers when still 5 bytes are due to be sent.
The SAMD hardware does not support implementing IRQ_RXIDLE.
Signed-off-by: robert-hh <robert@hammelrath.com>
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions