Function esp_idf_svc::sys::esp_intr_enable

source ยท
pub unsafe extern "C" fn esp_intr_enable(
    handle: *mut intr_handle_data_t,
) -> i32
Expand description

@brief Enable the interrupt associated with the handle

@note For local interrupts (ESP_INTERNAL_* sources), this function has to be called on the CPU the interrupt is allocated on. Other interrupts have no such restriction.

@param handle The handle, as obtained by esp_intr_alloc or esp_intr_alloc_intrstatus

@return ESP_ERR_INVALID_ARG if the combination of arguments is invalid. ESP_OK otherwise