Function esp_idf_sys::esp_intr_mark_shared
source ยท pub unsafe extern "C" fn esp_intr_mark_shared(
intno: c_int,
cpu: c_int,
is_in_iram: bool,
) -> esp_err_t
Expand description
@brief Mark an interrupt as a shared interrupt
This will mark a certain interrupt on the specified CPU as an interrupt that can be used to hook shared interrupt handlers to.
@param intno The number of the interrupt (0-31) @param cpu CPU on which the interrupt should be marked as shared (0 or 1) @param is_in_iram Shared interrupt is for handlers that reside in IRAM and the int can be left enabled while the flash cache is disabled.
@return ESP_ERR_INVALID_ARG if cpu or intno is invalid ESP_OK otherwise