How-To Guide

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 894 of 1852
Nov 30, 2020
RX23W Group 32. USB 2.0 Host/Function Module (USBc)
32.2.20 USB Request Value Register (USBVAL)
When the function controller is selected, the value of wValue that has been received is stored in the USBVAL register.
When the host controller is selected, the value of wValue to be transmitted is set.
The USBVAL register is initialized by a USB bus reset.
When the host controller is selected:
Set these bits to the value of the wValue field in USB requests of setup transactions for transmission. Do not modify
the value of the USBVAL register while the DCPCTR.SUREQ bit is 1.
When the function controller is selected:
These bits indicate the value of the wValue field in USB requests received in setup transactions for reception.
Writing to the USBVAL register has no effect.
32.2.21 USB Request Index Register (USBINDX)
The USBINDX register stores setup requests for control transfers.
When the function controller is selected, the value of wIndex that has been received is stored. When the host controller is
selected, the value of wIndex to be transmitted is set.
The USBINDX register is initialized by a USB bus reset.
When the host controller is selected:
Set these bits to the value of the wIndex field in USB requests of setup transactions for transmission. Do not modify
the value of the USBINDX register while the DCPCTR.SUREQ bit is 1.
When the function controller is selected:
These bits indicate the value of the wIndex field in USB requests received in setup transactions for reception.
Writing to the USBINDX register has no effect.
Address(es): USB0.USBVAL 000A 0056h
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Value after reset:
0000000000000000
Address(es): USB0.USBINDX 000A 0058h
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Value after reset:
0000000000000000