Section 26 USB 2.0 Host/Function Module
R01UH0134EJ0400 Rev. 4.00 Page 1439 of 2108
Sep 24, 2014
SH7262 Group, SH7264 Group
26.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.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Bit:
Initial value:
R/W:
00000***********
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
— MXPS[10:0]DEVSEL[3:0]
Bit Bit Name
Initial
Value R/W Description
15 to 12 DEVSEL[3:0] 0000 R/W 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 is not necessary.
When the function controller function is selected,
these bits should be set to B'0000.
11 0 R Reserved
This bit is always read as 0. The write value should
always be 0.