ht82k94e Holtek Semiconductor Inc., ht82k94e Datasheet - Page 19

no-image

ht82k94e

Manufacturer Part Number
ht82k94e
Description
Ht82k94e/ht82k94a -- Usb Multimedia Keyboard Encoder 8-bit Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HT82K94E
Manufacturer:
HOLTEK
Quantity:
1 200
Part Number:
HT82K94E
Manufacturer:
HOLTEK/合泰
Quantity:
20 000
STALL, PIPE, PIPE_CTRL and Endpt_EN Registers
PIPE register represents whether the endpoint corresponding is accessed by host or not. After ACT_EN signal being
sent out, MCU can check which endpoint had been accessed. This register is set only after the time when host access
the corresponding endpoint.
STALL register shows whether the endpoint corresponding works or not. As soon as the endpoint work improperly, the
bit corresponding must be set.
PIPE_CTRL Register is used for configuring IN (Bit=1) or OUT (Bit=0)Pipe. The default is define IN pipe. Where Bit0
(DATA0) of the PIPE_CTRL Register is used to setting the data toggle of any endpoint (except endpoint0) using data
toggles to the value DATA0. Once the user want the any endpoint (except endpoint0) using data toggles to the value
DATA0. the user can output a LOW pulse to this bit. The LOW pulse period must at least 10 instruction cycle.
Endpt_EN Register is used to enable or disable the corresponding endpoint (except endpoint 0) Enable Endpoint
(Bit=1) or disable Endpoint (Bit=0)
The bitmaps are list as follows :
The SIES Register is used to indicate the present signal state which the SIE receives and also defines whether the SIE
has to change the device address automatically.
Rev. 1.90
PIPE_CTRL
STALL
PIPE
Endpt_EN
Func. Name
Reg_ Adr
Register
Adr_ set
F0_Err
Name
Func.
R/W
NAK
Out
IN
R/W
R/W
R/W
R/W
PIPE_CTRL (41H), STALL (43H), PIPE (44H) and Endpt_EN (47H) Registers
R
R/W
R/W
R/W
R/W
R/W
Bit7
NMI
R
R
01000001B
01000011B
01000100B
01000001B
Register
Address
This bit is used to configure the SIE to automatically change the device address with
the value of the Address+Remote_WakeUp Register (42H).
When this bit is set to 1 by F/W, the SIE will update the device address with the value
of the Address+Remote_WakeUp Register (42H) after the PC Host has successfully
read the data from the device by the IN operation. The SIE will clear the bit after updat-
ing the device address. Otherwise, when this bit is cleared to 0 , the SIE will update
the device address immediately after an address is written to the Address+Re-
mote_WakeUp Register (42H)
Default 0
This bit is used to indicate that some errors have occurred when accessing the FIFO0.
This bit is set by SIE and cleared by F/W.
Default 0
This bit is used to indicate that an OUT token (except for the OUT zero length) has
been received. The F/W clear the bit after the OUT data has been read. This bit will
also be cleared by the SIE after the next valid SETUP token is received.
Default 0
This bit is used to indicate that the current signal the USB is receiving from the PC
Host is IN token.
This bit is used to indicate that the SIE is transmitting NAK signal to the Host in re-
sponse to the PC Host IN or OUT token.
EOT
Bit6
R
Bit7~Bit4 Reserved
CRC_ERR
R/W
Bit5
SIES (45H) Register
19
NAK
Bit4
R
01000101B
Pipe 3
Pipe 3
Pipe 3
Pipe 3
Bit 3
Description
Bit3
IN
R
Pipe 2
Pipe 2
Pipe 2
Pipe 2
Bit 2
HT82K94E/HT82K94A
OUT
R/W
Bit2
Pipe 1
Pipe 1
Pipe 1
Pipe 1
Bit 1
F0_ERR
R/W
Bit1
Pipe 0
Pipe 0
Pipe 0
Pipe 0
Bit 0
April 29, 2008
00001111
00001111
00000000
00001111
Adr_set
Default
Value
R/W
Bit0

Related parts for ht82k94e