Function esp_idf_hal::sys::uart_set_tx_idle_num
source ยท pub unsafe extern "C" fn uart_set_tx_idle_num(
uart_num: i32,
idle_num: u16,
) -> i32
Expand description
@brief Set UART idle interval after tx FIFO is empty
@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param idle_num idle interval after tx FIFO is empty(unit: the time it takes to send one bit under current baudrate)
@return - ESP_OK Success - ESP_FAIL Parameter error