TS87C51RD2 ATMEL Corporation, TS87C51RD2 Datasheet - Page 28

no-image

TS87C51RD2

Manufacturer Part Number
TS87C51RD2
Description
(TS8xC51Rx2) High Performance 8-bit Microcontroller
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TS87C51RD2-LCB
Manufacturer:
TEMIC
Quantity:
68
Part Number:
TS87C51RD2-LCB
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS87C51RD2-LCE
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS87C51RD2-LCL
Manufacturer:
Atmel
Quantity:
10 000
Company:
Part Number:
TS87C51RD2-LCL
Quantity:
304
Part Number:
TS87C51RD2-LCMD
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS87C51RD2-LIB
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS87C51RD2-LIE
Manufacturer:
ATMEL
Quantity:
2 151
Part Number:
TS87C51RD2-MCA
Manufacturer:
TEMIC
Quantity:
124
Part Number:
TS87C51RD2-MCA
Manufacturer:
TEMIC
Quantity:
126
Part Number:
TS87C51RD2-MCB
Manufacturer:
INTEL
Quantity:
20 000
Part Number:
TS87C51RD2-MIA
Manufacturer:
TEMIC
Quantity:
31
28
AT/TS8xC51Rx2
Table 6-7 shows the CCAPMn settings for the various PCA functions.
.
Table 6-6.
1.
Table 6-7.
-
ECOMn
CAPPn
CAPNn
MATn
TOGn
PWMn
ECCFn
CCAPMn Address
ECOMn
• The last bit in the register ECOM (CCAPMn.6) when set enables the comparator function.
X
X
X
0
1
1
1
1
Symbol
n = 0 - 4
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.
CAPPn
0
1
0
1
0
0
0
0
CCAPMn: PCA Modules Compare/Capture Control Registers
PCA Module Modes (CCAPMn Registers)
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
CAPNn
Reset value
0
0
1
1
0
0
0
0
MATn
0
0
0
0
1
1
0
1
X
-
TOGn
X
0
0
0
0
0
1
0
ECOMn CAPPn
0
PWMm
0
0
0
0
0
0
1
0
(1)
0
ECCFn
X
X
X
X
X
X
0
0
CAPNn
0
Module Function
on CEXn
CEXn
No Operation
16-bit capture by a positive-edge trigger
16-bit capture by a negative trigger on
16-bit capture by a transition on CEXn
16-bit Software Timer / Compare mode.
16-bit High Speed Output
8-bit PWM
Watchdog Timer (module 4 only)
MATn
0
TOGn
0
PWMm
4188E–8051–08/06
0
ECCFn
0

Related parts for TS87C51RD2