diff options
author | robert-hh <robert@hammelrath.com> | 2024-07-04 16:57:29 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-08-29 16:34:33 +1000 |
commit | a38b4f42876cf274d77752f5f8cc559deb87f9fa (patch) | |
tree | 604bbf6eacd792eb7a20327bce78ee05a26e8446 /docs/library/machine.UART.rst | |
parent | 7045975d046196e57efb79dc70e6b715155b9bca (diff) | |
download | micropython-a38b4f42876cf274d77752f5f8cc559deb87f9fa.tar.gz micropython-a38b4f42876cf274d77752f5f8cc559deb87f9fa.zip |
esp32/machine_uart: Implement UART.RX_IDLE based on machine.Timer.
The UART.IRQ_IDLE callback is called about two character times after the
last byte, or 1 ms, whichever is larger. For the irq, timer 0 is used.
machine_timer.c had to be reworked to make it's mechanisms available for
machine_uart.c.
The irq.flags() value is change only at a requested event. Otherwise keep
the state.
Signed-off-by: robert-hh <robert@hammelrath.com>
Diffstat (limited to 'docs/library/machine.UART.rst')
0 files changed, 0 insertions, 0 deletions