Function esp_idf_hal::sys::uart_enable_rx_intr
source ยท pub unsafe extern "C" fn uart_enable_rx_intr(uart_num: i32) -> i32
Expand description
@brief Enable UART RX interrupt (RX_FULL & RX_TIMEOUT INTERRUPT)
@param uart_num UART port number, the max port number is (UART_NUM_MAX -1).
@return - ESP_OK Success - ESP_FAIL Parameter error