Function esp_idf_hal::sys::ets_isr_attach
source ยท pub unsafe extern "C" fn ets_isr_attach(
i: i32,
func: Option<unsafe extern "C" fn(_: *mut c_void)>,
arg: *mut c_void,
)
Expand description
@brief Attach a interrupt handler to a CPU interrupt number. This function equals to _xtos_set_interrupt_handler_arg(i, func, arg). In FreeRTOS, please call FreeRTOS apis, never call this api.
@param int i : CPU interrupt number.
@param ets_isr_t func : Interrupt handler.
@param void *arg : argument of the handler.
@return None