MPICaptureTriggerMotor

Declaration

typedef struct MPICaptureTriggerMotor {
        MPICaptureEdge            edge;
        MPICaptureInputFilter     inputFilter;
        MPICaptureIoType ioType;          /* dedicated input or general purpose I/O */
        MPIMotorDedicatedIn dedicatedIn;  /* Used only if ioType is MPICaptureIoTypeMOTOR_DEDICATED */
        MPIMotorGeneralIo generalIn;      /* Used only if ioType is MPICaptureIoTypeMOTOR_GENERAL */
} MPICaptureTriggerMotor;

Required Header: capture.h

Change History: Added in 04.00.

Description

MPICaptureTriggerMotor a structure describing a MPICaptureTriggerTypeMotor type capture trigger.

edge
A MPICaptureEdge enumerated value representing the input signal edge to trigger a capture.
inputFilter
MPICaptureInputFilter specifying the debounce filter applied to the triggering signal.
ioType
Specifies whether the dedicatedIn or generalIn field is used.
dedicatedIn
A MPIMotorDedicatedIn input bit for a motor object.
generalIn
A MPIMotorGeneralIo general input bit for a motor object.