Voice Output; Voice Control; Audio Output And Volume Control - Dal, Dah, Dactrl - Holtek HT45F23A Manual

Tinypower flash mcu with opa & comparators
Table of Contents

Advertisement

HT45F23A/HT45F24A
TinyPower
Flash MCU with OPA & Comparators
TM

Voice Output

Voice Control

The voice control register controls the DAC circuit. If the DAC circuit is not enabled, any DAH/
DAL outputs will be invalid. Writing a "1" to the DACEN bit will enable the DAC circuit and
channel the DAC output to its corresponding I/O pin, while writing a "0" to the DACEN bit will
disable the DAC circuit.
Audio Output and Volume Control – DAL, DAH, DACTRL
The audio output is 12-bits wide whose highest 8-bits are written into the DAH register and whose
lowest four bits are written into the highest four bits of the DAL register. Bits 0~3 of the DAL
register are always read as zero.
There are 8 levels of volume which are setup using the DACTRL register. The highest 3-bits of
this register are used for volume control and the DACEN bit is used to control the DAC function
enable or not. Once the DACEN bit is set to "1", this will channel the DAC output to the I/O pin and
disable the original I/O pin shared function.
DAL Register
Bit
Name
D3
R/W
R/W
POR
Bit 7~5
D3~D2: Audio output low 4 bit
Bit 3~0
unimplemented, read as "0"
DAH Register
Bit
7
Name
D11
R/W
R/W
POR
0
Bit 7~5
D4~D11: Audio output high 8 bit
Bit 4~1
unimplemented, read as "0"
DACTRL Register
Bit
Name
VOL2
R/W
R/W
POR
Bit 7~5
VOL2~VOL0: DAC volume control bit
000: min. volume
111: max. volume
Bit 4~1
unimplemented, read as "0"
DACEN: DAC enable control bit
Bit 0
0: disable
1: enable
Note: When the DACEN is set to "1", the DAC signal will be channeled to the I/O pin anddisable
the original I/O pin shared function.
Rev. 1.40
7
6
5
D2
D1
R/W
R/W
0
0
0
6
5
D10
D9
R/W
R/W
0
0
7
6
5
VOL1
VOL0
R/W
R/W
0
0
0
135
4
3
2
D0
R/W
0
4
3
2
D8
D7
D6
R/W
R/W
R/W
0
0
0
4
3
2
1
0
1
0
D5
D4
R/W
R/W
0
0
1
0
DACEN
R/W
0
March 29, 2019

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the HT45F23A and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Ht45f24a

Table of Contents