Melody Driver Registers - Oki ML63611 User Manual

Table of Contents

Advertisement

ML63611 User's Manual
Chapter 11 Melody Driver (MELODY)
11.3

Melody Driver Registers

(1) Tempo Register (TEMPO)
TEMPO is a 4-bit special function register (SFR) that sets the tempo of the melody driver.
TEMPO (096H)
Melody tempo select
bit 3
bit 2
bit 1
0
0
0
0
0
0
0
0
0
1
0
1
0
1
0
1
1
0
1
0
1
0
1
0
1
1
1
1
1
1
1
1
(2) Melody Driver Control Register (MDCON)
MDCON is a 4-bit special function register (SFR) that controls output of the melody driver.
MDCON (097H)
Melody status flag
0 : Melody stopped (initial value)
1 : Melody output
Buzzer output ON/OFF control
0 : Buzzer output OFF (initial value)
1 : Buzzer output ON
Buzzer mode select
bit 1
bit 0
0
0
: Intermittent tone 1 (initial value)
0
1
: Intermittent tone 2
1
0
: Single tone
1
1
: Continuous tone
OPTION A (C): 1.5 V (3.0 V), Without regulator
circuit for LCD bias
bit 3
TMP3
(R/W)
bit 0
0
0
:
= 480 (initial value)
0
1
:
= 480
1
0
:
= 320
1
1
:
= 240
0
0
:
= 192
0
1
:
= 160
≅ 137
1
0
:
1
1
:
= 120
≅ 107
0
0
:
0
1
:
= 96
≅ 87
1
0
:
1
1
:
= 80
≅ 74
0
0
:
≅ 69
0
1
:
1
0
:
= 64
1
1
:
= 60
bit 3
MSF
(R/W)
bit 2
bit 1
TMP2
TMP1
bit 2
bit 1
EMBD
MBM1
11 – 2
OPTION B (D): 1.5 V (3.0 V), With regulator
bit 0
TMP0
bit 0
MBM0
circuit for LCD bias

Advertisement

Table of Contents
loading

Table of Contents