AT89C51ED2 Atmel Corporation, AT89C51ED2 Datasheet - Page 40
AT89C51ED2
Manufacturer Part Number
AT89C51ED2
Description
Manufacturer
Atmel Corporation
Specifications of AT89C51ED2
Flash (kbytes)
64 Kbytes
Max. Operating Frequency
60 MHz
Cpu
8051-12C
Max I/o Pins
32
Spi
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
Part Number:
AT89C51ED2
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
AT89C51ED2-3CSIM
Manufacturer:
ATMEL
Quantity:
77 760
Company:
Part Number:
AT89C51ED2-IM
Manufacturer:
ATMEL
Quantity:
116
Company:
Part Number:
AT89C51ED2-IM(QFP-64)
Manufacturer:
ATMEL
Quantity:
458
Company:
Part Number:
AT89C51ED2-RDTUM
Manufacturer:
ATMEL
Quantity:
19 090
Part Number:
AT89C51ED2-RDTUM
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
AT89C51ED2-RLTUM
Manufacturer:
ATMEL
Quantity:
13 400
Part Number:
AT89C51ED2-RLTUM
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
40
AT89C51RD2/ED2
Table 13-3 shows the CCAPMn settings for the various PCA functions.
Table 13-3.
CCAPM0 - PCA Module 0 Compare/Capture Control Register (0DAh)
CCAPM1 - PCA Module 1 Compare/Capture Control Register (0DBh)
CCAPM2 - PCA Module 2 Compare/Capture Control Register (0DCh)
CCAPM3 - PCA Module 3 Compare/Capture Control Register (0DDh)
CCAPM4 - PCA Module 4 Compare/Capture Control Register (0DEh)
Reset Value = X000 0000b
Not bit addressable
Number
Bit
7
7
6
5
4
3
2
1
0
-
Mnemonic
CCAPMn Registers (n = 0-4)
ECOMn
ECOMn
CAPNn
CAPPn
PWMn
MATn
TOGn
CCF0
Bit
6
-
Description
Reserved
The value read from this bit is indeterminate. Do not set this bit.
Enable Comparator
Cleared to disable the comparator function.
Set to enable the comparator function.
Capture Positive
Cleared to disable positive edge capture.
Set to enable positive edge capture.
Capture Negative
Cleared to disable negative edge capture.
Set to enable negative edge capture.
Match
When MATn = 1, a match of the PCA counter with this module's compare/capture
register causes the CCFn bit in CCON to be set, flagging an interrupt.
Toggle
When TOGn = 1, a match of the PCA counter with this module's compare/capture
register causes the CEXn pin to toggle.
Pulse Width Modulation Mode
Cleared to disable the CEXn pin to be used as a pulse width modulated output.
Set to enable the CEXn pin to be used as a pulse width modulated output.
Enable CCF interrupt
Cleared to disable compare/capture flag CCFn in the CCON register to generate an
interrupt.
Set to enable compare/capture flag CCFn in the CCON register to generate an interrupt.
CAPPn
5
CAPNn
4
MATn
3
TOGn
2
PWMn
1
4235K–8051–05/08
ECCFn
0