AT89C51ED2 Atmel Corporation, AT89C51ED2 Datasheet - Page 39

no-image

AT89C51ED2

Manufacturer Part Number
AT89C51ED2
Description
Manufacturer
Atmel Corporation
Datasheets

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:
ALTERA
0
Part Number:
AT89C51ED2
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89C51ED2-3CSIM
Manufacturer:
ATMEL
Quantity:
77 760
Part Number:
AT89C51ED2-3CSIM
Manufacturer:
SSG
Quantity:
100
Part Number:
AT89C51ED2-IM
Manufacturer:
ATMEL
Quantity:
116
Part Number:
AT89C51ED2-IM
Manufacturer:
S
Quantity:
20
Part Number:
AT89C51ED2-IM(QFP-64)
Manufacturer:
ATMEL
Quantity:
458
Part Number:
AT89C51ED2-RDRIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51ED2-RDRUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51ED2-RDTUM
Manufacturer:
ATMEL
Quantity:
19 090
Part Number:
AT89C51ED2-RDTUM
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
AT89C51ED2-RLTUM
Manufacturer:
ATMEL
Quantity:
13 400
Part Number:
AT89C51ED2-RLTUM
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Figure 13-2. PCA Interrupt System
4235K–8051–05/08
PCA Timer/Counter
Module 0
Module 1
Module 2
Module 3
Module 4
CMOD.0
PCA Modules: each one of the five compare/capture modules has six possible functions. It can
perform:
In addition, Module 4 can be used as a Watchdog Timer.
Each module in the PCA has a special function register associated with it. These registers are:
CCAPM0 for Module 0, CCAPM1 for Module 1, etc. (See Table 13-3). The registers contain the
bits that control the mode that each module will operate in.
• 16-bit Capture, positive-edge triggered
• 16-bit Capture, negative-edge triggered
• 16-bit Capture, both positive and negative-edge triggered
• 16-bit Software Timer
• 16-bit High Speed Output
• 8-bit Pulse Width Modulator
• The ECCF bit (CCAPMn.0 where n = 0, 1, 2, 3, or 4 depending on the module) enables the
• PWM (CCAPMn.1) enables the pulse width modulation mode.
• The TOG bit (CCAPMn.2) when set causes the CEX output associated with the module to
• The match bit MAT (CCAPMn.3) when set will cause the CCFn bit in the CCON register to be
• The next two bits CAPN (CCAPMn.4) and CAPP (CCAPMn.5) determine the edge that a
• The last bit in the register ECOM (CCAPMn.6) when set enables the comparator function.
CCF flag in the CCON SFR to generate an interrupt when a match or compare occurs in the
associated module.
toggle when there is a match between the PCA counter and the modules capture/compare
register.
set when there is a match between the PCA counter and the modules capture/compare
register.
capture input will be active on. The CAPN bit enables the negative edge, and the CAPP bit
enables the positive edge. If both bits are set both edges will be enabled and a capture will
occur for either transition.
ECF
CF
ECCFn CCAPMn.0
CR
CCF4 CCF3 CCF2 CCF1 CCF0
IEN0.6
EC
IEN0.7
EA
AT89C51RD2/ED2
Priority Decoder
CCON
0xD8
To Interrupt
39

Related parts for AT89C51ED2