Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
APCI1710_INCCPT.h File Reference

Go to the source code of this file.

Macros

#define APCI1710_16BIT_COUNTER   0x10
 
#define APCI1710_32BIT_COUNTER   0x0
 
#define APCI1710_QUADRUPLE_MODE   0x0
 
#define APCI1710_DOUBLE_MODE   0x3
 
#define APCI1710_SIMPLE_MODE   0xF
 
#define APCI1710_DIRECT_MODE   0x80
 
#define APCI1710_HYSTERESIS_ON   0x60
 
#define APCI1710_HYSTERESIS_OFF   0x0
 
#define APCI1710_INCREMENT   0x60
 
#define APCI1710_DECREMENT   0x0
 
#define APCI1710_LATCH_COUNTER   0x1
 
#define APCI1710_CLEAR_COUNTER   0x0
 
#define APCI1710_LOW   0x0
 
#define APCI1710_HIGH   0x1
 
#define APCI1710_HIGH_EDGE_CLEAR_COUNTER   0x0
 
#define APCI1710_HIGH_EDGE_LATCH_COUNTER   0x1
 
#define APCI1710_LOW_EDGE_CLEAR_COUNTER   0x2
 
#define APCI1710_LOW_EDGE_LATCH_COUNTER   0x3
 
#define APCI1710_HIGH_EDGE_LATCH_AND_CLEAR_COUNTER   0x4
 
#define APCI1710_LOW_EDGE_LATCH_AND_CLEAR_COUNTER   0x5
 
#define APCI1710_SOURCE_0   0x0
 
#define APCI1710_SOURCE_1   0x1
 
#define APCI1710_30MHZ   30
 
#define APCI1710_33MHZ   33
 
#define APCI1710_40MHZ   40
 
#define APCI1710_ENABLE_LATCH_INT   0x80
 
#define APCI1710_DISABLE_LATCH_INT   (~APCI1710_ENABLE_LATCH_INT)
 
#define APCI1710_INDEX_LATCH_COUNTER   0x10
 
#define APCI1710_INDEX_AUTO_MODE   0x8
 
#define APCI1710_ENABLE_INDEX   0x4
 
#define APCI1710_DISABLE_INDEX   (~APCI1710_ENABLE_INDEX)
 
#define APCI1710_ENABLE_LATCH_AND_CLEAR   0x8
 
#define APCI1710_DISABLE_LATCH_AND_CLEAR   (~APCI1710_ENABLE_LATCH_AND_CLEAR)
 
#define APCI1710_SET_LOW_INDEX_LEVEL   0x4
 
#define APCI1710_SET_HIGH_INDEX_LEVEL   (~APCI1710_SET_LOW_INDEX_LEVEL)
 
#define APCI1710_INVERT_INDEX_RFERENCE   0x2
 
#define APCI1710_DEFAULT_INDEX_RFERENCE   (~APCI1710_INVERT_INDEX_RFERENCE)
 
#define APCI1710_ENABLE_INDEX_INT   0x1
 
#define APCI1710_DISABLE_INDEX_INT   (~APCI1710_ENABLE_INDEX_INT)
 
#define APCI1710_ENABLE_FREQUENCY   0x4
 
#define APCI1710_DISABLE_FREQUENCY   (~APCI1710_ENABLE_FREQUENCY)
 
#define APCI1710_ENABLE_FREQUENCY_INT   0x8
 
#define APCI1710_DISABLE_FREQUENCY_INT   (~APCI1710_ENABLE_FREQUENCY_INT)
 
#define APCI1710_ENABLE_40MHZ_FREQUENCY   0x40
 
#define APCI1710_DISABLE_40MHZ_FREQUENCY   (~APCI1710_ENABLE_40MHZ_FREQUENCY)
 
#define APCI1710_ENABLE_40MHZ_FILTER   0x80
 
#define APCI1710_DISABLE_40MHZ_FILTER   (~APCI1710_ENABLE_40MHZ_FILTER)
 
#define APCI1710_ENABLE_COMPARE_INT   0x2
 
#define APCI1710_DISABLE_COMPARE_INT   (~APCI1710_ENABLE_COMPARE_INT)
 
#define APCI1710_ENABLE_INDEX_ACTION   0x20
 
#define APCI1710_DISABLE_INDEX_ACTION   (~APCI1710_ENABLE_INDEX_ACTION)
 
