Function esp_idf_sys::uart_wait_tx_idle_polling
source ยท pub unsafe extern "C" fn uart_wait_tx_idle_polling(
uart_num: uart_port_t,
) -> esp_err_t
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