Function interrupts::register_msi_interrupt
source · pub fn register_msi_interrupt(
func: InterruptHandler
) -> Result<u8, &'static str>Expand description
Allocates and returns an unused interrupt number and sets its handler function.
Returns an error if there are no unused interrupt number, which is highly unlikely.
Arguments
func: the handler for the assigned interrupt number.