Function esp_idf_svc::sys::uart_intr_config

source ยท
pub unsafe extern "C" fn uart_intr_config(
    uart_num: u32,
    intr_conf: *const uart_intr_config_t,
) -> i32
Expand description

@brief Configure UART interrupts.

@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param intr_conf UART interrupt settings

@return - ESP_OK Success - ESP_FAIL Parameter error