5 LSB address
code 00000
5 LSB address
code 11111
Interrupt enable
Interrupt condition
Interrupt condition
Interrupt enable
Interrupt
Flag 0
Interrupt
Flag 31
N2HET Functional Description
822
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
High-End Timer (N2HET) Module
The instructions capable of generating interrupts are listed in
.
Figure 20-27. Interrupt Functionality on Instruction Level
Each interrupt source is associated with a priority level (level 1 or level 2). When multiple interrupts with
the same priority level occur during the same loop resolution the lowest flag bit is serviced first.
In addition to the interrupts generated by the instructions the N2HET can generate three additional
exceptions:
•
Program overflow
•
APCNT underflow (see
•
APCNT overflow (see
)
20.2.8 Hardware Priority Scheme
If two or more software interrupts are pending on the same priority level, the offset value will show the one
with the highest priority. The interrupt with the highest priority is the one with the lower offset value. This
scheme is hard-wired in the offset encoder. See