Universal Serial Bus
M30240 Group
Rev.1.00 Sep 24, 2003 Page 318 of 360
Figure 3.31: USB Set_Address processing routine (1)
Confirming Received Data
USB Endpoint 0 Control and Status Register Address
EP0CS 0311
16
OUT_PKT_RDY Bit 1 (Note)
0 : Not ready
1 : Data packet received
b7 b0
Note: There is no data in FIFO 0 when this bit is "0". The RTS command
should be executed and the address acquisition routine should be exited.
USB Endpoint x FIFO Register Address
EPO 0338
16
Read 8 bytes of received data
b7
b0
Read Data
bRequest=0516
Process other setup data
Process other standard requests
=
=
USB Function Address Register Address
USBA 0300
16
Set 3rd byte of received data (wValue)
b7
b0
Setting USB Function Address Register (Note)
Note: Only the lower 8 bits of the wValue should be set
Setting USB Endpoint 0 Control and Status Register
USB Endpoint 0 Control and Status Register Address
EP0CS 0311
16
DATA_END Bit
1 : Read all data from FIFO 0
SERVICED_OUT_PKT_RDY Bit
1 : Clear OUT_PKT_RDY bit
b7 b0
1
1
Status Phase Wait
RTS Command Execution
Addresss Acquisition Processing Routine
bmRequest Type=0016