T89C5115 ATMEL Corporation, T89C5115 Datasheet - Page 84

no-image

T89C5115

Manufacturer Part Number
T89C5115
Description
Low Pin Count 8-bit MCU with A/D Converter and 16-Kbytes of Flash Memory
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
T89C5115-RATIM
Manufacturer:
TI
Quantity:
1 474
Part Number:
T89C5115-RATIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C5115-SISIM
Manufacturer:
Atmel
Quantity:
10 000
Interrupt System
Introduction
Figure 40. Interrupt Control System
84
CEX0:1
AIN1:0
INT0#
INT1#
T89C5115
RxD
TxD
Interrupt 0
Interrupt 1
External
External
Timer 1
Timer 0
Timer 2
UART
PCA
ADC
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.
Each of the interrupt sources can be individually enabled or disabled by setting or clear-
ing a bit in the Interrupt Enable register. This register also contains a global disable bit
which must be cleared to disable all the interrupts at the same time.
Each interrupt source can also be individually programmed to one of four priority levels
by setting or clearing a bit in the Interrupt Priority registers. The Table below shows the
bit values and priority levels associated with each combination.
EADC
Interrupt Enable
IEN0.0
IEN0.1
IEN0.2
IEN0.3
IEN0.6
IEN0.4
IEN0.5
IEN1.1
EX0
EX1
ET0
ET1
ET2
EC
ES
IEN0.7
EA
Priority Enable
IPH/L
00
01
10
11
00
01
10
11
00
01
10
11
00
01
10
11
00
01
10
11
00
01
10
11
00
01
10
11
00
01
10
11
Lowest Priority Interrupts
Highest
Priority
Interrupts
4128A–8051–04/02

Related parts for T89C5115