#define APCI1710_REFERENCE_HIGH   0x40
 
#define APCI1710_REFERENCE_LOW   (~APCI1710_REFERENCE_HIGH)
 
#define APCI1710_TOR_GATE_LOW   0x40
 
#define APCI1710_TOR_GATE_HIGH   (~APCI1710_TOR_GATE_LOW)
 
#define APCI1710_INCCPT_INITCOUNTER   100
 
#define APCI1710_INCCPT_COUNTERAUTOTEST   101
 
#define APCI1710_INCCPT_INITINDEX   102
 
#define APCI1710_INCCPT_INITREFERENCE   103
 
#define APCI1710_INCCPT_INITEXTERNALSTROBE   104
 
#define APCI1710_INCCPT_INITCOMPARELOGIC   105
 
#define APCI1710_INCCPT_INITFREQUENCYMEASUREMENT   106
 
#define APCI1710_INCCPT_READLATCHREGISTERSTATUS   200
 
#define APCI1710_INCCPT_READLATCHREGISTERVALUE   201
 
#define APCI1710_INCCPT_READ16BITCOUNTERVALUE   202
 
#define APCI1710_INCCPT_READ32BITCOUNTERVALUE   203
 
#define APCI1710_INCCPT_GETINDEXSTATUS   204
 
#define APCI1710_INCCPT_GETREFERENCESTATUS   205
 
#define APCI1710_INCCPT_GETUASSTATUS   206
 
#define APCI1710_INCCPT_GETCBSTATUS   207
 
#define APCI1710_INCCPT_GET16BITCBSTATUS   208
 
#define APCI1710_INCCPT_GETUDSTATUS   209
 
#define APCI1710_INCCPT_GETINTERRUPTUDLATCHEDSTATUS   210
 
#define APCI1710_INCCPT_READFREQUENCYMEASUREMENT   211
 
#define APCI1710_INCCPT_READINTERRUPT   212
 
#define APCI1710_INCCPT_CLEARCOUNTERVALUE   300
 
#define APCI1710_INCCPT_CLEARALLCOUNTERVALUE   301
 
#define APCI1710_INCCPT_SETINPUTFILTER   302
 
#define APCI1710_INCCPT_LATCHCOUNTER   303
 
#define APCI1710_INCCPT_SETINDEXANDREFERENCESOURCE   304
 
#define APCI1710_INCCPT_SETDIGITALCHLON   305
 
#define APCI1710_INCCPT_SETDIGITALCHLOFF   306
 
#define APCI1710_INCCPT_ENABLELATCHINTERRUPT   400
 
#define APCI1710_INCCPT_DISABLELATCHINTERRUPT   401
 
#define APCI1710_INCCPT_WRITE16BITCOUNTERVALUE   402
 
#define APCI1710_INCCPT_WRITE32BITCOUNTERVALUE   403
 
#define APCI1710_INCCPT_ENABLEINDEX   404
 
#define APCI1710_INCCPT_DISABLEINDEX   405
 
#define APCI1710_INCCPT_ENABLECOMPARELOGIC   406
 
#define APCI1710_INCCPT_DISABLECOMPARELOGIC   407
 
#define APCI1710_INCCPT_ENABLEFREQUENCYMEASUREMENT   408
 
#define APCI1710_INCCPT_DISABLEFREQUENCYMEASUREMENT   409
 

Functions

int i_APCI1710_InsnConfigINCCPT (struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data)
 
int i_APCI1710_InsnBitsINCCPT (struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data)
 
int i_APCI1710_InsnWriteINCCPT (struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data)
 
int i_APCI1710_InsnReadINCCPT (struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data)
 
int i_APCI1710_InitCounter (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_CounterRange, unsigned char b_FirstCounterModus, unsigned char b_FirstCounterOption, unsigned char b_SecondCounterModus, unsigned char b_SecondCounterOption)
 
int i_APCI1710_CounterAutoTest (struct comedi_device *dev, unsigned char *pb_TestStatus)
 
int i_APCI1710_InitIndex (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_ReferenceAction, unsigned char b_IndexOperation, unsigned char b_AutoMode, unsigned char b_InterruptEnable)
 
int i_APCI1710_InitReference (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_ReferenceLevel)
 
int i_APCI1710_InitExternalStrobe (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_ExternalStrobe, unsigned char b_ExternalStrobeLevel)
 
