pub unsafe extern "C" fn uart_enable_rx_intr(
    uart_num: uart_port_t
) -> esp_err_t
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