MPC89L515A Megawin Technology, MPC89L515A Datasheet - Page 14

no-image

MPC89L515A

Manufacturer Part Number
MPC89L515A
Description
8-bit micro-controller
Manufacturer
Megawin Technology
Datasheet
www.DataSheet4U.com
TF2: Timer2 overflow flag. It will be set by a Timer2 overflow and must be cleared by software.
EXF2: Timer2 external flag. It will be set when either a capture or reload is caused by a negative transition on
TF0: = Timer0 overflow flag. Set by hardware on Timer/Counter overflow. Cleared by hardware when the
TCLK: When set causes the serial port to use Timer2 overflow pulse for it’s transmit clock in mode 1 and mode
EXEN2: Timer-2 external enable flag. When set, allows a capture or reload to occur. As a result of a negative
IE1: = Interrupt 1 Edge flag. Set by hardware when external interrupt edge detected. Cleared when interrupt
T2OE: Timer 2 Output Enable bit. It enables Timer2 overflow rate to toggle P1.0.
DCEN: Down Count Enable bit. When set, this allows Timer2 to be configured as a down counter.
C/T2: Timer or counter select. 0 is for timer and 1 is for external event counter.
CP/RL2: Capture/Reload flag. When set, captures will occurs on a negative transition at T2EX if EXEN2=1.
SFR: TCON
TF1: = Timer1 overflow flag. Set by hardware on Timer/Counter overflow. Cleared by hardware when the
TR1: = Timer1 run control bit. Set/Cleared by software.
TR0: = Timer1 run control bit. Set/Cleared by software.
IT1: = Interrupt 1 type control bit. Set/Cleared by software to specified falling edge/low level triggered interrupt.
IE0: = Interrupt 0 Edge flag. Set by hardware when external interrupt edge detected. Cleared when interrupt
IT0: = Interrupt 0 type control bit. Set/Cleared by software to specified falling edge/low level triggered interrupt.
SFR: T2MOD
SFR: T2CON
RCLK: When set causes the serial port to use Timer2 overflow pulse for it’s receive clock in mode and mode 3.
TR2: Start/Stop control for Timer2.
14
Bit-7
Bit-7
Bit-7
TF1
TF2
TF2 will not be set when either TCLK or RCLK =1.
pin T2EX and EXEN2=1. When Timer2 interrupt is enabled, EXF2=1 will cause the CPU to vector to he
timer2 interrupt routine. EXF2 must be cleared by software. EXF2 does not cause an interrupt in
Auto-Reload Up-Down mode (ARUD).
3. RCLK=0 causes Timer1 overflow pulse to be used.
processed.
processed.
processor vectors to the interrupt routine, or clearing the bit in software.
processor vectors to the interrupt routine, or clearing the bit in software.
RCLK=0 causes Timer1 overflow pulse to be used.
EXEN2=0 causes Timer2 to ignore events at T2EX.
transition on T2EX if Timer2 is not being used to clock the serial port.
When cleared, auto-reloads will occur either with Timer2 overflows or a negative transition at T2EX
EXF2
Bit-6
Bit-6
Bit-6
TR1
RCLK
Bit-5
Bit-5
Bit-5
TF0
TCLK
Bit-4
Bit-4
Bit-4
TR0
MPC89x515A Data Sheet
EXEN2
Bit-3
Bit-3
Bit-3
IE1
Bit-2
Bit-2
Bit-2
TR2
IT1
T2OE
C//T2
Bit-1
Bit-1
Bit-1
IE0
CP/RL2
DCEN
Bit-0
Bit-0
Bit-0
IT0
MEGAWIN

Related parts for MPC89L515A