TMP91C824
91C824-215
2008-02-20
3.14.2 Control
Registers
ALM 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 0 0 0 0 0 0 0
Function Setting
alarm
pattern
MELALMC Register
7
6
5
4
3
2
1
0
Bit symbol
FC1
FC0
ALMINV
−
−
−
−
MELALM
Read/Write R/W R/W
R/W
R/W
R/W
R/W
R/W
After reset
0
0
0
0
0
0
0
0
Function Free-run
counter
control
00: Hold
01: Restart
10: Clear
11: Clear and start
Alarm
waveform
invert
1: Invert
Always write 0
Output
waveform
select
0: Alarm
1:
Melody
Note 1: MELALMEC<FC1> is read always 0.
Note 2: When setting MELALMC register except <FC1:0> during the free-run counter is running,
<FC1:0> is kept 01.
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 0 0 0 0 0 0 0
Function
Setting melody frequency (Lower 8 bits)
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 0 0 0
Function Control
melody
counter
0: Stop &
clear
1: Start
Setting melody frequency (Upper 4 bits)
ALMINT Register
7 6 5 4 3 2 1 0
Bit symbol
–
IALM4E
IALM3E
IALM2E
IALM1E IALM0E
Read/Write
R/W
R/W
After
reset
0 0 0 0 0 0
Function
Always
write 0
1: Interrupt enable for INTALM4 to INTALM0
ALM
(0330H)
MELALMC
(0331H)
MELFL
(0332H)
MELFH
(0333H)
ALMINT
(0334H)