summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2022-08-26 16:42:10 +0200
committerDamien George <damien@micropython.org>2022-08-31 00:18:27 +1000
commit8804993d0f5326fd71f137433a1b52199d65f119 (patch)
tree0c2c8e6dfabea073dd09cac51b7c3f00be8c52b0 /docs/library
parent49e17c8bb0c55d8efb3f768ba1dfd5b27c466b26 (diff)
downloadmicropython-8804993d0f5326fd71f137433a1b52199d65f119.tar.gz
micropython-8804993d0f5326fd71f137433a1b52199d65f119.zip
esp8266/machine_uart: Implement uart.flush() and uart.txdone().
uart.flush() flush() will wait until all characters but the last one have been sent. It returns 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 the FIFO and the baud rate. ret = uart.txdone() ret is True if no transfer is in progress. It returns already True when the last byte of a transfer is sent. ret is False otherwise.
Diffstat (limited to 'docs/library')
0 files changed, 0 insertions, 0 deletions