Interrupt::SetPriority()

The interrupt architecture supports the concept of adjustable interrupt priorities.

The Interrupt::SetPriority() function can be used to implement adjustable interrupt priorities.

The function takes the Interrupt ID to identify the interrupt source, and a TInt value specifying the priority value. The meaning of the priority value is hardware and implementation dependent and is defined by the port.

At its simplest, the function could be used to decide whether interrupts generate an IRQ or FIQ at the ARM. For hardware that supports interrupt priority in hardware, priorities can be modified through this function. If priority adjustment is not supported, or will not be implemented, Interrupt::SetPriority() should just return KErrNotSupported.