esp_cpu_intr_has_handler() function
Check if a particular interrupt already has a handler function Check if a particular interrupt on the current CPU already has a handler function assigned.
Arguments
intr_num
Interrupt number (from 0 to 31)
Return value
True if the interrupt has a handler function, false otherwise.
Notes
This function simply checks if the IVT of the current CPU already has a handler assigned.
![]()
} else if (esp_cpu_intr_has_handler(x)) {
esp_cpu_intr_has_handler() is called by 1 function and calls 3 functions:
![]()
esp_cpu_intr_has_handler()
esp_cpu_intr_has_handler():
![]()
esp_cpu_intr_has_handler()