int i_APCI1710_InitCompareLogic (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned int ui_CompareValue)
 
int i_APCI1710_InitFrequencyMeasurement (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_PCIInputClock, unsigned char b_TimingUnity, unsigned int ul_TimingInterval, unsigned int *pul_RealTimingInterval)
 
int i_APCI1710_ClearCounterValue (struct comedi_device *dev, unsigned char b_ModulNbr)
 
int i_APCI1710_ClearAllCounterValue (struct comedi_device *dev)
 
int i_APCI1710_SetInputFilter (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_PCIInputClock, unsigned char b_Filter)
 
int i_APCI1710_LatchCounter (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_LatchReg)
 
int i_APCI1710_SetIndexAndReferenceSource (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_SourceSelection)
 
int i_APCI1710_SetDigitalChlOn (struct comedi_device *dev, unsigned char b_ModulNbr)
 
int i_APCI1710_SetDigitalChlOff (struct comedi_device *dev, unsigned char b_ModulNbr)
 
int i_APCI1710_EnableLatchInterrupt (struct comedi_device *dev, unsigned char b_ModulNbr)
 
int i_APCI1710_DisableLatchInterrupt (struct comedi_device *dev, unsigned char b_ModulNbr)
 
int i_APCI1710_Write16BitCounterValue (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_SelectedCounter, unsigned int ui_WriteValue)
 
int i_APCI1710_Write32BitCounterValue (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned int ul_WriteValue)
 
int i_APCI1710_EnableIndex (struct comedi_device *dev, unsigned char b_ModulNbr)
 
int i_APCI1710_DisableIndex (struct comedi_device *dev, unsigned char b_ModulNbr)
 
int i_APCI1710_EnableCompareLogic (struct comedi_device *dev, unsigned char b_ModulNbr)
 
int i_APCI1710_DisableCompareLogic (struct comedi_device *dev, unsigned char b_ModulNbr)
 
int i_APCI1710_EnableFrequencyMeasurement (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_InterruptEnable)
 
int i_APCI1710_DisableFrequencyMeasurement (struct comedi_device *dev, unsigned char b_ModulNbr)
 
int i_APCI1710_ReadLatchRegisterStatus (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_LatchReg, unsigned char *pb_LatchStatus)
 
int i_APCI1710_ReadLatchRegisterValue (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_LatchReg, unsigned int *pul_LatchValue)
 
int i_APCI1710_Read16BitCounterValue (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char b_SelectedCounter, unsigned int *pui_CounterValue)
 
int i_APCI1710_Read32BitCounterValue (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned int *pul_CounterValue)
 
int i_APCI1710_GetIndexStatus (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char *pb_IndexStatus)
 
int i_APCI1710_GetReferenceStatus (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char *pb_ReferenceStatus)
 
int i_APCI1710_GetUASStatus (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char *pb_UASStatus)
 
int i_APCI1710_GetCBStatus (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char *pb_CBStatus)
 
int i_APCI1710_Get16BitCBStatus (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char *pb_CBStatusCounter0, unsigned char *pb_CBStatusCounter1)
 
int i_APCI1710_GetUDStatus (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char *pb_UDStatus)
 
int i_APCI1710_GetInterruptUDLatchedStatus (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char *pb_UDStatus)
 
int i_APCI1710_ReadFrequencyMeasurement (struct comedi_device *dev, unsigned char b_ModulNbr, unsigned char *pb_Status, unsigned char *pb_UDStatus, unsigned int *pul_ReadValue)
 

Macro Definition Documentation

#define APCI1710_16BIT_COUNTER   0x10

Definition at line 18 of file APCI1710_INCCPT.h.

#define APCI1710_30MHZ   30

Definition at line 45 of file APCI1710_INCCPT.h.

#define APCI1710_32BIT_COUNTER   0x0

Definition at line 19 of file APCI1710_INCCPT.h.

#define APCI1710_33MHZ   33

Definition at line 46 of file APCI1710_INCCPT.h.

#define APCI1710_40MHZ   40

Definition at line 47 of file APCI1710_INCCPT.h.

#define APCI1710_CLEAR_COUNTER   0x0

Definition at line 29 of file APCI1710_INCCPT.h.

#define APCI1710_DECREMENT   0x0

Definition at line 27 of file APCI1710_INCCPT.h.

#define APCI1710_DEFAULT_INDEX_RFERENCE   (~APCI1710_INVERT_INDEX_RFERENCE)

