Function esp_idf_hal::sys::uart_wait_tx_done
source ยท pub unsafe extern "C" fn uart_wait_tx_done(
uart_num: i32,
ticks_to_wait: u32,
) -> i32
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