TS80C51RA2-VCA Atmel, TS80C51RA2-VCA Datasheet - Page 27

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
-
Figure 6-5.
4188F–8051–01/08
PCA Timer/Counter
PCA Interrupt System
Module 0
Module 1
Module 2
Module 3
Module 4
CMOD.0
PCA Modules: each one of the five compare/capture modules has six possible functions. It can
perform:
In addition, module 4 can be used as a Watchdog Timer.
Each module in the PCA has a special function register associated with it. These registers are:
CCAPM0 for module 0, CCAPM1 for module 1, etc. (See Table 6-6). The registers contain the
bits that control the mode that each module will operate in.
• 16-bit Capture, positive-edge triggered,
• 16-bit Capture, negative-edge triggered,
• 16-bit Capture, both positive and negative-edge triggered,
• 16-bit Software Timer,
• 16-bit High Speed Output,
• 8-bit Pulse Width Modulator.
• The ECCF bit (CCAPMn.0 where n=0, 1, 2, 3, or 4 depending on the module) enables the
• PWM (CCAPMn.1) enables the pulse width modulation mode.
• The TOG bit (CCAPMn.2) when set causes the CEX output associated with the module to
• The match bit MAT (CCAPMn.3) when set will cause the CCFn bit in the CCON register to be
• The next two bits CAPN (CCAPMn.4) and CAPP (CCAPMn.5) determine the edge that a
CCF flag in the CCON SFR to generate an interrupt when a match or compare occurs in the
associated module.
toggle when there is a match between the PCA counter and the module's capture/compare
register.
set when there is a match between the PCA counter and the module's capture/compare
register.
capture input will be active on. The CAPN bit enables the negative edge, and the CAPP bit
enables the positive edge. If both bits are set both edges will be enabled and a capture will
occur for either transition.
ECF
CF
ECCFn CCAPMn.0
CR
CCF4 CCF3 CCF2 CCF1 CCF0
IE.6
EC
IE.7
EA
AT/TS8xC51Rx2
priority decoder
CCON
0xD8
To Interrupt
27

Related parts for TS80C51RA2-VCA