Section 26 USB 2.0 Host/Function Module
R01UH0134EJ0400 Rev. 4.00 Page 1417 of 2108
Sep 24, 2014
SH7262 Group, SH7264 Group
26.3.29 DCP Maximum Packet Size Register (DCPMAXP)
DCPMAXP is a register that specifies the maximum packet size for the DCP.
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:
0000000001000000
R/W R/W R/W R/W R R R R R R/W R/W R/W R/W R R R
————— MXPS[6: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 communication target peripheral
device address.
0000: Address 0000
0001: Address 0001
: :
1001: Address 1001
1010: Address 1010
Other than above: Setting prohibited
These bits should be set after setting the DEVADDn
register corresponding to the value to be set in
these bits.
For example, before setting DEVSEL to 0010 the
DEVADD2 register should be set.
These bits should be set while CSSTS is 0, PID is
NAK, and SUREQ is 0.
Before modifying these bits after modifying the PID
bits for the DCP 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.