
EZ-USB FX2 Technical Reference Manual
Page 15-50 EZ-USB FX2 Technical Reference Manual v2.1
15.7.6 GPIF Interrupt Enable/Request
Figure 15-47. GPIF Interrupt Enable
Figure 15-48. GPIF Interrupt Request
Bit 1 GPIFWF FIFO Read/Write Waveform
GPIF-to-firmware “hook” in Waveform, when waveform descriptor is programmed to assert the
GPIFWF interrupt.
Bit 0 GPIFDONE GPIF Idle State
0 = Transaction in progress.
1 = Transaction Done (GPIF is idle, hence GPIF is ready for next Transaction). Fires IRQ4 if
enabled.
The firmware clears an interrupt request bit by writing a “1” to it.
Do not clear an IRQ bit by reading an IRQ Register, ORing its contents with a bit mask, and writ-
ing back the IRQ Register. This will clear ALL pending interrupts. Instead, simply write the bit mask
value (with a “1” in the bit position of the IRQ you want to clear) directly to the IRQ Register.
GPIFIE
see Section 15.14
GPIF Interrupt Enable (INT4) E660
b7 b6 b5 b4 b3 b2 b1 b0
0 0 0 0 0 0 GPIFWF GPIFDONE
R/W R/W R/W R/W R/W R/W R/W R/W
0 0 0 0 0 0 0 0
GPIFIRQ
see Section 15.14
GPIF Interrupt Request (INT4) E661
b7 b6 b5 b4 b3 b2 b1 b0
0 0 0 0 0 0 GPIFWF GPIFDONE
R/W R/W R/W R/W R/W R/W R/W R/W
0 0 0 0 0 0 0 0
Comentarios a estos manuales