Renesas M30245 Series User Manual page 190

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

Advertisement

M30245 Group
Setting of USB endpoint 0 control and status register
(b15)
b7
0
0
Setting of address to USB address register (Note 1)
(b15)
b7
0
0
0
Note 1: Only the lower 1-byte of the receive device address should be set.
Figure 2.8.37. Processing routine (2) for getting device address when receiving SET_ADDRESS request
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
(continued from previous page)
Getting of new address (address state)
(b8)
b0
b7
1
1
1
Waiting for completion of status phase (DATA_END flag: 1 → 0)
(b8)
b0
b7
0
0
0
0
0
0
Completion of SET_ADDRESS request
page 179 of 354
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
SET_DATA_END bit
1 : Set DATA_END flag to "1"
b0
USB address register
USBA [Address 0280
Set the third byte (the lower of wValue) of reception data
2. USB function
]
16
]
16

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM20c series

Table of Contents