![Infineon Technologies XC2200 Скачать руководство пользователя страница 244](http://html1.mh-extra.com/html/infineon-technologies/xc2200/xc2200_user-manual_2055439244.webp)
XC2200 Derivatives
System Units (Vol. 1 of 2)
Interrupt and Trap Functions
User’s Manual
5-32
V2.1, 2008-08
ICU_X2K, V2.2
The example shown below establishes 3 interrupt classes which cover 2 or 3 interrupt
priorities, depending on the number of members in a class. A level 6 interrupt disables
all other sources in class 2 by changing the current CPU level to 8, which is the highest
priority (ILVL) in class 2. Class 1 requests or PEC requests are still serviced, in this case.
In this way, the interrupt sources (excluding PEC requests) are assigned to 3 classes of
priority rather than to 7 different levels, as the hardware support would do.
Table 5-9
Software Controlled Interrupt Classes (Example)
ILVL
(Priority)
Group Level
Interpretation
7
6 5 4 3 2 1 0
15
PEC service on up to 8 channels
14
13
12
X X X X X X X X Interrupt Class 1
9 sources on 2 levels
11
X
10
9
8
X X X X X X X X Interrupt Class 2
17 sources on 3 levels
7
X X X X X X X X
6
X
5
X X X X X X X X Interrupt Class 3
9 sources on 2 levels
4
X
3
2
1
0
No service!