ML63611 User’s Manual
Chapter 11 Melody Driver (MELODY)
11 – 8
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
Table 11-3 Tone Length and Tone Length Code Correspondence
Tone length code
Tone
length
L5
L4
L3
L2
L1
L0
L5–L0
1
1
1
1
1
1
3FH
1
0
1
1
1
1
2FH
0
1
1
1
1
1
1FH
0
1
0
1
1
1
17H
0
0
1
1
1
1
0FH
0
0
1
0
1
1
0BH
0
0
0
1
1
1
07H
0
0
0
1
0
1
05H
0
0
0
0
1
1
03H
0
0
0
0
1
0
02H
0
0
0
0
0
1
01H
Tone lengths specified by the tone length code and the tempo data are expressed by the following:
1.953125
×
(TP + 1)
×
(L + 1) ms
(where TP is an integer from 1 to 15, and L is an integer from
1 to 63)
TP is a value set in the tempo register (TEMPO), and has the following bit correspondence:
TP = 2
3
TP3 + 2
2
TP2 + 2
1
TP1 + 2
0
TP0
L is set by the tone length code, and has a bit correspondence with the tone length code as:
L = 2
5
L5 + 2
4
L4 + 2
3
L3 + 2
2
L2 + 2
1
L1 + 2
0
L0
(3) END bit
The END bit is set in bit 15 of the melody data. When the output of the last melody data is started (END bit
is “1”), the melody circuit generates a melody end interrupt request, and stops the melody after the last
melody data is output.
Содержание 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...