ht82m9aae Holtek Semiconductor Inc., ht82m9aae Datasheet - Page 21

no-image

ht82m9aae

Manufacturer Part Number
ht82m9aae
Description
Usb Mouse Encoder 8-bit Mcu With Eeprom
Manufacturer
Holtek Semiconductor Inc.
Datasheet
USB with MCU Interface
There are eight registers, including Pipe_ctrl, Address+Remote_WakeUp, STALL, SIES, MISC, Endpt_EN and FIFO
0~FIFO 2 in this buffer function.
Address+Remote_WakeUp register represents current address and remote wake-up function. The initial value is
²00000000² from MSB to LSB.
STALL, Pipe_ctrl and Endpt_EN Registers
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 endpoint 0) using data tog-
gles to the value DATA0. Once the user want the any endpoint (except endpoint 0) 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:
Rev. 1.20
Pipe_ctrl
STALL
Endpt_EN
Mem. Addr.
01000010B
Register
Register
Address
Register
Name
Name
Pipe_ctrl
R/W
R/W
R/W
R/W
R/W
R/W
41H
Pipe_ctrl (41H), STALL (43H) and Endpt_EN (47H) Registers
Bit 7
01000001B
01000011B
01000111B
Remote
Register
Address
Addr.+
42H
Bit 6
Address+Remote_WakeUp Register
STALL
43H
Default value=00000000
Register Memory Mapping
Reserved
Bit 5
Bit7~Bit3
¾
¾
¾
Address value
SIES
45H
Bit 4
21
Pipe 2
Pipe 2
Pipe 2
Bit 2
Bit 3
MISC
46H
Bit 2
Endpt_EN FIFO 0
HT82M9AEE/HT82M9AAE
47H
Pipe 1
Pipe 1
Pipe 1
Bit 1
Bit 1
48H
Remote Wake-up Function
0: Not this function
1: The function exists
Data 0
Pipe 0
Pipe 0
Bit 0
FIFO 1
49H
Bit 0
August 13, 2007
0000 0110
0000 0111
0000 0111
Default
Value
FIFO 2
4AH

Related parts for ht82m9aae