Rainbow Electronics T89C51RD2 User Manual

Page 19

Advertising
background image

Rev. F - 15 February, 2001

19

T89C51RD2

It is possible to use timer 2 as a baud rate generator and a clock generator simultaneously. For this configuration,
the baud rates and clock frequencies are not independent since both functions use the values in the RCAP2H and
RCAP2L registers.

Figure 6. Clock-Out Mode C/T2 = 0

:2

EXF2

TR2

OVEFLOW

T2EX

TH2

(8-bit)

TL2

(8-bit)

TIMER 2

RCAP2H

(8-bit)

RCAP2L

(8-bit)

T2OE

T2

XTAL1

T2CON reg

T2CON reg

T2CON reg

T2MOD reg

INTERRUPT

Q

D

Toggle

EXEN2

Advertising