Definition at line 61 of file APCI1710_INCCPT.h.

#define APCI1710_DIRECT_MODE   0x80

Definition at line 23 of file APCI1710_INCCPT.h.

#define APCI1710_DISABLE_40MHZ_FILTER   (~APCI1710_ENABLE_40MHZ_FILTER)

Definition at line 76 of file APCI1710_INCCPT.h.

#define APCI1710_DISABLE_40MHZ_FREQUENCY   (~APCI1710_ENABLE_40MHZ_FREQUENCY)

Definition at line 73 of file APCI1710_INCCPT.h.

#define APCI1710_DISABLE_COMPARE_INT   (~APCI1710_ENABLE_COMPARE_INT)

Definition at line 79 of file APCI1710_INCCPT.h.

#define APCI1710_DISABLE_FREQUENCY   (~APCI1710_ENABLE_FREQUENCY)

Definition at line 67 of file APCI1710_INCCPT.h.

#define APCI1710_DISABLE_FREQUENCY_INT   (~APCI1710_ENABLE_FREQUENCY_INT)

Definition at line 70 of file APCI1710_INCCPT.h.

#define APCI1710_DISABLE_INDEX   (~APCI1710_ENABLE_INDEX)

Definition at line 55 of file APCI1710_INCCPT.h.

#define APCI1710_DISABLE_INDEX_ACTION   (~APCI1710_ENABLE_INDEX_ACTION)

Definition at line 82 of file APCI1710_INCCPT.h.

#define APCI1710_DISABLE_INDEX_INT   (~APCI1710_ENABLE_INDEX_INT)

Definition at line 64 of file APCI1710_INCCPT.h.

#define APCI1710_DISABLE_LATCH_AND_CLEAR   (~APCI1710_ENABLE_LATCH_AND_CLEAR)

Definition at line 57 of file APCI1710_INCCPT.h.

#define APCI1710_DISABLE_LATCH_INT   (~APCI1710_ENABLE_LATCH_INT)

Definition at line 50 of file APCI1710_INCCPT.h.

#define APCI1710_DOUBLE_MODE   0x3

Definition at line 21 of file APCI1710_INCCPT.h.

#define APCI1710_ENABLE_40MHZ_FILTER   0x80

Definition at line 75 of file APCI1710_INCCPT.h.

#define APCI1710_ENABLE_40MHZ_FREQUENCY   0x40

Definition at line 72 of file APCI1710_INCCPT.h.

#define APCI1710_ENABLE_COMPARE_INT   0x2

Definition at line 78 of file APCI1710_INCCPT.h.

#define APCI1710_ENABLE_FREQUENCY   0x4

Definition at line 66 of file APCI1710_INCCPT.h.

#define APCI1710_ENABLE_FREQUENCY_INT   0x8

Definition at line 69 of file APCI1710_INCCPT.h.

#define APCI1710_ENABLE_INDEX   0x4

Definition at line 54 of file APCI1710_INCCPT.h.

#define APCI1710_ENABLE_INDEX_ACTION   0x20

Definition at line 81 of file APCI1710_INCCPT.h.

#define APCI1710_ENABLE_INDEX_INT   0x1

Definition at line 63 of file APCI1710_INCCPT.h.

#define APCI1710_ENABLE_LATCH_AND_CLEAR   0x8

Definition at line 56 of file APCI1710_INCCPT.h.

#define APCI1710_ENABLE_LATCH_INT   0x80

Definition at line 49 of file APCI1710_INCCPT.h.

#define APCI1710_HIGH   0x1

Definition at line 31 of file APCI1710_INCCPT.h.

#define APCI1710_HIGH_EDGE_CLEAR_COUNTER   0x0

Definition at line 36 of file APCI1710_INCCPT.h.

#define APCI1710_HIGH_EDGE_LATCH_AND_CLEAR_COUNTER   0x4

Definition at line 40 of file APCI1710_INCCPT.h.

#define APCI1710_HIGH_EDGE_LATCH_COUNTER   0x1

Definition at line 37 of file APCI1710_INCCPT.h.

#define APCI1710_HYSTERESIS_OFF   0x0

Definition at line 25 of file APCI1710_INCCPT.h.

#define APCI1710_HYSTERESIS_ON   0x60

Definition at line 24 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_CLEARALLCOUNTERVALUE   301

