• robert-hh's avatar
    cc3200/mods/pybuart: Implement uart.flush() and uart.txdone(). · a39b88f0
    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 FIFO and the baud rate.
    
    ret = uart.txdone()
    
    ret is True if no transfer is in progress.
    ret is False otherwise.
    a39b88f0
pybuart.c 24.5 KB