EZ-USB FX3 Technical Reference Manual, Document Number: 001-76074 Rev. *F 346
GPIF_WAVEFORM_CTRL_STAT
0xE0014118
10.7.39 GPIF_WAVEFORM_CTRL_STAT
Waveform Program Control Register
Offers the facility to program new waveforms to GPIF. Provides current status of GPIF.
31:24 CURRENT_STATE[7:0] Current state of GPIF. Always updated.
23:16 ALPHA_INIT[7:0] Initial values for alpha outputs. These are loaded into the alpha registers when GPIF execution starts
(first WAVEFORM_SWITCH) is set.
11 CPU_LAMBDA Visible to the state machine as lambda 30.
10:8 GPIF_STAT[2:0] 0 Waveform is not valid (Initial state or WAVEFORM_VALID is cleared)
1 <unused>
2 GPIF is armed (WAVEFORM_VALID is set)
3 GPIF is running (using WAVEFORM_SWITCH)
4 GPIF is done (encountered DONE_STATE)
5 GPIF is paused (PAUSE = 0)
6 GPIF is switching (waiting for timeout/terminal state)
7 An error occurred
1 PAUSE Write 1 here to pause GPIF. 0 to resume where left off.
0 WAVEFORM_VALID 0 Waveforms are no longer valid, stop operation and return outputs to default state
GPIF_WAVEFORM_CTRL_STAT Waveform Program Control Register 0xE0014118
b31 b30 b29 b28 b27 b26 b25 b24
CURRENT_STATE[7:0]
RRRRRRRR
R/w R/w R/w R/w R/w R/w R/w R/w
00000000
GPIF_DATA_CTRL Data Control Register
b23 b22 b21 b20 b19 b18 b17 b16
ALPHA_INIT[7:0]
R/W R/W R/W R/W R/W R/W R/W R/W
RRRRRRRR
00000000
GPIF_DATA_CTRL Data Control Register
b15 b14 b13 b12 b11 b10 b9 b8
CPU_LAMBDA GPIF_STAT[2:0]
R/W R R R
R R/w R/w R/w
0000
GPIF_DATA_CTRL Data Control Register
b7 b6 b5 b4 b3 b2 b1 b0
PAUSE
WAVEFORM_VALI
D
R/W R/W
RR
00
Bit Name Description