English
Language : 

80C31X2 Datasheet, PDF (19/62 Pages) NXP Semiconductors – 80C51 8-bit microcontroller family 4K/8K/16K/32K ROM/OTP 128B/256B RAM low voltage 2.7 to 5.5 V, low power, high speed 30/33 MHz
Philips Semiconductors
80C51 8-bit microcontroller family
4K/8K/16K/32K ROM/OTP, low voltage (2.7 to 5.5 V),
low power, high speed (30/33 MHz)
Product data
P80C3xX2; P80C5xX2;
P87C5xX2
OSC
÷ n*
T2 Pin
Transition
Detector
C/T2 = 0
C/T2 = 1
Control
TL2
(8 bits)
TH2
(8 bits)
TF2
TR2 Capture
RCAP2L
RCAP2H
T2EX Pin
Control
EXEN2
*n = 6 in 6-clock mode; n = 12 in 12-clock mode.
Figure 7. Timer 2 in Capture Mode
EXF2
Timer 2
Interrupt
SU01622
T2MOD Address = 0C9H
Reset Value = XXXX XX00B
Not Bit Addressable
7
6
5
4
3
2
1
0
—
—
—
—
—
—
T2OE DCEN
Symbol Position
Function
—
Not implemented, reserved for future use.*
T2OE
T2MOD.1
Timer 2 Output Enable bit.
DCEN
T2MOD.0
Down Count Enable bit. When set, this allows Timer 2 to be configured as an up/down
counter.
* 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.
Figure 8. Timer 2 Mode (T2MOD) Control Register
SU01519
2003 Jan 24
19