0
OSC/12
T0 or T1 pin
(Sampled)
C//T
TRx
GATE
/INTx
0
1
1
TLx [7:0]
TFx
Interrupt
Reload
THx [7:0]
Mode 2
Mode 3
Timer1 in Mode3 simply holds its count, the effect is the same as setting TR1 = 1. Timer0 in
Mode 3 enables TL0 and TH0 as two separate 8-bit counters. TL0 uses the Timer0 control bits
such like C/T, GATE, TR0, INT0 and TF0. TH0 is locked into a timer function (can not be external
event counter) and take over the use of TR1, TF1 from Timer1. TH0 now controls the Timer1
interrupt.
0
OSC/12
Sampled T0 pin
C//T
TR0
GATE
/INT0
0
1
1
TL0 [7:0]
TF0
Interrupt
Mode 3
0
1
TH0 [7:0]
TF1
Interrupt
XTAL2
TR1
TIMER2
Timer2 is a 16-bit timer/counter which can operate as either an event timer or an event counter
as selected by
C//T2
in the special function register
T2CON.
Timer2 has four operation modes:
Capture Mode (CP), Auto-Reload Up/Down Mode (ARUD), Auto-Reload Up-Only mode (ARUO)
and Baud-Rate Generator Mode (BRG).
Logical OR
(RCLK, TCLK)
x
1
0
0
0
Timer2 Mode Table
CP/RL2
x
x
1
0
0
TR2
0
1
1
1
1
DCEN
x
0
0
0
1
Mode
OFF
Baud-Rate Generation
Capture
Auto-Reload Up-only
Auto-Reload Up/Down
16
MPC89x54A Data Sheet
MEGAWIN