AT89C51ID2 Atmel Corporation, AT89C51ID2 Datasheet - Page 46
AT89C51ID2
Manufacturer Part Number
AT89C51ID2
Description
Manufacturer
Atmel Corporation
Specifications of AT89C51ID2
Flash (kbytes)
64 Kbytes
Max. Operating Frequency
60 MHz
Cpu
8051-12C
Max I/o Pins
32
Spi
1
Twi (i2c)
1
Uart
1
Sram (kbytes)
2
Eeprom (bytes)
2048
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
Company:
Part Number:
AT89C51ID2-IM
Manufacturer:
ATMEL
Quantity:
3 233
Company:
Part Number:
AT89C51ID2-RLTUM
Manufacturer:
ATMEL
Quantity:
13 937
Company:
Part Number:
AT89C51ID2-SLSIM
Manufacturer:
ATMEL
Quantity:
5 510
Company:
Part Number:
AT89C51ID2-SLSIM
Manufacturer:
TI
Quantity:
5 510
Company:
Part Number:
AT89C51ID2-SLSUM
Manufacturer:
BROADCOM
Quantity:
2 000
4289C–8051–11/05
Table 30. PCA Module Modes (CCAPMn Registers)
There are two additional registers associated with each of the PCA modules. They are
CCAPnH and CCAPnL and these are the registers that store the 16-bit count when a
capture occurs or a compare should occur. When a module is used in the PWM mode
these registers are used to control the duty cycle of the output (See Table 31 &
Table 32).
Table 31. CCAPnH Registers (n = 0-4)
CCAP0H - PCA Module 0 Compare/Capture Control Register High (0FAh)
CCAP1H - PCA Module 1 Compare/Capture Control Register High (0FBh)
CCAP2H - PCA Module 2 Compare/Capture Control Register High (0FCh)
CCAP3H - PCA Module 3 Compare/Capture Control Register High (0FDh)
CCAP4H - PCA Module 4 Compare/Capture Control Register High (0FEh)
Reset Value = 0000 0000b
Not bit addressable
ECOMn
Number
X
X
X
0
1
1
1
1
Bit
7-0
7
-
CAPPn
0
1
0
1
0
0
0
0
Mnemonic Description
Bit
6
-
-
CAPNn
0
0
1
1
0
0
0
0
PCA Module n Compare/Capture Control
CCAPnH Value
MATn
5
-
0
0
0
0
1
1
0
1
TOGn
X
0
0
0
0
0
1
0
4
-
PWMm
0
0
0
0
0
0
1
0
3
-
ECCFn Module Function
X
X
X
X
X
X
0
0
trigger on CEXn
on CEXn
CEXn
mode.
16-bit capture by a negative trigger
No Operation
16-bit capture by a positive-edge
16-bit capture by a transition on
16-bit Software Timer / Compare
16-bit High Speed Output
8-bit PWM
Watchdog Timer (module 4 only)
2
-
AT89C51ID2
1
-
0
-
46