TS80C52X2
● To start the timer, set TR2 run control bit in T2CON register.
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.
:2
XTAL1
TR2
T2CON reg
TH2
TL2
(8-bit) (8-bit)
OVEFLOW
RCAP2H
RCAP2L
(8-bit) (8-bit)
Toggle
T2
Q
D
T2OE
T2MOD reg
TIMER 2
INTERRUPT
T2EX
EXF2
T2CON reg
EXEN2
T2CON reg
Figure 5. Clock-Out Mode C/T2 = 0
Rev. B - Jan. 25, 1999
15
Preliminary