Function esp_idf_svc::hal::sys::uart_wait_tx_idle_polling

source ยท
pub unsafe extern "C" fn uart_wait_tx_idle_polling(
    uart_num: u32,
) -> i32
Expand description

@brief Wait until UART tx memory empty and the last char send ok (polling mode).

@param uart_num UART number

  • @return
    • ESP_OK on success
    • ESP_ERR_INVALID_ARG Parameter error
    • ESP_FAIL Driver not installed