P89C660HFA PHILIPS [NXP Semiconductors], P89C660HFA Datasheet - Page 36
![no-image](/images/no-image-200.jpg)
P89C660HFA
Manufacturer Part Number
P89C660HFA
Description
80C51 8-bit Flash microcontroller family
Manufacturer
PHILIPS [NXP Semiconductors]
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
P89C660HFA
Manufacturer:
NXP
Quantity:
1 832
Company:
Part Number:
P89C660HFA/00,512
Manufacturer:
NXP Semiconductors
Quantity:
10 000
Philips Semiconductors
Table 9. Timer 2 Operating Modes
2002 Oct 28
80C51 8-bit Flash microcontroller family
16KB/32KB/64KB ISP/IAP Flash with 512B/1KB/2KB/8KB RAM
* n = 6 in 6-clock mode, or 12 in 12-clock mode.
*
T2EX Pin
RCLK + TCLK
Symbol
—
T2OE
DCEN
T2 Pin
T2MOD
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.
OSC
X
0
0
1
Not Bit Addressable
Address = 0C9H
Function
Not implemented, reserved for future use.*
Timer 2 Output Enable bit.
Down Count Enable bit. When set, this allows Timer 2 to be configured as an up/down counter depending on the
value of the T2EX pin.
Bit
n*
Transition
Detector
—
7
C/T2 = 0
C/T2 = 1
CP/RL2
X
X
0
1
EXEN2
—
6
Figure 22. Timer 2 Mode (T2MOD) Control Register
Control
Figure 21. Timer 2 in Capture Mode
TR2
—
5
Control
Capture
—
TR2
4
1
1
1
0
36
(8 BITS)
RCAP2L
TL2
—
3
16-bit Auto-reload
16-bit Capture
Baud rate generator
(off)
(8 BITS)
RCAP2H
TH2
P89C660/P89C662/P89C664/
—
2
T2OE
1
EXF2
TF2
MODE
Reset Value = XXXX XX00B
DCEN
0
P89C668
Product data
SU01252
Interrupt
SU01714
Timer 2