T89C51RD2-SLSIM Atmel, T89C51RD2-SLSIM Datasheet - Page 29

IC MICRO CTRL 64K FLASH 44PLCC

T89C51RD2-SLSIM

Manufacturer Part Number
T89C51RD2-SLSIM
Description
IC MICRO CTRL 64K FLASH 44PLCC
Manufacturer
Atmel
Series
89Cr
Datasheet

Specifications of T89C51RD2-SLSIM

Core Processor
8051
Core Size
8-Bit
Speed
40MHz
Connectivity
SPI, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
32
Program Memory Size
64KB (64K x 8)
Program Memory Type
FLASH
Eeprom Size
2K x 8
Ram Size
1.25K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-PLCC
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
PCA Capture Mode
Figure 9. PCA Capture Mode
16-bit Software Timer/
Compare Mode
4243G–8051–05/03
Cex.n
CF
ECOMn
CR
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 mod-
ule (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 CCAPnH). 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
(Refer to Figure 9).
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 registers 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).
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
T89C51RD2
PCA IT
29

Related parts for T89C51RD2-SLSIM