ML63611 User’s Manual
Chapter 4 Interrupt (INT)
4 – 3
OPTION A (C): 1.5 V (3.0 V), Without regulator
circuit for LCD bias
OPTION B (D): 1.5 V (3.0 V), With regulator
circuit for LCD bias
4.2
Interrupt Registers
The following three types of registers are used to control interrupts.
(1) Master interrupt enable register (MIEF)
(2) Interrupt enable registers (IE0 to IE4)
(3) Interrupt request registers (IRQ0 to IRQ4)
These registers are described below.
(1) Master interrupt enable register (MIEF)
MIEF is a 4-bit register in which bit 0 is the master interrupt enable flag (MIE).
MIE (bit 0 of MIEF) is a flag that disables or enables all interrupts except for the watchdog timer interrupt.
If MIE is “0”, all interrupts are disabled. If MIE is “1”, all interrupts are enabled (with the exception of the
watchdog timer).
When any interrupt is received, MIE is cleared to “0”. MIE is set to “1” by execution of a return from
interrupt instruction (RTI instruction).
If multi-level interrupt processing is to be performed, execute an RTI instruction (MIE
←
“1”) during the
interrupt processing routines.
At system reset, MIE is initialized to “0”. MIEF only supports data reference (R) of data memory through
addressing instructions.
Note:
When setting MIE, use “EI” instructions (MIE
←
“1”) and “DI” instructions (MIE
←
“0”).
MIE
MIEF
Master Interrupt Enable Flag
0: Interrupts disabled (initial value)
1: Interrupts enabled
bit 3
bit 2
bit 1
bit 0
(0FFH)
(R)
!
Содержание ML63611
Страница 9: ...Chapter 1 Overview...
Страница 33: ...Chapter 2 CPU and Memory Spaces...
Страница 42: ...Chapter 3 CPU Control Functions...
Страница 49: ...Chapter 4 Interrupt INT...
Страница 62: ...Chapter 5 Clock Generator Circuit OSC...
Страница 71: ...Chapter 6 Time Base Counter TBC...
Страница 75: ...Chapter 7 Timers TIMER...
Страница 99: ...Chapter 8 100 Hz Timer Counter 100HzTC...
Страница 103: ...Chapter 9 Watchdog Timer WDT...
Страница 108: ...Chapter 10 Ports INPUT I O PORT...
Страница 140: ...Chapter 11 Melody Driver MELODY...
Страница 152: ...Chapter 12 Serial Port SIO...
Страница 179: ...Chapter 13 LCD Driver LCD...
Страница 200: ...Chapter 14 Battery Low Detect Circuit BLD...
Страница 204: ...Chapter 15 Power Supply Circuit POWER...
Страница 215: ...Chapter 16 A D Converter ADC...
Страница 238: ...Appendixes...
Страница 271: ...ML63611 User s Manual First Edition May 2001 Second Edition June 2001 2001 Oki Electric Industry Co Ltd PEUL63611 02...