mpc89x515a Megawin Technology, mpc89x515a Datasheet - Page 22
![no-image](/images/no-image-200.jpg)
mpc89x515a
Manufacturer Part Number
mpc89x515a
Description
8-bit Micro-controller
Manufacturer
Megawin Technology
Datasheet
1.MPC89X515A.pdf
(41 pages)
port, neither of these flags is cleared by hardware when the service routine is vectored to.
All of the bits that generate interrupts can be set or cleared by software, and it has the same
impact as done through it by hardware. In other words, interrupts or pending interrupts can be
generated or canceled in software.
The following content describes several SFR related to interrupt mechanism.
SFR: IE (Interrupt Enabling):
SFR: IP (Interrupt Priority Low):
SFR: IPH (Interrupt Priority High):
PX3H: If set, Set priority for external interrupt 3 highest
EA:
ET2: When set, enables Timer2 interrupt.
ES:
ET1: When set, enables Timer1 interrupt.
EX1: When set, enables external interrupt 1.
ET0: When set, enables Timer 0 interrupt.
EX0: When set, enables external interrupt 0.
PT2: If set, Set priority for timer2 interrupt higher
PS:
PT1: If set, Set priority for timer1 interrupt higher
PX1: If set, Set priority for external interrupt 1 higher
PT0: If set, Set priority for timer0 interrupt higher
PX0: If set, Set priority for external interrupt 0 higher
PX2H: If set, Set priority for external interrupt 2 highest
PT2H: If set, Set priority for timer2 interrupt highest
PSH:
PT1H: If set, Set priority for timer1 interrupt highest
PX1H: If set, Set priority for external interrupt 1 highest
PT0H: If set, Set priority for timer0 interrupt highest
22
PX3H
Bit-7
Bit-7
Bit-7
EA
-
When set, enables the serial port interrupt.
If set, Set priority for serial port interrupt higher
Global disables all interrupts when cleared.
If set, Set priority for serial port interrupt highest
PX2H
Bit-6
Bit-6
Bit-6
-
PT2H
Bit-5
Bit-5
Bit-5
ET2
PT2
MPC89x515A Data Sheet
Bit-4
Bit-4
Bit-4
PSH
ES
PS
PT1H
Bit-3
Bit-3
Bit-3
ET1
PT1
PX1H
Bit-2
Bit-2
Bit-2
EX1
PX1
PT0H
Bit-1
Bit-1
Bit-1
ET0
PT0
PX0H
Bit-0
Bit-0
Bit-0
EX0
PX0
MEGAWIN