MG87FE/L2051 MEGAWIN [Megawin Technology Co., Ltd], MG87FE/L2051 Datasheet - Page 19

no-image

MG87FE/L2051

Manufacturer Part Number
MG87FE/L2051
Description
8-bits microcontroll
Manufacturer
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet
9.2. Interrupt Register
IE: Interrupt Enable Register
Address=E8H, read/write, Power On + RESET=00X0-0000
Bit 7: EA, All interrupts enable register.
0: Global disables all interrupts.
1: Global enables all interrupts.
Bit 6: EAC, Analog Comparator interrupt Enable register.
0: Disable analog comparator interrupt and reserve the interrupt vector (33H) to /INT2.
1: Enable analog comparator interrupt and occupy the /INT2 interrupt vector (33H) for analog comparator event.
Bit 5: Reserved.
Bit 4: ES, Serial port interrupt enable register.
0: Disable serial port interrupt.
1: Enable serial port interrupt.
Bit 3: ET1, Timer 1 interrupt enable register.
0: Disable Timer 1 interrupt.
1: Enable Timer 1 interrupt.
Bit 2: EX1, External interrupt 1 enable register.
0: Disable external interrupt 1.
1: Enable external interrupt 1.
Bit 1: ET0, Timer 0 interrupt enable register.
0: Disable Timer 0 interrupt.
1: Enable Timer 1 interrupt.
Bit 0: EX0, External interrupt 0 enable register.
0: Disable external interrupt 0.
1: Enable external interrupt 1.
XICON: External Interrupt Control Register
Address=C0H, read/write, Power On + RESET=0000-0000
Bit 7: PX3, External interrupt 3 priority-L register.
0: Lower priority, setting with PX3H to select priority level.
1: Higher priority, setting with PX3H to select priority level.
Bit 7: PTC, PWM-Timer interrupt priority-L register. PX3 has an alternated function, PTC, that is switched by ECF.
0: Lower priority, setting with PTCH to select priority level.
This document information is the intellectual property of Megawin Technology.
© Megawin Technology Co., Ltd. 2009 All rights reserved.
QP-7300-03D
19/56
PX3/PTC
In this mode, IE2 still maintains its original function but it will not generate an interrupt whether EX2 is set or
not.
EA
7
7
When ECF is set, this bit is PTC function. If cleared, this bit is PX3 function.
MEGAWIN
MAKE YOU WIN
EAC
EX3
6
6
IE3
--
5
5
IT3
ES
4
4
ET1
PX2
3
3
EX1
EX2
2
2
MG87FE/L2051/4051/6051
ET0
IE2
1
1
Preliminary Ver 1.00
EX0
IT2
0
0

Related parts for MG87FE/L2051