TC1784
Interrupt System
User´s Manual
13-20
V1.1, 2011-05
Interrupt, V1.4
for example, interrupt 14 is serviced, it can only be interrupted by requests with a priority
number higher than 17; therefore it will not be interrupted by requests from its own
priority group or requests with lower priority.
In
, the interrupt request with priority number 13 can be said to form an
interrupt priority group with just itself as a member.
Setting ICR.CCPN to the maximum value 255 in each service routine has the same
effect as not re-enabling the interrupt system; all interrupt requests can then be
considered to be in the same group.
Interrupt priority groups demonstrate the power of the TC1784 priority-based interrupt-
ordering system. Thus the flexibility of interrupt priority levels ranges from all interrupts
in one group to each interrupt request building its own group, and to all possible
combinations in between.
Figure 13-4 Interrupt Priority Groups
13.8.4
Splitting Interrupt Service Across Different Priority Levels
Interrupt service can be divided into multiple ISRs that execute at different priority levels.
For example, the beginning stage of interrupt service may be very time-critical, such as
reading a data value within a limited time window after the interrupt request activation.
However, once the time-critical phase is past, there may still be more to do – for instance,
MCA06184
Interrupt Vector Table
PN = 255
PN = 18
PN = 17
PN = 16
PN = 15
PN = 14
PN = 13
PN = 12
PN = 11
PN = 10
Priority
Group 2
Priority
Group 1
Summary of Contents for TC1784
Page 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Page 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Page 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Page 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...