Function esp_idf_sys::uart_wait_tx_done
source ยท pub unsafe extern "C" fn uart_wait_tx_done(
uart_num: uart_port_t,
ticks_to_wait: TickType_t,
) -> esp_err_t
Expand description
@brief Wait until UART TX FIFO is empty.
@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param ticks_to_wait Timeout, count in RTOS ticks
@return - ESP_OK Success - ESP_FAIL Parameter error - ESP_ERR_TIMEOUT Timeout