AT89C51RC2-RLTIL Atmel, AT89C51RC2-RLTIL Datasheet - Page 40

no-image

AT89C51RC2-RLTIL

Manufacturer Part Number
AT89C51RC2-RLTIL
Description
8-bit Microcontrollers - MCU 80C31 w/4k
Manufacturer
Atmel
Datasheet

Specifications of AT89C51RC2-RLTIL

Product Category
8-bit Microcontrollers - MCU
Core
8051
Data Bus Width
8 bit
Maximum Clock Frequency
60 MHz
Program Memory Size
32 KB
Data Ram Size
1280 B
On-chip Adc
No
Operating Supply Voltage
2.7 V to 5.5 V
Package / Case
VQFP-44
Mounting Style
SMD/SMT
Interface Type
SPI, UART
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
32
Number Of Timers
3
Program Memory Type
Flash
Supply Voltage - Max
3.6 V
Supply Voltage - Min
2.7 V

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C51RC2-RLTIL
Manufacturer:
ATMEL
Quantity:
5 000
16-bit Software Timer/
Compare Mode
Figure 14. PCA Compare Mode and PCA Watchdog Timer
40
CCAPnH
Write to
AT89C51RB2/RC2
1
CCAPnL
Write to
0
Reset
Enable
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 14).
Note:
Before enabling ECOM bit, CCAPnL and CCAPnH should be set with a non zero value,
otherwise an unwanted match could occur. Writing to CCAPnH will set the ECOM bit.
Once ECOM set, writing CCAPnL will clear ECOM so that an unwanted match doesn’t
occur while modifying the compare value. Writing to CCAPnH will set ECOM. For this
reason, user software should write CCAPnL first, and then CCAPnH. Of course, the
ECOM bit can still be controlled by accessing to CCAPMn register.
CCAPnH
CH
PCA Counter/Timer
16 bit Comparator
1. Only for Module 4
CIDL
CF
ECOMn
WDTE
CCAPnL
CR
CL
CAPPn
Match
CAPNn MATn TOGn PWMn ECCFn
CCF4
CCF3
CCF2 CCF1 CCF0
CPS1 CPS0
ECF
CCON
0xD8
CCAPMn, n = 0 to 4
0xDA to 0xDE
CMOD
0xD9
PCA IT
RESET
4180E–8051–10/06
(1)

Related parts for AT89C51RC2-RLTIL