uart_wait_tx_done() function
Wait until UART TX FIFO is empty.
Arguments
uart_num
UART port number, the max port number is (UART_NUM_MAX -1).
ticks_to_wait
Timeout, count in RTOS ticks
Return value
- ESP_OK Success - ESP_FAIL Parameter error - ESP_ERR_TIMEOUT Timeout
Examples
uart_wait_tx_done() is referenced by 5 libraries and example projects: