Function esp_idf_svc::sys::uart_enable_tx_intr
source ยท pub unsafe extern "C" fn uart_enable_tx_intr(
uart_num: u32,
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_HW_FIFO_LEN(uart_num)
@return - ESP_OK Success - ESP_FAIL Parameter error