Rev. 3.0, 10/02, page 464 of 686
15.3.27
USB Interrupt Flag Register 1 (UIFR1)
UIFR1 is an interrupt flag register indicating the EP2i, EP2o, EP3i, and EP3o. If the corresponding
bit is set to 1, the corresponding
EXIRQ0
or
EXIRQ1
interrupt is requested from the CPU.
EP2iTR and EP3iTR flags can cleared by writing 0 to them. Writing 1 to them is invalid and
causes no operation.
However, EP2iEMPTY, EP2oREDY, EP3oTS and EP3oTF are status bits,
and cannot be cleared.
Bit
Bit Name
Initial Value
R/W
Description
7
EP3oTF
0
R
EP3o Abnormal Receive
Indicates the status of EP3o FIFO, which can be read
after the next SOF packet has been received following
the data transmission from the host. This flag is set to
1 if a PID error, CRC error, bit staff error, data size
error, or Bad EOP occurs when the data is transferred
from the host to the EP3o. This is a status bit and
cannot be cleared. In addition, an interrupt cannot be
requested by this flag.
6
EP3oTS
0
R
EP3o Normal Receive
Indicates the status of EP3o FIFO, which can be read
after the next SOF packet has been received following
the data transmission from the host. This flag is set to
1 if data is normally transferred from the host to the
EP3o. This is a status bit and cannot be cleared. In
addition, an interrupt cannot be requested by this flag.
5
EP3iTF
0
R/(W)
*
EP3o Abnormal Transfer
Set to 1 if data to be written to the EP3i FIFO is lost
because no IN token has been returned. This flag is
set when the SOF packet that is two packets after the
data write is received. The corresponding interrupt
output is
EXIRQ0
or
EXIRQ1
.
4
EP3iTR
0
R/(W)
*
EP3i Transfer Request
Set to 1 if there is no valid transmit data in the FIFO to
be accessed by the UDC when an IN token is sent
from the host to EP3i. The corresponding interrupt
output is
EXIRQ0
or
EXIRQ1
.
Note:
*
The write value should always be 0 to clear this flag.
Summary of Contents for H8S/2215 Series
Page 4: ...Rev 3 0 10 02 page iv of lviii ...
Page 6: ...Rev 3 0 10 02 page vi of lviii ...
Page 28: ...Rev 3 0 10 02 page xxviii of lviii ...
Page 122: ...Rev 3 0 10 02 page 64 of 686 ...
Page 132: ...Rev 3 0 10 02 page 74 of 686 ...
Page 156: ...Rev 3 0 10 02 page 98 of 686 ...
Page 198: ...Rev 3 0 10 02 page 140 of 686 ...
Page 320: ...Rev 3 0 10 02 page 262 of 686 ...
Page 384: ...Rev 3 0 10 02 page 326 of 686 ...
Page 474: ...Rev 3 0 10 02 page 416 of 686 ...
Page 608: ...Rev 3 0 10 02 page 550 of 686 ...
Page 614: ...Rev 3 0 10 02 page 556 of 686 ...
Page 650: ...Rev 3 0 10 02 page 592 of 686 ...
Page 652: ...Rev 3 0 10 02 page 594 of 686 ...
Page 680: ...Rev 3 0 10 02 page 622 of 686 ...
Page 732: ...Rev 3 0 10 02 page 674 of 686 ...
Page 740: ...Rev 3 0 10 02 page 682 of 686 ...