Table, Table 28) – Rainbow Electronics T89C51CC01 User Manual

Page 65

Advertising
background image

65

T89C51CC01

Rev. D – 17-Dec-01

Table 27. T2MOD Register

T2MOD (S:C9h)
Timer 2 Mode Control Register

Reset Value = XXXX XX00b
Not bit addressable

Table 28. 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.

Advertising