AT80C51RD2-3CSIM Atmel, AT80C51RD2-3CSIM Datasheet - Page 30

IC MCU 8051 5V SPI 20MHZ 40-DIP

AT80C51RD2-3CSIM

Manufacturer Part Number
AT80C51RD2-3CSIM
Description
IC MCU 8051 5V SPI 20MHZ 40-DIP
Manufacturer
Atmel
Series
80Cr
Datasheet

Specifications of AT80C51RD2-3CSIM

Core Processor
8051
Core Size
8-Bit
Speed
40MHz
Connectivity
UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
32
Program Memory Type
ROMless
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°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
-
10.1
Figure 10-3. PCA Capture Mode
10.2
30
PCA Capture Mode
16-bit Software Timer/ Compare Mode
AT80C51RD2
Cex.n
To use one of the PCA modules in the capture mode either one or both of the CCAPM bits
CAPN and CAPP for that module must be set. The external CEX input for the module (on port 1)
is sampled for a transition. When a valid transition occurs the PCA hardware loads the value of
the PCA counter registers (CH and CL) into the module's capture registers (CCAPnL and CCA-
PnH). If the CCFn bit for the module in the CCON SFR and the ECCFn bit in the CCAPMn SFR
are set then an interrupt will be generated (see Figure 10-3).
The PCA modules can be used as software timers by setting both the ECOM and MAT bits in
the modules CCAPMn register. The PCA timer will be compared to the module's capture regis-
ters and when a match occurs an interrupt will occur if the CCFn (CCON SFR) and the ECCFn
(CCAPMn SFR) bits for the module are both set (see Figure 10-4).
CF
ECOMn
CR
CAPPn
CAPNn MATn TOGn PWMn ECCFn
CCF4 CCF3 CCF2 CCF1 CCF0
Capture
CCAPMn, n= 0 to 4
0xDA to 0xDE
CCON
0xD8
CCAPnH
PCA Counter/Timer
CH
CCAPnL
CL
PCA IT
4113D–8051–01/09

Related parts for AT80C51RD2-3CSIM