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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.