Rev.2.00 Oct 16, 2006 page 179 of 354
REJ09B0340-0200
M30245 Group
2. USB function
b7
(b15)
b7
(b8)
b0
b0
0
0
1
1
1
b7
(b15)
b7
(b8)
b0
b0
0
0
0
0
0
0
0
0
0
Completion of SET_ADDRESS request
(continued from previous page)
Getting of new address (address state)
Waiting for completion of status phase (DATA_END flag: 1
→
0)
Setting of address to USB address register (Note 1)
Note 1: Only the lower 1-byte of the receive device address should be set.
Setting of USB endpoint 0 control and status register
USB endpoint 0 control and status register
EP0CS [Address 0298
16
]
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”
USB address register
USBA [Address 0280
16
]
Set the third byte (the lower of wValue) of reception data
Figure 2.8.37. Processing routine (2) for getting device address when receiving SET_ADDRESS request
Содержание M16C FAMILY
Страница 12: ...Chapter 1 Hardware...
Страница 13: ...See M30245 group datasheet...
Страница 14: ...Chapter 2 Peripheral Functions Usage...
Страница 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Страница 340: ...Chapter 4 External Buses...
Страница 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 362: ...Chapter 5 Standard Characteristics...
Страница 369: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M30245 Group REJ09B0340 0200 User s Manual...