pub fn register_handler(vector: usize, handler: IrqHandler) -> bool
Available on crate feature irq only.
Expand description

Registers an IRQ handler for the given IRQ.

It also enables the IRQ if the registration succeeds. It returns false if the registration failed.