summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/machine.UART.rst
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2024-07-04 16:57:29 +0200
committerDamien George <damien@micropython.org>2024-08-29 16:34:33 +1000
commita38b4f42876cf274d77752f5f8cc559deb87f9fa (patch)
tree604bbf6eacd792eb7a20327bce78ee05a26e8446 /docs/library/machine.UART.rst
parent7045975d046196e57efb79dc70e6b715155b9bca (diff)
downloadmicropython-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