![Infineon Technologies XC2200 Скачать руководство пользователя страница 241](http://html1.mh-extra.com/html/infineon-technologies/xc2200/xc2200_user-manual_2055439241.webp)
XC2200 Derivatives
System Units (Vol. 1 of 2)
Interrupt and Trap Functions
User’s Manual
5-29
V2.1, 2008-08
ICU_X2K, V2.2
5.4.5
PEC Interrupt Control
When the selected number of PEC transfers has been executed, the respective PEC
channel is disabled and a standard interrupt service routine is activated instead. Each
PEC channel can either activate the associated channel-specific interrupt node, or
activate its associated PEC subnode request flag in register PECISNC, which then
activates the common node request flag in register EOPIC (see
).
Note: Please refer to the general Interrupt Control Register description for an
explanation of the control fields.
PECISNC
PEC Intr. Sub-Node Ctrl. Reg. SFR (FFD8
H
/EC
H
)
Reset Value: 0000
H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
C7IR C7IE C6IR C6IE C5IR C5IE C4IR C4IE C3IR C3IE C2IR C2IE C1IR C1IE C0IR C0IE
rwh
rw
rwh
rw
rwh
rw
rwh
rw
rwh
rw
rwh
rw
rwh
rw
rwh
rw
Field
Bits
Type
Description
CxIR
(x = 0-7)
2*x+1
rwh
Interrupt Request Flag of PEC Channel x
0
B
No request from PEC channel x pending
1
B
PEC channel x has raised an end-of-PEC
interrupt request
Note: These request flags must be cleared by SW.
CxIE
(x = 0-7)
2*x
rw
Interrupt Enable Control Bit of PEC Channel x
(individually enables/disables a specific source)
0
B
End-of-PEC request of channel x disabled
1
B
End-of-PEC request of channel x enabled
1)
1) It is recommended to clear an interrupt request flag (CxIR) before setting the respective enable flag (CxIE).
Otherwise, former requests still pending cannot trigger a new interrupt request.
EOPIC
End-of-PEC Intr. Ctrl. Reg.
ESFR (F19E
H
/CF
H
)
Reset Value: 0000
H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
-
-
-
-
-
-
-
GPX
EOP
IR
EOP
IE
ILVL
GLVL
-
-
-
-
-
-
-
rw
rwh
rw
rw
rw