AT89C51IC2 Atmel Corporation, AT89C51IC2 Datasheet - Page 58

no-image

AT89C51IC2

Manufacturer Part Number
AT89C51IC2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C51IC2

Flash (kbytes)
32 Kbytes
Max. Operating Frequency
60 MHz
Cpu
8051-12C
Max I/o Pins
34
Spi
1
Twi (i2c)
1
Uart
1
Sram (kbytes)
1.25
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 5.5
Timers
4
Isp
UART
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C51IC2-IL
Manufacturer:
ATMEL
Quantity:
1 319
Part Number:
AT89C51IC2-RLRIL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51IC2-RLRIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51IC2-RLRUL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51IC2-RLRUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51IC2-RLTIL
Manufacturer:
ATMEL
Quantity:
640
Part Number:
AT89C51IC2-RLTIL
Manufacturer:
ATMEL
Quantity:
4 116
Part Number:
AT89C51IC2-UL
Manufacturer:
XR
Quantity:
2
Part Number:
AT89C51IC2-UM
Manufacturer:
Atmel
Quantity:
5
Interrupt System
Figure 22. Interrupt Control System
58
AT89C51IC2
EXF2
KBD IT
TWI IT
SPI IT
INT0
INT1
PCA IT
TF0
TF1
TF2
RI
TI
Individual Enable
The AT89C51IC2 has a total of 10 interrupt vectors: two external interrupts (INT0 and
INT1), three timer interrupts (timers 0, 1 and 2), the serial port interrupt, SPI interrupt,
Two Wire Interface (I2C) interrupt, Keyboard interrupt and the PCA global interrupt.
These interrupts are shown in Figure 22.
Each of the interrupt sources can be individually enabled or disabled by setting or clear-
ing a bit in the Interrupt Enable register (Table 51 and Table 49). 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 lev-
els by setting or clearing a bit in the Interrupt Priority register (Table 52) and in the
Interrupt Priority High register (Table 50 and Table 51) shows the bit values and priority
levels associated with each combination.
IE0
IE1
IPH, IPL
Global Disable
3
0
3
0
3
0
3
0
3
0
3
0
3
0
3
0
3
0
3
0
High priority
interrupt
Interrupt
polling
sequence, decreasing from
high to low priority
Low priority
interrupt
4301D–8051–02/08

Related parts for AT89C51IC2