How-To Guide

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