English
Language : 

SH7670 Datasheet, PDF (727/1292 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7670 Series
Section 17 USB 2.0 Host/Function Module (USB)
17.3.27 USB Request Length Register (USBLENG)
USBLENG is a register that stores setup requests for control transfers. When the function
controller function is selected, the value of wLength that has been received is stored. When the
host controller function is selected, the value of wLength to be transmitted is set.
This register is initialized by a power-on reset or a USB bus reset.
Bit: 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
WLENGTH[15:0]
Initial value: 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
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* R/W*
Bit
Bit Name
Initial
Value
R/W
Description
15 to 0 WLENGTH
[15:0]
H'0000 R/W* Length
These bits store the USB request wLength value.
(1) When the host controller function is selected
The USB request wLength value for the setup
transaction to be transmitted should be set in
these bits. Do not modify these bits while
SUREQ is 1.
(2) When the function controller function is selected
Indicates the USB request wLength 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.
Rev. 1.00 Nov. 14, 2007 Page 701 of 1262
REJ09B0437-0100