English
Language : 

SH7203 Datasheet, PDF (1222/1686 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Section 23 USB 2.0 Host/Function Module (USB)
(b) Buffer Clearing
Table 23.17 shows the clearing of the buffer memory by this module. The buffer memory can be
cleared using the four bits indicated below.
Table 23.17 List of Buffer Clearing Methods
Bit Name
Register
Function
Clearing
method
BCLR
SCLR
DCLRM
CFIFOCTR
CFIFOSIE
DnFIFOSEL
DnFIFOCTR
Clears the buffer Clears the buffer
memory on the CPU memory on the SIE
side
side
In this mode, after
the data of the
specified pipe has
been read, the
buffer memory is
cleared
automatically.
Cleared by writing 1 Cleared by writing 1 1: Mode valid
0: Mode invalid
ACLRM
PIPEnCTR
This is the auto
buffer clear mode, in
which all of the
received packets
are destroyed.
1: Mode valid
0: Mode invalid
(c) Buffer Areas
Table 23.18 shows the FIFO buffer memory map of this controller. The buffer memory has special
fixed areas to which pipes are assigned in advance, and user areas that can be set by the user.
The buffer for the DCP is a special fixed area that is used both for control read transfers and
control write transfers.
The PIPE6 and PIPE7 area is assigned in advance, but the area for pipes that are not being used
can be assigned to PIPE1 to PIPE5 as a user area.
The settings should ensure that the various pipes do not overlap. Note that each area is twice as
large as the setting value in the double buffer.
Also, the buffer size should not be specified using a value that is less than the maximum packet
size.
Rev. 2.00 Apr. 16, 2008 Page 1192 of 1652
REJ09B0313-0200