ht82j97e Holtek Semiconductor Inc., ht82j97e Datasheet - Page 16

no-image

ht82j97e

Manufacturer Part Number
ht82j97e
Description
Ht82j97e/ht82j97a -- Usb Joystick Encoder 8-bit Otp Mcu
Manufacturer
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:
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. 1.50
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
16
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
HT82J97E/HT82J97A
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
October 19, 2005
Bit 0
00000011
00000000
00000000
Default
Value
FIFO 1
49H

Related parts for ht82j97e