uart_set_tx_idle_num() function
Set UART idle interval after tx FIFO is empty
Arguments
uart_num
UART port number, the max port number is (UART_NUM_MAX -1).
idle_num
idle interval after tx FIFO is empty(unit: the time it takes to send one bit under current baudrate)
Return value
- ESP_OK Success - ESP_FAIL Parameter error