Remove a specific interrupt handler for the given irq number on the executing core This method may be used to remove an irq set via either irq_set_exclusive_handler() or irq_add_shared_handler(), and will assert if the handler is not currently installed for the given IRQ number
The handler to removed. \see irq_set_exclusive_handler() \see irq_add_shared_handler()
Notes
This method may *only* be called from user (non IRQ code) or from within the handler itself (i.e. an IRQ handler may remove itself as part of handling the IRQ). Attempts to call from another IRQ will cause an assertion.
Examples
irq_remove_handler() is referenced by 2 libraries and example projects: