beautypg.com

Table 48), Preliminary – Rainbow Electronics T89C51CC02 User Manual

Page 62

background image

62

Rev.A - May 17, 2001

Preliminary

T89C51CC02

T2MOD (S:C9h)
Timer 2 Mode Control Register

Reset Value = XXXX XX00b
Not bit addressable

Figure 48. T2MOD Register

TH2 (S:CDh)
Timer 2 High Byte Register

Reset Value = 0000 0000b
Not bit addressable

Figure 49. TH2 Register

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.