ML63611 User’s Manual
Chapter 3 CPU Control Functions
3 – 6
OPTION B (D): 1.5 V (3.0 V), With regulator
circuit for LCD bias
OPTION A (C): 1.5 V (3.0 V), Without regulator
circuit for LCD bias
3.3.3 Melody Data Interrupt and Halt Mode Release
The halt mode is not released by a melody data interrupt.
The melody data interrupt is different from a conventional interrupt in that the melody data interrupt is a hardware
processing interrupt used for transfer of melody data to the melody circuit. It is not dependent on the program.
When this interrupt is generated, the instruction immediately after the HALT instruction is executed, then the
melody data is transferred to the melody circuit, and the HALT instruction is executed again. This sequence is
indicated in Figure 3-7.
Figure 3-7 Melody Data Request Interrupt Operation
3.3.4 Note Concerning HALT Instruction
As described above, the instruction immediately after the HALT instruction may be executed any number of times.
For this reason, always place an NOP instruction immediately after the HALT instruction.
(Example)
•
•
•
HALT
NOP
•
•
•
S1
S2 S1
S2 S1
S2 S1
S2
S1
S2
S1
S2
S2
S2 S2
HALT
HLT (halt flag)
Melody data
request
PC flow in main
routine
: HALT instruction address
: Melody data address
HALT
(melody)
System Clock
n+1
n+1
n
(melody)
HALT
instruction
execution
Execution of
instruction
immediately after
HALT instruction
HALT
instruction
execution
Melody
data
transter
Halt mode
Halt mode
n
n
Summary of Contents for ML63611
Page 9: ...Chapter 1 Overview...
Page 33: ...Chapter 2 CPU and Memory Spaces...
Page 42: ...Chapter 3 CPU Control Functions...
Page 49: ...Chapter 4 Interrupt INT...
Page 62: ...Chapter 5 Clock Generator Circuit OSC...
Page 71: ...Chapter 6 Time Base Counter TBC...
Page 75: ...Chapter 7 Timers TIMER...
Page 99: ...Chapter 8 100 Hz Timer Counter 100HzTC...
Page 103: ...Chapter 9 Watchdog Timer WDT...
Page 108: ...Chapter 10 Ports INPUT I O PORT...
Page 140: ...Chapter 11 Melody Driver MELODY...
Page 152: ...Chapter 12 Serial Port SIO...
Page 179: ...Chapter 13 LCD Driver LCD...
Page 200: ...Chapter 14 Battery Low Detect Circuit BLD...
Page 204: ...Chapter 15 Power Supply Circuit POWER...
Page 215: ...Chapter 16 A D Converter ADC...
Page 238: ...Appendixes...