Datasheet

69
A/T89C51CC01
4129N–CAN–03/08
Table 47. T2MOD Register
T2MOD (S:C9h)
Timer 2 Mode Control Register
Reset Value = XXXX XX00b
Not bit addressable
Table 48. TH2 Register
TH2 (S:CDh)
Timer 2 High Byte Register
Reset Value = 0000 0000b
Not bit addressable
7 6 5 4 3 2 1 0
- - - - - - T2OE DCEN
Bit
Number
Bit
Mnemonic Description
7 -
Reserved
The value read from this bit is indeterminate. Do not set this bit.
6 -
Reserved
The value read from this bit is indeterminate. Do not set this bit.
5 -
Reserved
The value read from this bit is indeterminate. Do not set this bit.
4 -
Reserved
The value read from this bit is indeterminate. Do not set this bit.
3 -
Reserved
The value read from this bit is indeterminate. Do not set this bit.
2 -
Reserved
The value read from this bit is indeterminate. Do not set this bit.
1 T2OE
Timer 2 Output Enable bit
Clear to program P1.0/T2 as clock input or I/O port.
Set to program P1.0/T2 as clock output.
0 DCEN
Down Counter Enable bit
Clear to disable timer 2 as up/down counter.
Set to enable timer 2 as up/down counter.
7 6 5 4 3 2 1 0
- - - - - - - -
Bit
Number
Bit
Mnemonic Description
7-0 High Byte of Timer 2.