Renesas SH7264 Doll User Manual


  Open as PDF
of 2152
 
Section 26 USB 2.0 Host/Function Module
Page 1516 of 2108 R01UH0134EJ0400 Rev. 4.00
Sep 24, 2014
SH7262 Group, SH7264 Group
Continuous or Non-
Continuous Transfer
Mode
Method of Determining if Reading or Transmitting Data is Enabled
Continuous transfer
(CNTMD = 1)
In the receiving direction (DIR = 0), reading data from the FIFO buffer is
enabled when:
The number of the data bytes received in the FIFO buffer assigned to
the selected pipe becomes the same as the number of assigned data
bytes (DCP: fixed at 256 bytes, pipes 1 to 5 (BUFSIZE + 1) 64).
This module receives a short packet other than a zero-length packet.
This module receives a zero-length packet when data is already
stored in the FIFO buffer assigned to the selected pipe.
or
This module receives the number of packets equal to the transaction
counter value specified for the selected pipe. (PIPE1 to PIPE5 only)
In the transmitting direction (DIR = 1), transmitting data from the FIFO
buffer is enabled when:
The number of the data bytes written to the FIFO buffer becomes the
same as the number of data bytes in a single FIFO buffer plane
assigned to the selected pipe.
or
The number of data bytes less than the size of a single FIFO buffer
plane (including 0-byte data) assigned to the selected pipe is written
to the FIFO buffer and then 1 is written to BVAL.
In a DMA transfer, the DMA transfer end sampling enable (TENDE) bit
is set to 1, a number of data bytes less than the size of a single FIFO
buffer plane assigned to the selected pipe (or 0 bytes) is written to the
FIFO buffer, and the DMA transfer end signal is received (PIPE1 to
PIPE5 only).