HT82J97A_08 HOLTEK [Holtek Semiconductor Inc], HT82J97A_08 Datasheet - Page 16

no-image

HT82J97A_08

Manufacturer Part Number
HT82J97A_08
Description
USB Joystick Encoder 8-Bit MCU
Manufacturer
HOLTEK [Holtek Semiconductor Inc]
Datasheet
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. The default is defined as IN Pipe. The PIPE register represents whether the corresponding endpoint is ac-
cessed by host or not. After a USB interrupt signal is being sent out, the MCU can check which endpoint had been ac-
cessed. 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:
Rev. 1.60
Register Name Pipe_ctrl Addr.+Remote
00000000 from MSB to LSB.
Mem. Addr.
Reserved Addr.
Pipe_ctrl
STALL
PIPE
01000010B
Register
Register
Address
Name
R/W
R/W
R/W
R/W
R/W
41H
R
Bit 7
01000001B
01000011B
01000100B
Register
Address
42H
Bit 6
STALL (43H) and PIPE (44H) Registers
Address+Remote_WakeUp Register
Default value=00000000
Register Memory Mapping
Bit 5
STALL
Bit7~Bit2 Reserved
43H
Address value
Bank 1, Address 40H, 4AH, 4FH
Bit 4
16
PIPE
44H
Bit 3
Bit 2
SIES
45H
Pipe 1
Pipe 1
Pipe 1
Bit 1
Bit 1
HT82J97E/HT82J97A
MISC
46H
Remote Wake-up Function
0: Not this function
1: The function exists
Pipe 0
Pipe 0
Pipe 0
Bit 0
FIFO 0
48H
December 23, 2008
Bit 0
00000011
00000000
00000000
Default
Value
FIFO 1
49H

Related parts for HT82J97A_08