pub fn set_priority(irq: IrqNumber, priority: u8) -> KernelResult<()>Expand description
Set the priority of an IRQ line.
The interpretation of priority is architecture-dependent. See
IrqController::set_priority for details.
§Errors
KernelError::NotInitializedif the interrupt controller has not been initialized.KernelError::InvalidArgumentif the priority value is out of range.