MPIRecorderTriggerUser
Definition
typedef struct MPIRecorderTriggerUser { MPIRecorderTriggerCondition condition; int32_t *addr; uint32_t mask; uint32_t pattern; uint32_t count; } MPIRecorderTriggerUser;
Description
MPIRecorderTriggerUser specifies the configurations for a user specified data recorder trigger.
condition | The logic that determines how to evaluate the addr, mask, and pattern. See the MPIRecorderTriggerCondition enumeration. |
---|---|
*addr | A pointer to a controller address. |
mask | A bit mask ANDed with the value at the controller address. |
pattern | A bit pattern compared to the masked value at the controller address. |
count | The number of records to collect when the recorder is triggered. This is valid for both start and stop triggers. The valid range is 0 to the recorder buffer size configured by mpiControlConfigSet(...).When used for the start trigger, the valid values range from -1 (continuous recording) to the maximum number of records available in the data recorder buffer.When used for the stop trigger, count records will be collected after the trigger has triggered. |
See Also
MPIRecorderTrigger | mpiRecorderConfigGet | mpiRecorderConfigSet