English
Language : 

SH7764 Datasheet, PDF (1019/1752 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 21 USB 2.0 Host/Function Module (USB)
5. Modify the bits in the pipe control register.
The following bits in the pipe control registers can be modified only when the pertinent
information has not been set by the CURPIPE bits in CFIFOSEL, D0FIFOSEL and D1FIFOSEL.
Registers that Should Not be Set When CURPIPE in FIFO-PORT is set.
• Bits in DCPCFG and DCPMAXP
• Bits in PIPECFG, PIPEBUF, PIPEMAXP and PIPEPERI
In order to modify pipe information, the CURPIPE bits should be set to the pipes other than the
pipe to be modified. For the DCP, the buffer should be cleared using BCLR after the pipe
information is modified.
(2) Transfer Types
The TYPE bit in PIPEPCFG is used to specify the transfer type for each pipe. The transfer types
that can be set for the pipes are as follows.
1. DCP: No setting is necessary (fixed at control transfer).
2. PIPE1 and PIPE2: These should be set to bulk transfer or isochronous transfer.
3. PIPE3 to PIPE5: These should be set to bulk transfer.
4. PIPE6 to PIPE9: These should be set to interrupt transfer.
(3) Endpoint Number
The EPNUM bit in PIPEPCFG is used to set the endpoint number for each pipe. The DCP is fixed
at endpoint 0. The other pipes can be set from endpoint 1 to endpoint 15.
1. DCP: No setting is necessary (fixed at end point 0).
2. PIPE1 to PIPE9: The endpoint numbers from 1 to 15 should be selected and set.
These should be set so that the combination of the DIR bit and EPNUM bit is unique.
Rev. 1.00 Nov. 22, 2007 Page 963 of 1692
REJ09B0360-0100