Datasheet

Table Of Contents
Section 15 Universal Serial Bus Interface (USB)
Page 524 of 846 REJ09B0140-0900 Rev. 9.00
Sep 16, 2010
H8S/2215 Group
15.3.29 USB Interrupt Flag Register 2 (UIFR2) (Only in H8S/2215)
UIFR2 is an interrupt flag register indicating the state of EP4i, EP4o, and EP5i. If the
corresponding bit is set to 1, the corresponding EXIRQ0 or EXIRQ1 interrupt is requested to the
CPU. EP4iTR EP5iTS and EP4iTR flags can cleared by writing 0 to them. Writing 1 to them is
invalid and causes no operation. However, EP4iEMPTY and EP4oREADY are status bits
indicating the EP4i and EP4o FIFO status, and cannot be cleared.
Bit Bit Name Initial Value R/W Description
7, 6 All 0 R Reserved
These bits are always read as 0 and cannot be
modified.
5
EP5iTR
0
R/(W)
*
EP5i Transfer Request
Set to 1 if there is no valid transmit data in the FIFO
when an IN token is sent from the host to EP5i. The
corresponding interrupt output is EXIRQ0 or EXIRQ1.
4
EP5iTS
0
R/(W)
*
EP5i Transfer Complete
Set to 1 if the transmit data written in EP5i is
transferred to the host normally and the ACK
handshake is returned. The corresponding interrupt
output is EXIRQ0 or EXIRQ1.
3
0
R
Reserved
This bit is always read as 0 and cannot be modified.
2
EP4oREADY
0
R
EP4o Data Ready
EP4o FIFO has a dual-FIFO configuration. This flag is
set if there is a valid data in at least one EP4o FIFO.
This flag is cleared to 0 if there is no valid data in EP4o
FIFO. This flag is a status flag and cannot be cleared.
The corresponding interrupt output is EXIRQ0 or
EXIRQ1.
1
EP4iTR
0
R/(W)
*
EP4i Transfer Request
Set to 1 if the EP4i FIFO is empty when an IN token is
sent form the host to EPi4. The corresponding
interrupt output is EXIRQ0 or EXIRQ1.
0
EP4iEMPTY
1
R
EP4i FIFO Empty
EP4i FIFO has a dual-FIFO configuration. This flag is
set if at least one EP4i FIFO is empty. This flag is
cleared to 0 if EP4i FIFO is full. This flag is a status
flag and cannot be cleared. The corresponding
interrupt output is EXIRQ0 or EXIRQ1.
Note: * The write value should always be 0 to clear this flag.