pub unsafe extern "C" fn uart_enable_tx_intr(
    uart_num: i32,
    enable: i32,
    thresh: i32
) -> i32
Expand description

@brief Enable UART TX interrupt (TX_FULL & TX_TIMEOUT INTERRUPT)

@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param enable 1: enable; 0: disable @param thresh Threshold of TX interrupt, 0 ~ UART_FIFO_LEN

@return - ESP_OK Success - ESP_FAIL Parameter error