Renesas R5S72626 Doll User Manual


  Open as PDF
of 2152
 
Section 26 USB 2.0 Host/Function Module
R01UH0134EJ0400 Rev. 4.00 Page 1411 of 2108
Sep 24, 2014
SH7262 Group, SH7264 Group
26.3.24 USB Request Type Register (USBREQ)
USBREQ is a register that stores setup requests for control transfers. When the function controller
function is selected, the values of bRequest and bmRequestType that have been received are
stored. When the host controller function is selected, the values of bRequest and bmRequestType
to be transmitted are set.
This register is initialized by a power-on reset or a USB bus reset.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Bit:
Initial value:
R/W:
0000000000000000
R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W* R/W*
BREQUEST[7:0] BMREQUESTTYPE[7:0]
Bit Bit Name
Initial
Value R/W Description
15 to 8 BREQUEST
[7:0]
H'00 R/W* Request
These bits store the USB request bRequest value.
(1) When the host controller function is selected
The USB request data value for the setup
transaction to be transmitted should be set in
these bits. After setting SUREQ to 1, do not
modify these bits until 0 is read from SUREQ.
(2) When the function controller function is selected
Indicates the USB request data value received
during the setup transaction. Writing to these
bits is invalid.
7 to 0 BMREQUEST-
TYPE[7:0]
H'00 R/W* Request Type
These bits store the USB request bmRequestType
value.
(1) When the host controller function is selected
The USB request type value for the setup
transaction to be transmitted should be set in
these bits. After setting SUREQ to 1, do not
modify these bits until 0 is read from SUREQ.
(2) When the function controller function is selected
Indicates the USB request type value received
during the setup transaction. Writing to these
bits is invalid.
Note: * When the function controller function is selected, these bits can only be read, and
writing to these bits is invalid. When the host controller function is selected, these bits
can be read and written to.