Definition at line 115 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_CLEARCOUNTERVALUE   300

Definition at line 114 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_COUNTERAUTOTEST   101

Definition at line 91 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_DISABLECOMPARELOGIC   407

Definition at line 130 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_DISABLEFREQUENCYMEASUREMENT   409

Definition at line 132 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_DISABLEINDEX   405

Definition at line 128 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_DISABLELATCHINTERRUPT   401

Definition at line 124 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_ENABLECOMPARELOGIC   406

Definition at line 129 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_ENABLEFREQUENCYMEASUREMENT   408

Definition at line 131 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_ENABLEINDEX   404

Definition at line 127 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_ENABLELATCHINTERRUPT   400

Definition at line 123 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_GET16BITCBSTATUS   208

Definition at line 107 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_GETCBSTATUS   207

Definition at line 106 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_GETINDEXSTATUS   204

Definition at line 103 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_GETINTERRUPTUDLATCHEDSTATUS   210

Definition at line 109 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_GETREFERENCESTATUS   205

Definition at line 104 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_GETUASSTATUS   206

Definition at line 105 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_GETUDSTATUS   209

Definition at line 108 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_INITCOMPARELOGIC   105

Definition at line 95 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_INITCOUNTER   100

Definition at line 90 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_INITEXTERNALSTROBE   104

Definition at line 94 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_INITFREQUENCYMEASUREMENT   106

Definition at line 96 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_INITINDEX   102

Definition at line 92 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_INITREFERENCE   103

Definition at line 93 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_LATCHCOUNTER   303

Definition at line 117 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_READ16BITCOUNTERVALUE   202

Definition at line 101 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_READ32BITCOUNTERVALUE   203

Definition at line 102 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_READFREQUENCYMEASUREMENT   211

Definition at line 110 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_READINTERRUPT   212

Definition at line 111 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_READLATCHREGISTERSTATUS   200

Definition at line 99 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_READLATCHREGISTERVALUE   201

Definition at line 100 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_SETDIGITALCHLOFF   306

Definition at line 120 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_SETDIGITALCHLON   305

Definition at line 119 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_SETINDEXANDREFERENCESOURCE   304

Definition at line 118 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_SETINPUTFILTER   302

Definition at line 116 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_WRITE16BITCOUNTERVALUE   402

Definition at line 125 of file APCI1710_INCCPT.h.

#define APCI1710_INCCPT_WRITE32BITCOUNTERVALUE   403

Definition at line 126 of file APCI1710_INCCPT.h.

#define APCI1710_INCREMENT   0x60

Definition at line 26 of file APCI1710_INCCPT.h.

#define APCI1710_INDEX_AUTO_MODE   0x8

Definition at line 53 of file APCI1710_INCCPT.h.

#define APCI1710_INDEX_LATCH_COUNTER   0x10

Definition at line 52 of file APCI1710_INCCPT.h.

#define APCI1710_INVERT_INDEX_RFERENCE   0x2

Definition at line 60 of file APCI1710_INCCPT.h.

#define APCI1710_LATCH_COUNTER   0x1

Definition at line 28 of file APCI1710_INCCPT.h.

#define APCI1710_LOW   0x0

Definition at line 30 of file APCI1710_INCCPT.h.

#define APCI1710_LOW_EDGE_CLEAR_COUNTER   0x2

Definition at line 38 of file APCI1710_INCCPT.h.

#define APCI1710_LOW_EDGE_LATCH_AND_CLEAR_COUNTER   0x5

Definition at line 41 of file APCI1710_INCCPT.h.

#define APCI1710_LOW_EDGE_LATCH_COUNTER   0x3

Definition at line 39 of file APCI1710_INCCPT.h.

#define APCI1710_QUADRUPLE_MODE   0x0

Definition at line 20 of file APCI1710_INCCPT.h.

#define APCI1710_REFERENCE_HIGH   0x40

Definition at line 83 of file APCI1710_INCCPT.h.

#define APCI1710_REFERENCE_LOW   (~APCI1710_REFERENCE_HIGH)

Definition at line 84 of file APCI1710_INCCPT.h.

#define APCI1710_SET_HIGH_INDEX_LEVEL   (~APCI1710_SET_LOW_INDEX_LEVEL)

Definition at line 59 of file APCI1710_INCCPT.h.

#define APCI1710_SET_LOW_INDEX_LEVEL   0x4

