Download downloading

Transcript
PT_QCounterConfigSys
typedef struct tagPT_QCounterConfigSys
{
USHORT
SysClock;
USHORT
TimeBase;
USHORT
TimeDivider;
USHORT
CascadeMode;
} PT_QCounterConfigSys, FAR * LPT_QCounterConfigSys;
PT_QCounterConfigSys is used by DRV_QCounterConfigSys
function .
Member Description
Name
DeviceHandle
SysClock
Input
Input
Direction
Type
long
unsigned short
TimeBase
Input
unsigned short
TimeDivider
CascadeMode
Input
Input
unsigned short
unsigned short
Description
assigned by DeviceOpen
clock frequency for digital
filter, you can set
SYS8MHZ(0),
SYS4MHZ(1),
SYS2MHZ(2)
16C54 time base control.
TPOINT1MS(0)=0.1 ms,
T1MS(1)=1ms,
T10MS(2)= 10ms,
T100MS(3)=100ms,
T10000MS(4)=1second
divider control value
cascade mode
NOCASCADE(0),
CASCADE(1)
Table 5-146: PT_QCounterConfigSys Member Description
Chapter 5 Functions Reference
297