TS80C51RA2-VCA Atmel, TS80C51RA2-VCA Datasheet - Page 28

IC MCU 8BIT 256BYTE 40MHZ 40-DIP

TS80C51RA2-VCA

Manufacturer Part Number
TS80C51RA2-VCA
Description
IC MCU 8BIT 256BYTE 40MHZ 40-DIP
Manufacturer
Atmel
Series
80Cr
Datasheets

Specifications of TS80C51RA2-VCA

Core Processor
8051
Core Size
8-Bit
Speed
40/30MHz
Connectivity
UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
32
Program Memory Type
ROMless
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Program Memory Size
-
Data Converters
-
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.
0
X
X
X
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.
CCAPM2=0DCH
CCAPM3=0DDH
CCAPM0=0DAH
CCAPM1=0DBH
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
0
X
X
X
X
X
0
X
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
4188F–8051–01/08
0
ECCFn
0

Related parts for TS80C51RA2-VCA