Usbep2 Data Register (Usbepdr2); Usbep3 Data Register (Usbepdr3); Usbep0O Receive Data Size Register (Usbepsz0O) - Renesas HD6417641 Hardware Manual

32-bit risc microcomputer superh risc engine family / sh7641 series
Table of Contents

Advertisement

Section 20 USB Function Module

20.3.13 USBEP2 Data Register (USBEPDR2)

USBEPDR2 is a 128-byte transmit FIFO buffer for endpoint 2. USBEPDR2 has a dual-buffer
configuration, and has a capacity of twice the maximum packet size. When transmit data is written
to this FIFO buffer and the EP2PKTE bit in the USB trigger register is set, one packet of transmit
data is fixed, and the dual buffer is switched over. Transmit data for this FIFO buffer can be
transferred by DMA (dual address transfer byte by byte).
USBEPDR2 can be initialized by means of the EP2CLR bit in USBFCLR.
Bit
Bit Name
31 to 0*
D31 to D0
Note:
7 to 0 bits for DMA transfer.
*

20.3.14 USBEP3 Data Register (USBEPDR3)

USBEPDR3 is an 8-byte transmit FIFO buffer for endpoint 3, holding one packet of transmit data
in endpoint 3 interrupt transfer. Transmit data is fixed by writing one packet of data and setting the
EP3PKTE bit in the USB trigger register. When an ACK handshake is received from the host after
one packet of data has been transmitted normally, the EP3TS bit in the USB interrupt flag register
0 is set.
USBEPDR3 can be initialized by means of the EP3CLR bit in USBFCLR.
Bit
Bit Name
7 to 0
D7 to D0

20.3.15 USBEP0o Receive Data Size Register (USBEPSZ0o)

USBEPSZ0o indicates, in bytes, the amount of data received from the host by endpoint 0o.
USBEPSZ0o can be initialized to H'00 by a power-on reset.
Bit
Bit Name
7 to 0
Rev. 4.00 Sep. 14, 2005 Page 758 of 982
REJ09B0023-0400
Initial
Value
R/W
Description
Undefined W
Data register for endpoint 2 transfer
Initial
Value
R/W
Description
Undefined W
Data register for endpoint 3 transfer
Initial
Value
R/W
Description
All 0
R
Number of bytes received by endpoint 0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7641

Table of Contents