summaryrefslogtreecommitdiff
path: root/docs/esp8266
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2022-08-26 12:47:34 +0200
committerDamien George <damien@micropython.org>2022-08-31 00:17:54 +1000
commit2488311dc2f5ef259a03b871620fd6d3f45a1086 (patch)
tree3193d12b7d8b5ba9464aef3d89fa1e3cf6516c4a /docs/esp8266
parent53ebbf10e56dd4cc33aec6cc6d0590c66fd1948e (diff)
rp2/machine_uart: Implement uart.flush() and uart.txdone().
uart.flush() flush() will wait until all characters have been sent. It may return while the last character is sent. if needed, the calling code has to add one character wait time. To avoid a permanent lock, a timeout applies depending on the size of txbuf and the baud rate. ret = uart.txdone() ret is True if no transfer is in progress. It may return True if the last byte of a transfer is sent. ret is False otherwise.
Diffstat (limited to 'docs/esp8266')
0 files changed, 0 insertions, 0 deletions