diff options
author | robert-hh <robert@hammelrath.com> | 2022-08-26 15:21:48 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-08-31 00:18:14 +1000 |
commit | 5466f1b0ea562548cd11cdbe31b5f71c97cf36f9 (patch) | |
tree | 5f4819a156a5754d7a207fbf725fd989f913f807 /docs/esp8266/tutorial/powerctrl.rst | |
parent | 2488311dc2f5ef259a03b871620fd6d3f45a1086 (diff) |
esp32/machine_uart: Implement uart.flush() and uart.txdone().
uart.flush()
flush() will wait until all characters have been sent.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.
ret is False otherwise.
Diffstat (limited to 'docs/esp8266/tutorial/powerctrl.rst')
0 files changed, 0 insertions, 0 deletions