ht82m99e Holtek Semiconductor Inc., ht82m99e Datasheet - Page 17

no-image

ht82m99e

Manufacturer Part Number
ht82m99e
Description
Ht82m99e/ht82m99a -- Usb Mouse Encoder 8-bit Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HT82M99E
Manufacturer:
HOLTEK
Quantity:
2 407
Part Number:
HT82M99E
Manufacturer:
HOLTEK
Quantity:
10 000
Company:
Part Number:
HT82M99E
Quantity:
80
USB with MCU Interface
There are eight registers, including Pipe_ctrl, Address+Remote_WakeUp, STALL, PIPE, SIES, MISC, FIFO 0 and
FIFO 1 in this buffer function.
Address+Remote_WakeUp register represents current address and remote wake-up function. The initial value is
The Pipe_ctrl, STALL and PIPE are bitmap ones. The Pipe_ctrl Register is used for configuring IN (Bit=1) or OUT
(Bit=0) Pipe and only for HT82M99A body. The default is defined as IN Pipe. The PIPE register represents whether the
corresponding endpoint is accessed by host or not. After a USB interrupt signal is being sent out, the MCU can check
which endpoint had been accessed. This register is set only after the host accessed the corresponding endpoint. The
STALL register shows whether the corresponding endpoint works or not. As soon as the endpoint works improperly, the
corresponding bit must be set. The bitmaps are listed as follows:
The SIES Register is used to indicate the present signal state which the USB SIE received and also determines
whether the USB SIE has to change the device address automatically.
Rev. 2.20
Register Name Pipe_ctrl Addr.+Remote
00000000 from MSB to LSB.
Mem. Addr.
Reserved Addr.
Pipe_ctrl
STALL
PIPE
01000010B
Register
Register
Address
Name
Bit No.
7
6
5
4
3
2
1
0
R/W
R/W
R/W
R/W
R/W
41H
R
Bit 7
CRC_ERR
Function
01000001B
01000011B
01000100B
F0_ERR
Adr_set
Register
Address
EOT
NAK
OUT
MNI
IN
42H
Bit 6
STALL (43H) and PIPE (44H) Registers
Address+Remote_WakeUp Register
Default value=00000000
SIES (45H) Registers Table
Register Memory Mapping
Bit 5
STALL
Bit7~Bit2 Reserved
43H
Address value
Bank 1, Address 40H, 4AH, 4FH
Bit 4
17
PIPE
44H
Read/Write
Bit 3
R/W
R/W
R/W
R/W
R/W
R
R
R
Bit 2
SIES
45H
Pipe 1
Pipe 1
Pipe 1
Bit 1
Bit 1
HT82M99E/HT82M99A
MISC
46H
Remote Wake-up Function
0: Not this function
1: The function exists
Register Address
Pipe 0
Pipe 0
Pipe 0
Bit 0
01000101B
FIFO 0
48H
Bit 0
April 16, 2008
00000011
00000000
00000000
Default
Value
FIFO 1
49H

Related parts for ht82m99e