• robert-hh's avatar
    mimxrt/machine_uart: Implement uart.flush() and uart.txdone(). · 49e17c8b
    robert-hh authored
    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.
    49e17c8b
machine_uart.c 18.4 KB