Section 26 USB 2.0 Host/Function Module
R01UH0134EJ0400 Rev. 4.00 Page 1437 of 2108
Sep 24, 2014
SH7262 Group, SH7264 Group
Bit Bit Name
Initial
Value R/W Description
14 to 10 BUFSIZE[4:0] H'00 R/W Buffer Size
Specifies the size of the buffer for the pipe selected
by the PIPESEL bits (selected pipe) in terms of
blocks, where one block comprises 64 bytes.
00000 (H'00): 64 bytes
00001 (H'01): 128 bytes
: :
11111 (H'1F): 2 Kbytes
When the DBLB bit has been set to 1, this module
assigns two planes of the FIFO buffer size specified
by the BUFSIZE bits to the selected pipe.
Specifically, the following expression determines the
FIFO buffer size assigned to the selected pipe by this
module.
(BUFSIZE + 1) 64 (DBLB + 1) [bytes]
The valid value for these bits depends on the
selected pipe.
PIPE1 to PIPE5: Any value from H'00 to H'1F is
valid.
PIPE6 to PIPE9: H'00 should be set.
When used with CNTMD = 1, set an integer multiple
of the maximum packet size to the BUFSIZE bits.
Modify these bits when the value of CSSTS is 0, the
PID bits are set to NAK, and no pipe is specified by
the CURPIPE bits.
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.
9 to 7 All 0 R Reserved
These bits are always read as 0. The write value
should always be 0.