English
Language : 

HT82A836R Datasheet, PDF (49/75 Pages) Holtek Semiconductor Inc – USB Audio MCU
HT82A836R
Operation Mode Control Register
The OPER_MODE register is used to control certain operational operational modes. The operation mode is used to
control the m law compander enable/disable for the speaker and microphone data.
b7
b0
R E C O R D _ U _ E N P L A Y _ U _ E N O P E R _ M O D E R e g is te r
P la y m L a w C o m p r e s s io n C o n tr o l
1 : C o m p r e s s io n e n a b le d
0 : C o m p r e s s io n d is a b le d - d e fa u lt
R e c o rd m L a w E x p a n d e r C o n tro l
1 : E x p a n d e r e n a b le d
0 : E x p a n d e r d is a b le d - d e fa u lt
U n a v a ila b le
Operation Mode Control Register - OPER_MODE
Play/Record Data
The Play and Record data for the device is contained in 4 Play registers and 2 Record registers. The play/record inter-
rupt will be activated when play/record data in the PLAY_DATA or RECORD_DATA registers is valid. The
PLAY_DATA/RECORD_DATA registers will latch data until the next interrupt is generated. The DAC PLAY_DATA reg-
ister contains an unsigned value with a range of 0~FFFFH. The RECORD_DATA is stored in 2¢s complement format
with a range of 8000H~7FFFH.
The update rate of the PCM ADC RECORD_DATA is 8kHz with the Record_Freq bit in the MODE_CTRL register is
equal to 0, or 16kHz if the bit is set to 1. The update rate for the PLAY_DATA is 48kHz, if the PLAY_MODE bit in the
MODE_CTRL register is equal to 0, or 8kHz if the bit is equal to 1. All of the PLAY and RECORD registers are read only.
Name
PLAY_DATAL_L
PLAY_DATAL_H
PLAY_DATAR_L
PLAY_DATAR_H
RECORD_DATA_L
RECORD_DATA_H
b7
PL_D7
PL_D15
PR_D7
PR_D15
R_D7
R_D15
b6
PL_D6
PL_D14
PR_D6
PR_D14
R_D6
R_D14
b5
PL_D5
PL_D13
PR_D5
PR_D13
R_D5
R_D13
b4
PL_D4
PL_D12
PR_D4
PR_D12
R_D4
R_D12
b3
PL_D3
PL_D11
PR_D3
PR_D11
R_D3
R_D11
b2
PL_D2
PL_D10
PR_D2
PR_D10
R_D2
R_D10
b1
PL_D1
PL_D9
PR_D1
PR_D9
R_D1
R_D9
b0
PL_D0
PL_D8
PR_D0
PR_D8
R_D0
R_D8
The play data format is controlled by bit PLAY_U_EN in the OPER_MODE register.
PLAY_U_EN=0
PLAY_DATAL_L
PCM (Left Channel
Low Byte)
PLAY_DATAL_H
PCM (Left Channel
High Byte)
PLAY_DATAR_L
PCM (Right Channel
Low Byte)
PLAY_DATAR_H
PCM (Right Channel
High Byte)
PLAY_U_EN=1
N/A
m Law (Left Channel)
N/A
m Law (Right Channel)
The record data registers RECORD_DATA_L/RECORD_DATA_H will not be affected by bit RECORD_U_EN in the
OPER_MODE register. The record data registers RECORD_DATA_L/RECORD_DATA_H are in PCM format.
Rev. 1.10
49
August 5, 2011