AT89C5115
Interrupt System
Introduction
The T89C5115 has a total of 8 interrupt vectors: two external interrupts (INT0 and
INT1), three timer interrupts (timers 0, 1 and 2), a serial port interrupt, a PCAand an
ADC. These interrupts are shown below.
Figure 42. Interrupt Control System
Highest
00
Priority
01
External
INT0#
Interrupts
10
Interrupt 0
11
EX0
IEN0.0
00
01
10
11
Timer 0
ET0
IEN0.1
00
01
10
11
External
Interrupt 1
INT1#
EX1
IEN0.2
00
01
10
11
Timer 1
PCA
ET1
IEN0.3
00
01
10
11
CEX0:1
EC
IEN0.6
00
01
10
11
TxD
RxD
UART
Timer 2
ADC
ES
IEN0.4
00
01
10
11
ET2
IEN0.5
00
01
10
11
AIN1:0
EA
IEN0.7
EADC
IEN1.1
IPH/L
Lowest Priority Interrupts
Priority Enable
Interrupt Enable
89
4128F–8051–05/06