ADuCM320 Hardware Reference Manual
UG-498
Rev. C | Page 51 of 196
To set the priority of a peripheral interrupt, the IPRx bits can be set appropriately or, alternatively, the NVIC_SetPriority() function can be
called. For example, NVIC_SetPriority(TIMER0_IRQn, 2) configures the GP Timer 0 interrupt with a priority level of 2.
Table 55 lists the registers to enable and disable relevant interrupts and set the priority levels. The registers in Table 55 are defined in the
CMSIS core_cm3.h file that is shipped with tools from third party vendors.