ht82a851r Holtek Semiconductor Inc., ht82a851r Datasheet - Page 19

no-image

ht82a851r

Manufacturer Part Number
ht82a851r
Description
Ht82a851r -- Usb Audio Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
The AWR register contains the current address and a remote wake up function control bit. The initial value of AWR is
stage has finished.
The STALL register shows if the corresponding endpoint works properly or not. As soon as the endpoint works improp-
erly, the related bit in the STALL has to be set to 1 . The STALL register will be cleared by a USB reset signal.
Rev. 1.20
00H . The address value extracted from the the USB command has not to be loaded into this register until the SETUP
Bit No.
Bit No.
Bit No.
0
1
2
3
4
5
6
7
1~7
0~4
5~7
0
CRCF
Label
ASET
ERR
OUT
NAK
EOT
NMI
IN
STL0~STL4
STL5~STL7
AD0~AD6
WKEN
Label
Label
R/W
R/W
R/W
R/W
R/W
R/W
R
R
R
Power-on
R/W
R/W
R/W
R/W
R/W
0
0
0
0
0
0
1
0
This bit is used to configure the SIE to automatically change the device
address by the value stored in the AWR register. When this bit is set to
stored in the AWR register after the PC host has successfully read the
data from the device by an IN operation. Otherwise, when this bit is
cleared to 0 , the SIE will update the device address immediately after
an address is written to the AWR register. So, in order to work properly,
the firmware has to clear this bit after a next valid SETUP token is
received.
This bit is used to indicate that some errors have occurred when the
FIFO0 is accessed. This bit is set by SIE and should be cleared by
firmware.
This bit is used to indicate the OUT token (except the OUT zero length
token) has been received. The firmware clears this bit after the OUT data
has been read. Also, this bit will be cleared by SIE after the next valid
SETUP token is received.
This bit is used to indicate the current USB receiving signal from PC host
is an IN token.
This bit is used to indicate the SIE is a transmitted NAK signal to the host
in response to the PC host IN or OUT token.
Error condition failure flag include CRC, PID, no integrate token error,
CRCF will be set by hardware and the CRCF need to be cleared by
firmware.
Token pakcage active flag, low active.
NAK token interrupt mask flag. If this bit set, when the device sent a NAK
token to the host, an interrupt will be disabled. Otherwise if this bit is
cleared, when the device sends a NAK token to the host, it will enter the
interrupt sub-routine.
1 by firmware, the SIE will update the device address by the value
Power-on
Power-on
0000000
STALL (24H) Register
AWR (23H) Register
SIES (25H) Register
00000
000
0
19
USB remote-wake-up enable/disable (1/0)
USB device address
Set by the user when related USB endpoints were stalled.
Cleared by a USB reset and a Setup Token event.
Undefined bit, read as 0 .
Functions
Functions
Functions
HT82A851R
June 15, 2007

Related parts for ht82a851r