MPC89L54A Megawin Technology, MPC89L54A Datasheet - Page 17

no-image

MPC89L54A

Manufacturer Part Number
MPC89L54A
Description
8-bit micro-controller
Manufacturer
Megawin Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MPC89L54AD44
Manufacturer:
MEGAWIN原装
Quantity:
20 000
Part Number:
MPC89L54AF
Manufacturer:
MEGAWIN
Quantity:
1 648
www.DataSheet4U.com
Timer2 is also can be configured as a periodical signal generator.
The MPC89x54A is able to generate a programmable clock output on P1.0. When T2OE bit is set
and C//T2 bit is cleared, Timer2 overflow pulse will generate a 50% duty clock and output that to
P1.0. The frequency of clock-out is calculated according to the following formula.
In the clock-out mode, Timer2 rollovers will not generate an interrupt.
Capture Mode (CP)
In the Capture mode, Timer2 is incremented by either OSC/12 or external pin (T2) 1-to-0
transition. TR2 controls the event to timer2 and a 1-to-0 transition on T2EX pin will trigger
RCAP2H and RCAP2L registers to capture the Timer2 contents onto them if EXEN2 is set. An
overflow in Timer2 sets TF2 flag and a 1-to-0 transition in T2EX pin sets EXF2 flag if EXEN2=1.
TF2 and EXF2 is ORed to request the interrupt service.
MEGAWIN
T2EX pin
OSC/12
T2 pin
C//T2
TR2
0
1
4 x (65536 – RCAP2H, RCAP2L)
EXEN2
Oscillator frequency
0
1
MPC89x54A Data Sheet
RCAP2L [7:0]
TL2 [7:0]
RCAP2H [7:0]
TH2[7:0]
EXF2
TF2
Interrupt
17

Related parts for MPC89L54A