Definition at line 58 of file APCI1710_INCCPT.h.

#define APCI1710_SIMPLE_MODE   0xF

Definition at line 22 of file APCI1710_INCCPT.h.

#define APCI1710_SOURCE_0   0x0

Definition at line 42 of file APCI1710_INCCPT.h.

#define APCI1710_SOURCE_1   0x1

Definition at line 43 of file APCI1710_INCCPT.h.

#define APCI1710_TOR_GATE_HIGH   (~APCI1710_TOR_GATE_LOW)

Definition at line 87 of file APCI1710_INCCPT.h.

#define APCI1710_TOR_GATE_LOW   0x40

Definition at line 86 of file APCI1710_INCCPT.h.

Function Documentation

int i_APCI1710_ClearAllCounterValue ( struct comedi_device dev)

Definition at line 2154 of file APCI1710_INCCPT.c.

int i_APCI1710_ClearCounterValue ( struct comedi_device dev,
unsigned char  b_ModulNbr 
)

Definition at line 2094 of file APCI1710_INCCPT.c.

int i_APCI1710_CounterAutoTest ( struct comedi_device dev,
unsigned char pb_TestStatus 
)

Definition at line 548 of file APCI1710_INCCPT.c.

int i_APCI1710_DisableCompareLogic ( struct comedi_device dev,
unsigned char  b_ModulNbr 
)

Definition at line 3683 of file APCI1710_INCCPT.c.

int i_APCI1710_DisableFrequencyMeasurement ( struct comedi_device dev,
unsigned char  b_ModulNbr 
)

Definition at line 3939 of file APCI1710_INCCPT.c.

int i_APCI1710_DisableIndex ( struct comedi_device dev,
unsigned char  b_ModulNbr 
)

Definition at line 3484 of file APCI1710_INCCPT.c.

int i_APCI1710_DisableLatchInterrupt ( struct comedi_device dev,
unsigned char  b_ModulNbr 
)

Definition at line 3136 of file APCI1710_INCCPT.c.

int i_APCI1710_EnableCompareLogic ( struct comedi_device dev,
unsigned char  b_ModulNbr 
)

Definition at line 3583 of file APCI1710_INCCPT.c.

int i_APCI1710_EnableFrequencyMeasurement ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_InterruptEnable 
)

Definition at line 3792 of file APCI1710_INCCPT.c.

int i_APCI1710_EnableIndex ( struct comedi_device dev,
unsigned char  b_ModulNbr 
)

Definition at line 3386 of file APCI1710_INCCPT.c.

int i_APCI1710_EnableLatchInterrupt ( struct comedi_device dev,
unsigned char  b_ModulNbr 
)

Definition at line 3050 of file APCI1710_INCCPT.c.

int i_APCI1710_Get16BitCBStatus ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char pb_CBStatusCounter0,
unsigned char pb_CBStatusCounter1 
)

Definition at line 4856 of file APCI1710_INCCPT.c.

int i_APCI1710_GetCBStatus ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char pb_CBStatus 
)

Definition at line 4774 of file APCI1710_INCCPT.c.

int i_APCI1710_GetIndexStatus ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char pb_IndexStatus 
)

Definition at line 4538 of file APCI1710_INCCPT.c.

int i_APCI1710_GetInterruptUDLatchedStatus ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char pb_UDStatus 
)

Definition at line 5043 of file APCI1710_INCCPT.c.

int i_APCI1710_GetReferenceStatus ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char pb_ReferenceStatus 
)

Definition at line 4622 of file APCI1710_INCCPT.c.

int i_APCI1710_GetUASStatus ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char pb_UASStatus 
)

Definition at line 4706 of file APCI1710_INCCPT.c.

int i_APCI1710_GetUDStatus ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char pb_UDStatus 
)

Definition at line 4969 of file APCI1710_INCCPT.c.

int i_APCI1710_InitCompareLogic ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned int  ui_CompareValue 
)

Definition at line 1394 of file APCI1710_INCCPT.c.

int i_APCI1710_InitCounter ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_CounterRange,
unsigned char  b_FirstCounterModus,
unsigned char  b_FirstCounterOption,
unsigned char  b_SecondCounterModus,
unsigned char  b_SecondCounterOption 
)

Definition at line 302 of file APCI1710_INCCPT.c.

