English
Language : 

TH6503 Datasheet, PDF (13/24 Pages) List of Unclassifed Manufacturers – USB Low-Speed Interface
TH6503 USB Low-Speed Interface
Register
Description
(continued)
USBFlagRegister (write only)
Internal address: b101
Size:
8 bits
Bit
Bit
Reset
Number Mnemonic Status
7
FI2
1
6
FI1
1
5
FI0
1
4
BO0
0
3
SI2
0
2
SI1
0
1
SI0
0
0
SO0
0
Function
Flush EP2 IN
clears EP2 FIFO
? is set and reset automatically depending on the actual FIFO Status
? must be set before EP2 of the EP1/2 FIFO can be overwritten by the
microcontroller
Flush EP1 IN
clears EP1 FIFO
? is set and reset automatically depending on the actual FIFO Status
? must be set before EP1 of the EP1/2 FIFO can be overwritten by the
microcontroller
Flush EP0 IN
clears EP0 FIFO
? is set and reset automatically depending on the actual FIFO Status
? must be set before the EP0 FIFO can be overwritten by the
microcontroller
Busy OUT
blocks the EP0 OUT FIFO for the USB host
? is set and reset automatically depending on the actual FIFO Status
? TH6503 responds with no handshake for a USB host SETUP token or
with a NAK signal for an OUT token (NAK state)
? to leave the NAK state, the microcontroller does an OutFIFO read
(the microcontroller rereads the last data)
STALL EP2
sets EP2 to STALL
? TH6503 responds with a STALL for a USB host IN or OUT token
if address and EP2 have been decoded
? only operative if EP2 is active
STALL EP1
sets EP1 to STALL
? TH6503 responds with a STALL for a USB host IN or OUT token
if address and EP1 have been decoded
? only operative if EP1 is active
STALL EP0 IN
sets EP0 IN to STALL
? TH6503 responds with a STALL for a USB host IN token
if address and EP0 have been decoded
? will be cleared after SETUP token
STALL EP0 OUT
sets EP0 OUT to STALL
? TH6503 responds with a STALL for a USB host OUT token
if address and EP0 have been decoded
? STALL is inoperative for a SETUP token from the USB host
? SETUP clears STALL EP0 IN and STALL EP0 OUT bits
USBAddressRegister (write only)
Internal address: b110
Size:
8 bits
Bit
Bit
Reset
Number Mnemonic Status
Function
7
X
0
reserved
6-0
AD6-0
0
USB device address
USB address entered by microcontroller
? zero after reset
? microcontroller must decode the address from descriptor data after a
SETUP (SET_ADDRESS) token and write it in this register
13