Function esp_idf_hal::sys::esp_intr_reserve
source ยท pub unsafe extern "C" fn esp_intr_reserve(intno: i32, cpu: i32) -> i32
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