ht82a851r Holtek Semiconductor Inc., ht82a851r Datasheet - Page 27

no-image

ht82a851r

Manufacturer Part Number
ht82a851r
Description
Ht82a851r -- Usb Audio Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
;WRITE INTO "WRITE ENABLE" INSTRUCTION
$0:
endif
Play/Record Data
The play/record interrupt will be activated when play/record data is valid on PLAY_DATA/ RECORD_DATA registers.
The PLAY_DATA/RECORD_DATA registers will latch data until next interrupt happen. The PLAY_DATA is unsigned
value (0~FFFFH). RECORD_DATA is 2 s complement value (8000H~7FFFH).
The update rate of RECORD_DATA is 8kHz . The update rate of PLAY_DATA is 48kHz (PLAY_MODE=0) or 8KHz
(PLAY_MODE=1). All these registers (3AH~3FH) are read only.
Configuration Options
The following table shows all of the configuration options in the microcontroller. All of the OTP options must be defined
to ensure proper system functioning.
Rev. 1.20
Address
3AH
3BH
3CH
3DH
3EH
No.
3FH
1
2
3
4
5
6
7
8
PA0~PA7 pull-high resistor enabled or disabled (by bit)
LVR enable or disable
WDT enable or disable
WDT clock source: f
CLRWDT instruction(s): 1 or 2
PA0~PA7 wake-up enabled or disabled (by bit)
PC0~PC7 pull-high resistor enabled or disabled (by nibble)
TBHP enable or disable (default disable)
PLAY_DATAL_L
PLAY_DATAL_H
PLAY_DATAR_L
PLAY_DATAR_H
RECORD_DATA_L
RECORD_DATA_H
set
MOV
MOV
snz
jmp
clr
Label
ESII
A,OP_WREN
SBDR,A
TRF_INT
$0
TRF_INT
SYS
PR_D15 PR_D14 PR_D13 PR_D12 PR_D11 PR_D10 PR_D9
/4 or WDTOSC
PL_D15 PL_D14 PL_D13 PL_D12 PL_D11 PL_D10
PR_D7
PL_D7
R_D15
R_D7
Bit 7
;SPI Interrupt Enable
PR_D6
PL_D6
R_D14
;set at SPI Interrupt
R_D6
Bit 6
PR_D5
PL_D5
R_D13
27
R_D5
Bit 5
Option
PR_D4
PL_D4
R_D12
R_D4
Bit 4
PR_D3
PL_D3
R_D11
R_D3
Bit 3
PR_D2
R_D10
PL_D2
R_D2
Bit 2
PR_D1
PL_D1
PL_D9
HT82A851R
R_D1
R_D9
Bit 1
June 15, 2007
PR_D0
PR_D8
PL_D0
PL_D8
R_D0
R_D8
Bit 0

Related parts for ht82a851r