
GL860A USB 2.0 UVC Camera Controller
2007 GenesysLogic, Inc. - All rights reserved.
Page 23
1 Test mode, Endpoint 0 can response all packet.
3 BULK_RST
EP1 bulk mode initial reset
2-0 EPnEN
Endpoint 1, 2, 3 TX/RX enable. (n=3~1)
After device is configured, EPTX1EN, EPTX2EN,EP3TXEN, EPRX1EN,
EPRX2EN,EP3RXEN write 1 to decide Endpoint 1,2,3 IN or OUT. Before
endpoint is enabled, it won’t response to any USB transaction.
Offset 4Bh – EPCTL2 …….…………………………………………..………… Default value = 8’h00
--
EP3TGRST EP2TGRST EP1TGRST
--
EP3STL
EP2STL
EP1STL
--
W/O
W/O
W/O
--
R/W
R/W
R/W
7 RESERVED
-
6-4 EPnTGRST
Endpoint toggle reset. (n=3~1)
3 RESERVED
-
2-0 EPnSTL
Endpoint stall. (n=3~1)
Offset 4Ch – EPCTL3 …….…………………………………………..………… Default value = 8’h00
EP3TOG
EP2TOG
EP1TOG TX3FFPOP
FF3RST
RX0FFPSH TX0FFPOP
FF0RST
R/O
R/O
R/O
R/W
R/W
R/W
R/W
R/W
7-5 EPnTOG
Toggle indication of DATA packet. (n=3~1)
4 TX3FFPOP
uC pop endpoint 3 TXFIFO enable.
3 FF3RST
Reset endpoint 3 FIFO read/write pointer. Data in FIFO remain unchanged.
2 RX0FFPSH
uC push endpoint 0 RXFIFO enable
1 TX0FFPOP
uC pop endpoint 0 TXFIFO enable.
0 FF0RST
Reset endpoint 0 TXFIFO read/write pointer. Data in FIFO remain unchanged.
Offset 4Dh – EPCTL3 …….…………………………………………..………… Default value = 8’h00
RX0DIS
RXSETUP
RXOUT
RXSEQ
EP0RXSTL EP0TXSTL
TX0OE
TX0SEQ
R/W
R/O
R/O
R/W
R/W
R/W
R/W/C
R/W
7 RX0DIS
Disable receiving capability on endpoint 0
Upon successfully receiving a data packet on endpoint 0, hardware will automatically
set this bit to ‘1’. At this time, no more OUT data on endpoint 0 can be accepted,
hardware will respond with NAK. Note, for SETUP transaction, hardware will
always accept and respond with ACK.
0 Endp0 FIFO is available for data receiving.
1 Endp0 FIFO is not available
6 RXSETUP
Endpoint 0 received token is SETUP.
5 RXOUT
Endpoint 0 received token is OUT.
4 RXSEQ
Endpoint 0 received data toggle.
0 The received data is DATA0
1 The received data is DATA1
3 EP0RXSTL
Endpoint 0 receiving stall.
Endpoint 0 will respond with a STALL to a valid OUT transaction. This bit will