unregister_handler

Function unregister_handler 

Source
pub fn unregister_handler(irq_num: usize) -> Option<IrqHandler>
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.