English
Language : 

AT89C5130A-M_06 Datasheet, PDF (77/186 Pages) ATMEL Corporation – 8-bit Flash Microcontroller with Full Speed USB Device
AT89C5130A/31A-M
Interrupt System
Overview
The AT89C5130A/31A-M has a total of 11 interrupt vectors: two external interrupts
(INT0 and INT1), three timer interrupts (timers 0, 1 and 2), the serial port interrupt, SPI
interrupt, Keyboard interrupt, USB interrupt and the PCA global interrupt. These inter-
rupts are shown in Figure 39.
Figure 39. Interrupt Control System
TCON.0
IT0
INT0
TF0
TCON.2
IT1
INT1
TF1
PCA IT
RI
TI
IPH, IPL
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
TF2
3
EXF2
0
3
KBD IT
0
3
TWI IT
0
3
SPI IT
0
USBINT
3
UEPINT
0
Individual Enable
Global Disable
Low Priority
Interrupt
77
4337G–USB–11/06