mpc89x51a Megawin Technology, mpc89x51a Datasheet - Page 17

no-image

mpc89x51a

Manufacturer Part Number
mpc89x51a
Description
8-bit Micro-controller
Manufacturer
Megawin Technology
Datasheet
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-bits 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.
TIMER2
Timer2 is a 16-bits 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).
MEGAWIN
Sampled T0 pin
T0 or T1 pin
(Sampled)
OSC/12
GATE
GATE
/INT0
/INTx
OSC/12
(RCLK, TCLK)
C//T
Logical OR
C//T
x
1
0
0
0
XTAL2
TR1
0
1
0
1
TR0
TRx
CP/RL2
1
0
0
x
x
MPC89x51A Data Sheet
Timer2 Mode Table
TR2
0
1
1
0
0
1
1
1
1
DCEN
TLx [7:0]
THx [7:0]
TH0 [7:0]
x
0
0
0
1
TL0 [7:0]
OFF
Baud-Rate Generation
Capture
Auto-Reload Up-only
Auto-Reload Up/Down
Reload
TF1
TFx
Mode
TF0
Interrupt
Interrupt
Mode 2
Mode 3
Interrupt
17

Related parts for mpc89x51a