Interrupt Controller (NVIC)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_INTERRUPTTABLE is an array of pointers located at ROM_APITABLE[14].
ROM_IntPendSet is a function pointer located at ROM_INTERRUPTTABLE[8].
Parameters:
ui32Interrupt specifies the interrupt to be pended.
Description:
The specified interrupt is pended in the interrupt controller. This will cause the interrupt con-
troller to execute the corresponding interrupt handler at the next available time, based on the
current interrupt state priorities. For example, if called by a higher priority interrupt handler,
the specified interrupt handler will not be called until after the current interrupt handler has
completed execution. The interrupt must have been enabled for it to be called.
Returns:
None.
13.2.1.8 ROM_IntPriorityGet
Gets the priority of an interrupt.
Prototype:
int32_t
ROM_IntPriorityGet(uint32_t ui32Interrupt)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_INTERRUPTTABLE is an array of pointers located at ROM_APITABLE[14].
ROM_IntPriorityGet is a function pointer located at ROM_INTERRUPTTABLE[7].
Parameters:
ui32Interrupt specifies the interrupt in question.
Description:
This function gets the priority of an interrupt. See ROM_IntPrioritySet() for a definition of the
priority value.
Returns:
Returns the interrupt priority, or -1 if an invalid interrupt was specified.
13.2.1.9 ROM_IntPriorityGroupingGet
Gets the priority grouping of the interrupt controller.
Prototype:
uint32_t
ROM_IntPriorityGroupingGet(void)
April 8, 2013 141