English
Language : 

SH7670 Datasheet, PDF (750/1292 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7670 Series
Section 17 USB 2.0 Host/Function Module (USB)
Bit
Bit Name
Initial
Value R/W
14 to 10 BUFSIZE[4:0] H'00 R/W
9, 8

All 0 R
Description
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 software has set the DBLB bit 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 while CSSTS is 0 and PID is NAK
and before the pipe is selected 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 through software is not necessary.
Reserved
These bits are always read as 0. The write value
should always be 0.
Rev. 1.00 Nov. 14, 2007 Page 724 of 1262
REJ09B0437-0100