Function unregister
pub fn unregister(irq: usize) -> Option<fn()>Available on crate feature
irq only.Expand description
Unregisters the IRQ handler for the given IRQ.
It also disables the IRQ if the unregistration succeeds. It returns the
existing handler if it is registered, None otherwise.