
HT82M9AEE/HT82M9AAE
Rev. 1.20
21
August 13, 2007
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.
Register
Name
Pipe_ctrl
Addr.+
Remote
STALL
SIES
MISC
Endpt_EN
FIFO 0
FIFO 1
FIFO 2
Mem. Addr.
41H
42H
43H
45H
46H
47H
48H
49H
4AH
Register Memory Mapping
Address+Remote_WakeUp register represents current address and remote wake-up function. The initial value is
00000000 from MSB to LSB.
Register
Address
R/W
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
01000010B
R/W
Address value
Default value=00000000
Remote Wake-up Function
0: Not this function
1: The function exists
Address+Remote_WakeUp Register
STALL, Pipe_ctrl and Endpt_EN Registers
STALLregister 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:
Register
Name
R/W
Register
Address
Bit7~Bit3
Reserved
Bit 2
Bit 1
Bit 0
Default
Value
Pipe_ctrl
R/W
01000001B
Pipe 2
Pipe 1
Data 0
0000 0110
STALL
R/W
01000011B
Pipe 2
Pipe 1
Pipe 0
0000 0111
Endpt_EN
R/W
01000111B
Pipe 2
Pipe 1
Pipe 0
0000 0111
Pipe_ctrl (41H), STALL (43H) and Endpt_EN (47H) Registers