![Infineon Technologies XC2200 Скачать руководство пользователя страница 234](http://html1.mh-extra.com/html/infineon-technologies/xc2200/xc2200_user-manual_2055439234.webp)
XC2200 Derivatives
System Units (Vol. 1 of 2)
Interrupt and Trap Functions
User’s Manual
5-22
V2.1, 2008-08
ICU_X2K, V2.2
The PEC channel number is derived from the respective ILVL (LSB) and GLVL, where
the priority band (ILVL) is selected by the channel’s bitfield PLEV (see
programming a source to priority level 15 (ILVL = 1111
B
) selects the PEC channel group
7 … 4 with PLEV = 00
B
; programming a source to priority level 14 (ILVL = 1110
B
) selects
the PEC channel group 3 … 0 with PLEV = 00
B
; programming a source to priority level
10 (ILVL = 1010
B
) selects the PEC channel group 3 … 0 with PLEV = 10
B
. The actual
PEC channel number is then determined by the group priority (levels 3 … 0, i.e.
GPX = 0).
Simultaneous requests for PEC channels are prioritized according to the PEC channel
number, where channel 0 has lowest and channel 7 has highest priority.
Note: All sources requesting PEC service must be programmed to different PEC
channels. Otherwise, an incorrect PEC channel may be activated.
shows in a few examples which action is executed with a given programming
of an interrupt control register and a PEC channel.
Table 5-5
PEC Channel Assignment
Selected
PEC Channel
Group
Level
Used Interrupt Priorities Depending on Bitfield PLEV
PLEV = 00
B
PLEV = 01
B
PLEV = 10
B
PLEV = 11
B
7
3
15
13
11
9
6
2
5
1
4
0
3
3
14
12
10
8
2
2
1
1
0
0