Usb Interrupt Flag Register 1 (Usbifr1) - Renesas HD6417641 Hardware Manual

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

Advertisement

Bit
Bit Name
2
EP0oTS
1
EP0iTR
0
EP0iTS
20.3.2

USB Interrupt Flag Register 1 (USBIFR1)

Together with USB interrupt flag registers 0 (USBIFR0) and 2 (USBIFR2), USBIFR1 indicates
interrupt status information required by the application. When an interrupt occurs, the
corresponding bit is set to 1 and an interrupt request is sent to the CPU according to the
combination with USB interrupt enable register 1 (USBIER1). Clearing is performed by writing 0
to the bit to be cleared, and 1 to the other bits. However, VBUSMN is a status bit, and cannot be
cleared.
USBIFR1 is initialized to H'20 by a power-on reset.
Bit
Bit Name
7 to 4
3
VBUSMN
Initial
Value
R/W
Description
0
R/W
EP0o Receive Complete
This bit is set to 1 when endpoint 0 receives data from
the host normally, stores the data in the FIFO buffer,
and returns an ACK handshake to the host.
0
R/W
EP0i Transfer Request
This bit is set if there is no valid transmit data in the
FIFO buffer when an IN token for endpoint 0 is
received from the host. A NACK handshake is
returned to the host until data is written to the FIFO
buffer and packet transmission is enabled.
0
R/W
EP0i Transmit Complete
This bit is set when data is transmitted to the host
from endpoint 0 and an ACK handshake is returned.
Initial
Value
R/W
Description
All 0
R
Reserved
The write value should always be 0.
0
R
Status bit for monitoring the status of the VBUS pin.
The status of the VBUS pin is reflected.
0: Disconnected
1: Connected
Section 20 USB Function Module
Rev. 4.00 Sep. 14, 2005 Page 751 of 982
REJ09B0023-0400

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7641

Table of Contents