English
Language : 

SH7670 Datasheet, PDF (752/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.34 Pipe Maximum Packet Size Register (PIPEMAXP)
PIPEMAXP is a register that specifies the maximum packet size for PIPE1 to PIPE9.
This register is initialized by a power-on reset.
Bit: 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
DEVSEL[3:0]
—
MXPS[10: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 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
15 to 12 DEVSEL[3:0] 00
R/W
11

0
R
Description
Device Select
When the host controller function is selected, these
bits specify the USB address of the communication
target peripheral device.
0000: Address 0000
0001: Address 0001
0010: Address 0010
:
:
1010: Address 1010
Other than above: Setting prohibited
These bits should be set after setting the address to
the DEVADDn register corresponding to the value to
be set in these bits.
For example, before setting DEVSEL to 0010, the
address should be set to the DEVADD2 register.
Before modifying these bits after modifying the PID
bits for the selected pipe from BUF to NAK, check
that CSSTS and PBUSY are 0. However, if the PID
bits have been modified to NAK by this module,
checking PBUSY through software is not necessary.
When the function controller function is selected,
these bits should be set to B'0000.
Reserved
This bit is always read as 0. The write value should
always be 0.
Rev. 1.00 Nov. 14, 2007 Page 726 of 1262
REJ09B0437-0100