English
Language : 

TS80C52X2 Datasheet, PDF (24/54 Pages) TEMIC Semiconductors – 8-bit CMOS Microcontroller 0-60 MHz
TS80C52X2
6.5 Interrupt System
The TS80C52X2 has a total of 6 interrupt vectors: two external interrupts (INT0 and INT1), three timer interrupts
(timers 0, 1 and 2) and the serial port interrupt. These interrupts are shown in Figure 9.
INT0
TF0
INT1
TF1
RI
TI
TF2
EXF2
IPH, IP
3
IE0
0
3
0
3
IE1
0
3
0
3
0
3
0
High priority
interrupt
Interrupt
polling
sequence, decreasing
from high to low priority
Individual Enable
Global Disable
Low priority
interrupt
Figure 9. Interrupt Control System
Each of the interrupt sources can be individually enabled or disabled by setting or clearing a bit in the Interrupt
Enable register (See Table 11.). This register also contains a global disable bit, which must be cleared to disable
all interrupts at once.
Each interrupt source can also be individually programmed to one out of four priority levels by setting or clearing
a bit in the Interrupt Priority register (See Table 12.) and in the Interrupt Priority High register (See Table 13.).
shows the bit values and priority levels associated with each combination.
24
Rev. B - Jan. 25, 1999
Preliminary