T89C51RD2-SLSIM Atmel, T89C51RD2-SLSIM Datasheet - Page 27
![IC MICRO CTRL 64K FLASH 44PLCC](/photos/6/70/67043/453-44-plcc_sml.jpg)
T89C51RD2-SLSIM
Manufacturer Part Number
T89C51RD2-SLSIM
Description
IC MICRO CTRL 64K FLASH 44PLCC
Manufacturer
Atmel
Series
89Cr
Datasheet
1.T89C51RD2-SMSIM.pdf
(104 pages)
Specifications of T89C51RD2-SLSIM
Core Processor
8051
Core Size
8-Bit
Speed
40MHz
Connectivity
SPI, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
32
Program Memory Size
64KB (64K x 8)
Program Memory Type
FLASH
Eeprom Size
2K x 8
Ram Size
1.25K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-PLCC
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
4243G–8051–05/03
•
Table 13 shows the CCAPMn settings for the various PCA functions.
.
Table 12. CCAPMn: PCA Modules Compare/Capture Control Registers
1.
Table 13. PCA Module Modes (CCAPMn Registers)
-
ECOMn
CAPPn
CAPNn
MATn
TOGn
PWMn
ECCFn
ECOMn CAPPn CAPNn
CCAPMn
n = 0 - 4
Address
Symbol
0
X
X
X
1
1
1
The last bit in the register ECOM (CCAPMn.6) when set enables the comparator
function.
User software should not write 1s to reserved bits. These bits may be used in future 8051
family products to invoke new features. In that case, the reset or inactive value of the
new bit will be 0, and its active value will be 1. The value read from a reserved bit is
indeterminate.
0
1
0
1
0
0
0
Function
Not implemented, reserved for future use.
Enable Comparator. ECOMn = 1 enables the comparator function.
Capture Positive, CAPPn = 1 enables positive edge capture.
Capture Negative, CAPNn = 1 enables 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. PWMn = 1 enables the CEXn pin to be used as a pulse
width modulated output.
Enable CCF interrupt. Enables compare/capture flag CCFn in the CCON register to
generate an interrupt.
CCAPM0=0DAH
CCAPM1=0DBH
CCAPM2=0DCH
CCAPM3=0DDH
CCAPM4=0DEH
Reset value
0
0
1
1
0
0
0
MATn
0
0
0
0
1
1
0
X
-
TOGn
0
0
0
0
0
1
0
ECO
Mn
0
PWMm
0
0
0
0
0
0
1
CAPP
n
0
(1)
ECCFn
X
X
X
X
X
0
0
CAPN
n
0
trigger on CEXn
on CEXn
CEXn
mode.
No Operation
16-bit capture by a positive-edge
16-bit capture by a negative trigger
16-bit capture by a transition on
16-bit Software Timer / Compare
16-bit High Speed Output
8-bit PWM
MATn
0
Module Function
T89C51RD2
TOGn
0
PWM
m
0
ECCF
n
0
27