mpc89x51a Megawin Technology, mpc89x51a Datasheet - Page 18
mpc89x51a
Manufacturer Part Number
mpc89x51a
Description
8-bit Micro-controller
Manufacturer
Megawin Technology
Datasheet
1.MPC89X51A.pdf
(39 pages)
- Current page: 18 of 39
- Download datasheet (537Kb)
Timer2 is also can be configured as a periodical signal generator.
The MPC89x51A is able to generate a programmable clock output on P1.0. When T2OE bits is
set and C//T2 bits 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 rollover 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.
18
T2EX pin
OSC/12
T2 pin
C//T2
TR2
0
1
4 x (65536 – RCAP2H, RCAP2L)
EXEN2
Oscillator frequency
0
1
MPC89x51A Data Sheet
RCAP2L [7:0]
TL2 [7:0]
RCAP2H [7:0]
TH2[7:0]
EXF2
TF2
MEGAWIN
Interrupt
Related parts for mpc89x51a
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
8 Bit Micro-Controller with Voice Synthesizer and Melody
Manufacturer:
Megawin Technology Co., Ltd.
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
1-channel 350v, 50ma/80ma Constant Current Dc Led Driver
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
Universal Pwm Type Led Driver
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8 Bits Microcontroller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
A Single-chip Microcontroller Based On A High Performance 1-t Architecture 80c51
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Microcontroller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
Full-speed Usb Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
Full-speed Usb Micro-controller
Manufacturer:
Megawin Technology
Datasheet:
Part Number:
Description:
8-bit Micro-controller
Manufacturer:
Megawin Technology
Datasheet: