Download Print this page

Dtc Transfer - Renesas H8S Family Hardware Manual

Advertisement

Section 22 USB Function Module (USB)
22.8

DTC Transfer

22.8.1
Overview
DTC transfer can be performed for endpoints 1 and 2 in this module. Note that longword data
cannot be transferred.
When endpoint 1 holds at least one byte of valid receive data, a DTC request for endpoint 1 is
generated. When endpoint 2 holds no valid data, a DTC request for endpoint 2 is generated.
If the DTC transfer is enabled by setting the EP1DMAE bit in the DTC transfer setting register to
1, zero-length data reception at endpoint 1 is ignored. When the DTC transfer is enabled, the
RDFN bit for EP1 and PKTE bit for EP2 do not need to be set to 1 in TRG (note that the PKTE bit
must be set to 1 when the transfer data is less than the maximum number of bytes). When all the
data received at EP1 is read, the FIFO automatically enters the EMPTY state. When the maximum
number of bytes (64 bytes) are written to the EP2 FIFO, the FIFO automatically enters the FULL
state, and the data in the FIFO can be transmitted (see figures 22.20 and 22.21). Since the request
for a DTC transfer end interrupt is not automatically cleared, it should be cleared within the
interrupt processing.
Rev. 1.00 Mar. 12, 2008 Page 886 of 1178
REJ09B0403-0100

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472