int i_APCI1710_InitExternalStrobe ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_ExternalStrobe,
unsigned char  b_ExternalStrobeLevel 
)

Definition at line 1280 of file APCI1710_INCCPT.c.

int i_APCI1710_InitFrequencyMeasurement ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_PCIInputClock,
unsigned char  b_TimingUnity,
unsigned int  ul_TimingInterval,
unsigned int pul_RealTimingInterval 
)

Definition at line 1490 of file APCI1710_INCCPT.c.

int i_APCI1710_InitIndex ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_ReferenceAction,
unsigned char  b_IndexOperation,
unsigned char  b_AutoMode,
unsigned char  b_InterruptEnable 
)

Definition at line 711 of file APCI1710_INCCPT.c.

int i_APCI1710_InitReference ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_ReferenceLevel 
)

Definition at line 1155 of file APCI1710_INCCPT.c.

int i_APCI1710_InsnBitsINCCPT ( struct comedi_device dev,
struct comedi_subdevice s,
struct comedi_insn insn,
unsigned int data 
)

Definition at line 2018 of file APCI1710_INCCPT.c.

int i_APCI1710_InsnConfigINCCPT ( struct comedi_device dev,
struct comedi_subdevice s,
struct comedi_insn insn,
unsigned int data 
)
Copyright (C) 2004,2005  ADDI-DATA GmbH for the source code of this module.

    ADDI-DATA GmbH
    Dieselstrasse 3
    D-77833 Ottersweier
    Tel: +19(0)7223/9493-0
    Fax: +49(0)7223/9493-92
    http://www.addi-data.com
    [email protected]

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

You should also find the complete GPL in the COPYING file accompanying this source code.

Definition at line 78 of file APCI1710_INCCPT.c.

int i_APCI1710_InsnReadINCCPT ( struct comedi_device dev,
struct comedi_subdevice s,
struct comedi_insn insn,
unsigned int data 
)

Definition at line 4052 of file APCI1710_INCCPT.c.

int i_APCI1710_InsnWriteINCCPT ( struct comedi_device dev,
struct comedi_subdevice s,
struct comedi_insn insn,
unsigned int data 
)

Definition at line 2954 of file APCI1710_INCCPT.c.

int i_APCI1710_LatchCounter ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_LatchReg 
)

Definition at line 2564 of file APCI1710_INCCPT.c.

int i_APCI1710_Read16BitCounterValue ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_SelectedCounter,
unsigned int pui_CounterValue 
)

Definition at line 4367 of file APCI1710_INCCPT.c.

int i_APCI1710_Read32BitCounterValue ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned int pul_CounterValue 
)

Definition at line 4462 of file APCI1710_INCCPT.c.

int i_APCI1710_ReadFrequencyMeasurement ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char pb_Status,
unsigned char pb_UDStatus,
unsigned int pul_ReadValue 
)

Definition at line 5148 of file APCI1710_INCCPT.c.

int i_APCI1710_ReadLatchRegisterStatus ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_LatchReg,
unsigned char pb_LatchStatus 
)

Definition at line 4196 of file APCI1710_INCCPT.c.

int i_APCI1710_ReadLatchRegisterValue ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_LatchReg,
unsigned int pul_LatchValue 
)

Definition at line 4283 of file APCI1710_INCCPT.c.

int i_APCI1710_SetDigitalChlOff ( struct comedi_device dev,
unsigned char  b_ModulNbr 
)

Definition at line 2878 of file APCI1710_INCCPT.c.

int i_APCI1710_SetDigitalChlOn ( struct comedi_device dev,
unsigned char  b_ModulNbr 
)

Definition at line 2798 of file APCI1710_INCCPT.c.

int i_APCI1710_SetIndexAndReferenceSource ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_SourceSelection 
)

Definition at line 2661 of file APCI1710_INCCPT.c.

int i_APCI1710_SetInputFilter ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_PCIInputClock,
unsigned char  b_Filter 
)

Definition at line 2300 of file APCI1710_INCCPT.c.

int i_APCI1710_Write16BitCounterValue ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned char  b_SelectedCounter,
unsigned int  ui_WriteValue 
)

Definition at line 3234 of file APCI1710_INCCPT.c.

int i_APCI1710_Write32BitCounterValue ( struct comedi_device dev,
unsigned char  b_ModulNbr,
unsigned int  ul_WriteValue 
)

Definition at line 3319 of file APCI1710_INCCPT.c.