Function register

pub fn register(irq: usize, handler: fn()) -> bool
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.