TS80C51RA2 Atmel Corporation, TS80C51RA2 Datasheet - Page 23
TS80C51RA2
Manufacturer Part Number
TS80C51RA2
Description
High Performance 8-bit Microcontroller
Manufacturer
Atmel Corporation
Datasheet
1.TS80C51RA2.pdf
(83 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
TS80C51RA2-LCB
Manufacturer:
TEMIC
Quantity:
114
Company:
Part Number:
TS80C51RA2-LIB
Manufacturer:
TEMIC
Quantity:
5
Company:
Part Number:
TS80C51RA2-MCB
Manufacturer:
CY
Quantity:
1 590
Company:
Part Number:
TS80C51RA2-VCB
Manufacturer:
TEMIC
Quantity:
19
Figure 7. PCA Timer/Counter
4188A–8051–10/02
Idle
Fosc /12
Fosc / 4
T0 OVF
P1.2
Table 8. CMOD: PCA Counter Mode Register
1.
2.
CIDL
WDTE
-
CPS1
CPS0
ECF
CIDL
Symbol
CF
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.
f
osc
Address 0D9H
WDTE
CR
= oscillator frequency
CMOD
Function
Counter Idle control: CIDL = 0 programs the PCA Counter to continue functioning during
idle Mode. CIDL = 1 programs it to be gated off during idle.
Watchdog Timer Enable: WDTE = 0 disables Watchdog Timer function on PCA Module 4.
WDTE = 1 enables it.
Not implemented, reserved for future use.
PCA Count Pulse Select bit 1.
PCA Count Pulse Select bit 0.
PCA Enable Counter Overflow interrupt: ECF = 1 enables CF bit in CCON to generate an
interrupt. ECF = 0 disables that function of CF.
CPS
1
0
0
1
1
Reset value
CCF4 CCF3 CCF2 CCF1 CCF0
CPS
0
0
1
0
1
Selected PCA input.
Internal clock f
Internal clock f
Timer 0 Overflow
External clock at ECI/P1.2 pin (max rate = f
CIDL
CPS1 CPS0
0
16 bit up/down counter
CH
WDTE
osc
osc
0
/12 ( Or f
/4 ( Or f
(2)
ECF
osc
-
X
(1)
CL
osc
/2 in X2 Mode).
/6 in X2 Mode).
CMOD
0xD9
CCON
0xD8
-
X
overflow
To PCA
modules
-
X
osc
TS8xC51Rx2
/ 8)
CPS1
0
It
CPS0
0
ECF
0
23