Function esp_idf_sys::esp_intr_reserve

source ยท
pub unsafe extern "C" fn esp_intr_reserve(
    intno: c_int,
    cpu: c_int,
) -> esp_err_t
Expand description

@brief Reserve an interrupt to be used outside of this framework

This will mark a certain interrupt on the specified CPU as reserved, not to be allocated for any reason.

@param intno The number of the interrupt (0-31) @param cpu CPU on which the interrupt should be marked as shared (0 or 1)

@return ESP_ERR_INVALID_ARG if cpu or intno is invalid ESP_OK otherwise