mpc89x51a Megawin Technology, mpc89x51a Datasheet - Page 22

no-image

mpc89x51a

Manufacturer Part Number
mpc89x51a
Description
8-bit Micro-controller
Manufacturer
Megawin Technology
Datasheet
All of the bits that generate interrupts can be set or cleared by software, and it has the same
impact as done through 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
PX0H: If set, Set priority for external interrupt 0 highest
22
Bits-7
Bits-7
Bits-7
PX3H
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
Bits-6
Bits-6
Bits-6
-
Bits-5
Bits-5
Bits-5
PT2H
ET2
PT2
MPC89x51A Data Sheet
Bits-4
Bits-4
Bits-4
PSH
ES
PS
Bits-3
Bits-3
Bits-3
PT1H
ET1
PT1
Bits-2
Bits-2
Bits-2
PX1H
EX1
PX1
Bits-1
Bits-1
Bits-1
PT0H
ET0
PT0
PX0H
Bits-0
Bits-0
Bits-0
EX0
PX0
MEGAWIN

Related parts for mpc89x51a