How-To Guide

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 893 of 1852
Nov 30, 2020
RX23W Group 32. USB 2.0 Host/Function Module (USBc)
32.2.19 USB Request Type Register (USBREQ)
Note 1. When the function controller is selected, these bits can only be read from, and writing to these bits is invalid. When the host
controller is selected, these bits can be read from and written to.
The USBREQ register stores setup requests for control transfers.
When the function controller is selected, the values of bRequest and bmRequestType that have been received are stored.
When the host controller is selected, the values of bRequest and bmRequestType to be transmitted are set.
The USBREQ register is initialized by a USB bus reset.
BMREQUESTTYPE[7:0] Bits (Request Type)
These bits hold the value of the bmRequestType field of a USB request.
When the host controller is selected:
Set these bits to the value of the USB request data in setup transactions for transmission. Do not modify the value of
the BMREQUESTTYPE[7:0] bits while the DCPCTR.SUREQ bit is 1.
When the function controller is selected:
These bits indicate the value of the USB request data in setup transactions for reception. Writing to the bits has no
effect.
BREQUEST[7:0] Bits (Request)
These bits store bRequest value of the USB request.
When the host controller is selected:
Set these bits to the value of the USB request data in setup transactions for transmission. Do not modify the value of
the BREQUEST[7:0] bits while the DCPCTR.SUREQ bit is 1.
When the function controller is selected:
These bits indicate the value of the USB request data in setup transactions for reception. Writing to the bits has no
effect.
Address(es): USB0.USBREQ 000A 0054h
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
BREQUEST[7:0] BMREQUESTTYPE[7:0]
Value after reset:
0000000000000000
Bit Symbol Bit Name Description R/W
b7 to b0 BMREQUESTTYPE[7:0] Request Type These bits store the USB request bmRequestType value. R/W
*1
b15 to b8 BREQUEST[7:0] Request These bits store the USB request bRequest value. R/W
*1