TMP91C824
91C824-211
3.14.2 Control
registers
ALM R register
7
6
5
4
3
2
1
0
bit Symbol
AL8
AL7
AL6
AL5
AL4
AL3
AL2
AL1
Read/Write
R/W
After reset
0
Function
Setting alarm pattern
MLDALMC register
7
6
5
4
3
2
1
0
bit Symbol
FC1
FC0
ALMINV
MELALM
Read/Write
R/W
R/W
R/W
After reset
0
0
0
Function
Free-run counter control
00: Hold
01: Restart
10: Clear
11: Clear & Start
Alarm
Wavefor
m invert
1:INVERT
Write “0”
Output
Waveform
select
0: Alarm
1:
Melody
(note1): MELALMEC<FC1> is read always “0”.
(note2): When setting MELALMC register except <FC1:0> during the free-run counter is running , <FC1:0> is kept “01”.
ALM
(0330H)
MELALMC
(0331H)
MELFL register
7
6
5
4
3
2
1
0
bit Symbol
ML7
ML6
ML5
ML4
ML3
ML2
ML1
ML0
Read/Write
R/W
After reset
0
Function
Setting melody frequency (lower 8bit)
MELFH register
7
6
5
4
3
2
1
0
bit Symbol
MELON
ML11
ML10
ML9
ML8
Read/Write
R/W
R/W
After reset
0
0
Function
Control
melody
counter
0: Stop &
Clear
1: Start
Setting melody frequency(upper 4bit)
MELFL
(0332H)
MELFH
(0333H)
ALMINT register
7
6
5
4
3
2
1
0
bit Symbol
IALM4E
IALM3E
IALM2E
IALM1E
IALM0E
Read/W rite
R/W
After reset
0
Function
Write “0”
1:Interrupt enable for INTALM4
〜
INTALM0
ALMINT
(0334H)