TS80C51RA2 Atmel Corporation, TS80C51RA2 Datasheet - Page 26

no-image

TS80C51RA2

Manufacturer Part Number
TS80C51RA2
Description
High Performance 8-bit Microcontroller
Manufacturer
Atmel Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TS80C51RA2-LCB
Manufacturer:
TEMIC
Quantity:
114
Part Number:
TS80C51RA2-LCB
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS80C51RA2-LCE
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS80C51RA2-LIB
Manufacturer:
TEMIC
Quantity:
5
Part Number:
TS80C51RA2-LIB
Quantity:
18
Part Number:
TS80C51RA2-LIB
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS80C51RA2-MCB
Manufacturer:
CY
Quantity:
1 590
Part Number:
TS80C51RA2-MCB
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS80C51RA2-MCE
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS80C51RA2-VCB
Manufacturer:
TEMIC
Quantity:
19
1.
26
-
ECOMn
CAPPn
CAPNn
MATn
TOGn
PWMn
ECCFn
CCAPMn Address
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 fea-
tures. 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.
TS8xC51Rx2
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.
CCAPM2=0DCH
CCAPM3=0DDH
CCAPM0=0DAH
CCAPM1=0DBH
CCAPM4=0DEH
Reset value
Table 11 shows the CCAPMn settings for the various PCA functions.
.
Table 10. CCAPMn: PCA Modules Compare/Capture Control Registers
The last bit in the register ECOM (CCAPMn.6) when set enables the comparator
function.
X
-
(1)
ECOMn
0
CAPPn
0
CAPNn
0
MATn
0
TOGn
0
PWMm
0
4188A–8051–10/02
ECCFn
0

Related parts for TS80C51RA2