Trigger configuration.
Declaration
typedef struct
{
u32 TriggerEnable;
u32 Mode;
u32 TuserEdgeLevel;
u32 StateOutput;
u32 TUSERBit;
} XDfePrach_Trigger;
Member | Description |
---|---|
TriggerEnable | [0,1], Enable Trigger:
|
Mode | [0-3], Specify Trigger Mode. In TUSER_Single_Shot mode as soon as the TUSER_Edge_level condition is met the State output will be driven to the value specified in STATE_OUTPUT. The Pulse output will pulse high at the same time. No further change will occur until the trigger register is re-written. In TUSER Continuous mode each time a TUSER_Edge_level condition is met the State output will be driven to the value specified in STATE_OUTPUT This will happen continuously until the trigger register is re-written. The pulse output is disabled in Continuous mode:
|
TuserEdgeLevel | [0-3], Specify either Edge or Level of the TUSER input as the source condition of the trigger. Difference between Level and Edge is Level will generate a trigger immediately the TUSER level is detected. Edge will ensure a TUSER transition has come first:
|
StateOutput | [0,1], Specify the State output value:
|
TUSERBit | [0-255], Specify which DIN TUSER bit to use as the source for the trigger when MODE = 1 or 2. |