diff options
author | robert-hh <robert@hammelrath.com> | 2022-08-26 15:49:59 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-08-31 00:18:21 +1000 |
commit | 49e17c8bb0c55d8efb3f768ba1dfd5b27c466b26 (patch) | |
tree | a71b7964f544f69de97a9af6bafd3aa2416893ed /docs/library | |
parent | 5466f1b0ea562548cd11cdbe31b5f71c97cf36f9 (diff) | |
download | micropython-49e17c8bb0c55d8efb3f768ba1dfd5b27c466b26.tar.gz micropython-49e17c8bb0c55d8efb3f768ba1dfd5b27c466b26.zip |
mimxrt/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/library')
0 files changed, 0 insertions, 0 deletions