diff options
author | robert-hh <robert@hammelrath.com> | 2022-08-26 18:08:29 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-08-31 00:18:49 +1000 |
commit | a39b88f0fbffe802dc8a80980e6fd675c9ef5a65 (patch) | |
tree | 4c74a9c009620259fc9bd1906ac74df714ed1442 /docs/library/machine.UART.rst | |
parent | cc0249c936091889c9f2bda0ecafc522e06364a3 (diff) | |
download | micropython-a39b88f0fbffe802dc8a80980e6fd675c9ef5a65.tar.gz micropython-a39b88f0fbffe802dc8a80980e6fd675c9ef5a65.zip |
cc3200/mods/pybuart: 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 FIFO and the baud rate.
ret = uart.txdone()
ret is True if no transfer is in progress.
ret is False otherwise.
Diffstat (limited to 'docs/library/machine.UART.rst')
0 files changed, 0 insertions, 0 deletions