T89C51RD2-3CSCL ATMEL [ATMEL Corporation], T89C51RD2-3CSCL Datasheet - Page 27
T89C51RD2-3CSCL
Manufacturer Part Number
T89C51RD2-3CSCL
Description
0 to 40 MHz Flash Programmable 8-bit Microcontroller
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
1.T89C51RD2-3CSCL.pdf
(104 pages)
- Current page: 27 of 104
- Download datasheet (2Mb)
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
Related parts for T89C51RD2-3CSCL
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
0 to 40MHz Flash Programmable 8-bit Microcontroller
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
0 To 40 Mhz Flash Programmable 8-bit Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
0 to 40MHz Flash Programmable 8-bit Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Atmel CryptoMemory
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
Atmel CryptoMemory
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
Atmel CryptoMemory, 16Kbit
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet: