Usb Data Status Register (Usbdasts) - Renesas HD6417641 Hardware Manual

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

Advertisement

Section 20 USB Function Module
Bit
Bit Name
2
EP0sRDFN
1
EP0oRDFN
0
EP0iPKTE

20.3.18 USB Data Status Register (USBDASTS)

USBDASTS indicates whether the transmit FIFO buffers contain valid data. A bit is set to 1 when
data is written to the corresponding FIFO buffer and the packet enable state is set. This bit is
cleared when all data has been transmitted to the host.
In the case of dual-FIFO buffer for endpoint 2, this bit is cleared when all data on two FIFOs has
been transmitted to the host.
USBDASTS can be initialized to H'00 by a power-on reset.
Bit
Bit Name
7, 6
5
EP3DE
Rev. 4.00 Sep. 14, 2005 Page 760 of 982
REJ09B0023-0400
Initial
Value
R/W
Description
0
W
EP0s Read Complete
Write 1 to this bit after EP0s command FIFO data has
been read. Writing 1 to this bit enables
transmission/reception of data in the following data
stage. A NACK handshake is returned in response to
transmit/receive requests from the host in the data
stage until 1 is written to this bit.
0
W
EP0o Read Complete
Writing 1 to this bit after one packet of data has been
read from the endpoint 0 transmit FIFO buffer
initializes the FIFO buffer, enabling the next packet to
be received.
0
W
EP0i Packet Enable
After one packet of data has been written to the
endpoint 0 transmit FIFO buffer, the transmit data is
fixed by writing 1 to this bit.
Initial
Value
R/W
Description
All 0
R
Reserved
The write value should always be 0.
0
R
EP3 Data Present
This bit is set when the endpoint 3 FIFO buffer
contains valid data.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7641

Table of Contents