typedef struct MPICaptureConfig {
MPICaptureTrigger source[MPICaptureSourceCOUNT];
MPICaptureEdge edge;
MPICaptureTriggerGlobal global;
MPICaptureType type;
long captureMotorNumber;
long feedbackMotorNumber;
/* the same as captureMotorNumber for POSITION capture */
MPIMotorEncoder encoder;
long captureIndex /* 0, 1,... */
} MPICaptureConfig;
typedef struct MPICaptureTrigger {
long enabled; /* TRUE/FALSE */
long invert; /* TRUE = invert, FALSE = normal */
} MPICaptureTrigger;
typedef struct MPICaptureTriggerGlobal {
long enabled; /* TRUE/FALSE */
} MPICaptureTriggerGlobal;
|