PT_QCounterStart

typedef struct tagPT_QCounterStart
{
    INT16U counter;
    INT16U InputMode;
} PT_QCounterStart, * LPT_QCounterStart;

PT_QCounterStart is used in function DRV_QCounterStart

Member Description

Name Direction Description
counter input The number of the specified counter.
From a minimum of zero for the first channel to the maximum channel number minus one. For example, the range is from 0 to (N-1) on a device with N counter channels.
InputMode 1)DISABLE
2)ABPHASEX1
3)ABPHASEX2
4)ABPHASEX4
5)TWOPULSEIN
6)ONEPULSEIN
The input mode control.
1) Disable mode
2) Quadrature ABPHASEX1
3) Quadrature ABPHASEX2
4) Quadrature ABPHASEX4
5) 2 pulse input mode
6) 1 pulse input mode