Renesas M16C Series User Manual page 189

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30245 Group
Confirming of receive data
(b15)
b7
0
www.DataSheet4U.com
Note 1: There is no receive data in FIFO 0 when this bit is set to "0".
Reading of receive data
(b15)
b7
Setting of USB endpoint 0 control and status register. Continued on a status stage.
(b15)
b7
0
0
Writing of transmit data on data stage
(b15)
b7
Figure 2.8.38. Device configuration notification processing routine (1) when receiving
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Receiving of endpoint 0 setup packet
(b8)
b0
b7
0
(b8)
b0
b7
The data equal to receive byte count are read (setup packet is 8-byte).
Store the receive data in user definition RAM.
(b8)
b0
b7
1
1
(b8)
b0
b7
GET_CONFIGURATION request
page 180 of 354
USB endpoint 0 control and status register
b0
EP0CS [Address 0298
OUT_BUF_RDY flag (Note 1)
0 : Reading data packet is complete
1 : Data packet reception is compete
SETUP flag
0 : Data packet reception
1 : SETUP packet reception
b0
USB endpoint 0 OUT FIFO data register
EP0O [Address 02E2
bRequest: 08
?
16
=
Is a request valid?
=
Valid
USB endpoint 0 control and status register
b0
EP0CS [Address 0298
CLR_OUT_BUF_RDY bit
1 : Clear OUT_BUF_RDY flag
CLR_SETUP flag
1 : Clear SETUP flag
USB endpoint 0 IN FIFO data register
b0
EP0I [Address 02E0
Write the configuration value one byte
Continued on next page
]
16
]
16
To processing routine of
other standard requests
To processing of request invalid
]
16
]
16
2. USB function

Advertisement

Table of Contents
loading

Table of Contents