RTXI 1.3
comedi/comedi/drivers/addi-data/hwdrv_apci3200.h File Reference

Go to the source code of this file.

Classes

struct  str_ADDIDATA_RTDStruct
struct  str_Module
struct  str_BoardInfos

Defines

#define APCI3200_BOARD_VENDOR_ID   0x15B8
#define APCI3200_AI_OFFSET_GAIN   0
#define APCI3200_AI_SC_TEST   4
#define APCI3200_AI_IRQ   8
#define APCI3200_AI_AUTOCAL   12
#define APCI3200_RELOAD_CONV_TIME_VAL   32
#define APCI3200_CONV_TIME_TIME_BASE   36
#define APCI3200_RELOAD_DELAY_TIME_VAL   40
#define APCI3200_DELAY_TIME_TIME_BASE   44
#define APCI3200_AI_MODULE1   0
#define APCI3200_AI_MODULE2   64
#define APCI3200_AI_MODULE3   128
#define APCI3200_AI_MODULE4   192
#define TRUE   1
#define FALSE   0
#define APCI3200_AI_EOSIRQ   16
#define APCI3200_AI_EOS   20
#define APCI3200_AI_CHAN_ID   24
#define APCI3200_AI_CHAN_VAL   28
#define ANALOG_INPUT   0
#define TEMPERATURE   1
#define RESISTANCE   2
#define ENABLE_EXT_TRIG   1
#define ENABLE_EXT_GATE   2
#define ENABLE_EXT_TRIG_GATE   3
#define APCI3200_MAXVOLT   2.5
#define ADDIDATA_GREATER_THAN_TEST   0
#define ADDIDATA_LESS_THAN_TEST   1
#define ADDIDATA_UNIPOLAR   1
#define ADDIDATA_BIPOLAR   2
#define MAX_MODULE   4

Typedefs

typedef struct
str_ADDIDATA_RTDStruct
pstr_ADDIDATA_RTDStruct

Functions

INT i_APCI3200_ConfigAnalogInput (comedi_device *dev, comedi_subdevice *s, comedi_insn *insn, lsampl_t *data)
INT i_APCI3200_ReadAnalogInput (comedi_device *dev, comedi_subdevice *s, comedi_insn *insn, lsampl_t *data)
INT i_APCI3200_InsnWriteReleaseAnalogInput (comedi_device *dev, comedi_subdevice *s, comedi_insn *insn, lsampl_t *data)
INT i_APCI3200_InsnBits_AnalogInput_Test (comedi_device *dev, comedi_subdevice *s, comedi_insn *insn, lsampl_t *data)
INT i_APCI3200_StopCyclicAcquisition (comedi_device *dev, comedi_subdevice *s)
INT i_APCI3200_InterruptHandleEos (comedi_device *dev)
INT i_APCI3200_CommandTestAnalogInput (comedi_device *dev, comedi_subdevice *s, comedi_cmd *cmd)
INT i_APCI3200_CommandAnalogInput (comedi_device *dev, comedi_subdevice *s)
INT i_APCI3200_ReadDigitalInput (comedi_device *dev, comedi_subdevice *s, comedi_insn *insn, lsampl_t *data)
void v_APCI3200_Interrupt (int irq, void *d)
INT i_APCI3200_Reset (comedi_device *dev)
int i_APCI3200_ReadCJCCalOffset (comedi_device *dev, lsampl_t *data)
int i_APCI3200_ReadCJCValue (comedi_device *dev, lsampl_t *data)
int i_APCI3200_ReadCalibrationGainValue (comedi_device *dev, UINT *data)
int i_APCI3200_ReadCalibrationOffsetValue (comedi_device *dev, UINT *data)
int i_APCI3200_Read1AnalogInputChannel (comedi_device *dev, comedi_subdevice *s, comedi_insn *insn, lsampl_t *data)
int i_APCI3200_ReadCJCCalGain (comedi_device *dev, lsampl_t *data)

Variables

int MODULE_NO
struct {
   INT   i_Gain
   INT   i_Polarity
   INT   i_OffsetRange
   INT   i_Coupling
   INT   i_SingleDiff
   INT   i_AutoCalibration
   UINT   ui_ReloadValue
   UINT   ui_TimeUnitReloadVal
   INT   i_Interrupt
   INT   i_ModuleSelection
Config_Parameters_Module1
struct {
   INT   i_Gain
   INT   i_Polarity
   INT   i_OffsetRange
   INT   i_Coupling
   INT   i_SingleDiff
   INT   i_AutoCalibration
   UINT   ui_ReloadValue
   UINT   ui_TimeUnitReloadVal
   INT   i_Interrupt
   INT   i_ModuleSelection
Config_Parameters_Module2
struct {
   INT   i_Gain
   INT   i_Polarity
   INT   i_OffsetRange
   INT   i_Coupling
   INT   i_SingleDiff
   INT   i_AutoCalibration
   UINT   ui_ReloadValue
   UINT   ui_TimeUnitReloadVal
   INT   i_Interrupt
   INT   i_ModuleSelection
Config_Parameters_Module3
struct {
   INT   i_Gain
   INT   i_Polarity
   INT   i_OffsetRange
   INT   i_Coupling
   INT   i_SingleDiff
   INT   i_AutoCalibration
   UINT   ui_ReloadValue
   UINT   ui_TimeUnitReloadVal
   INT   i_Interrupt
   INT   i_ModuleSelection
Config_Parameters_Module4

Define Documentation

#define ADDIDATA_BIPOLAR   2

Definition at line 97 of file hwdrv_apci3200.h.

#define ADDIDATA_GREATER_THAN_TEST   0

Definition at line 93 of file hwdrv_apci3200.h.

#define ADDIDATA_LESS_THAN_TEST   1

Definition at line 94 of file hwdrv_apci3200.h.

#define ADDIDATA_UNIPOLAR   1

Definition at line 96 of file hwdrv_apci3200.h.

#define ANALOG_INPUT   0

Definition at line 84 of file hwdrv_apci3200.h.

#define APCI3200_AI_AUTOCAL   12

Definition at line 69 of file hwdrv_apci3200.h.

#define APCI3200_AI_CHAN_ID   24

Definition at line 82 of file hwdrv_apci3200.h.

#define APCI3200_AI_CHAN_VAL   28

Definition at line 83 of file hwdrv_apci3200.h.

#define APCI3200_AI_EOS   20

Definition at line 81 of file hwdrv_apci3200.h.

#define APCI3200_AI_EOSIRQ   16

Definition at line 80 of file hwdrv_apci3200.h.

#define APCI3200_AI_IRQ   8

Definition at line 68 of file hwdrv_apci3200.h.

#define APCI3200_AI_MODULE1   0

Definition at line 74 of file hwdrv_apci3200.h.

#define APCI3200_AI_MODULE2   64

Definition at line 75 of file hwdrv_apci3200.h.

#define APCI3200_AI_MODULE3   128

Definition at line 76 of file hwdrv_apci3200.h.

#define APCI3200_AI_MODULE4   192

Definition at line 77 of file hwdrv_apci3200.h.

#define APCI3200_AI_OFFSET_GAIN   0

Definition at line 66 of file hwdrv_apci3200.h.

#define APCI3200_AI_SC_TEST   4

Definition at line 67 of file hwdrv_apci3200.h.

#define APCI3200_BOARD_VENDOR_ID   0x15B8

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 
        info@addi-data.com 

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 shoud also find the complete GPL in the COPYING file accompanying this source code.

Definition at line 26 of file hwdrv_apci3200.h.

#define APCI3200_CONV_TIME_TIME_BASE   36

Definition at line 71 of file hwdrv_apci3200.h.

#define APCI3200_DELAY_TIME_TIME_BASE   44

Definition at line 73 of file hwdrv_apci3200.h.

#define APCI3200_MAXVOLT   2.5

Definition at line 92 of file hwdrv_apci3200.h.

#define APCI3200_RELOAD_CONV_TIME_VAL   32

Definition at line 70 of file hwdrv_apci3200.h.

#define APCI3200_RELOAD_DELAY_TIME_VAL   40

Definition at line 72 of file hwdrv_apci3200.h.

#define ENABLE_EXT_GATE   2

Definition at line 89 of file hwdrv_apci3200.h.

#define ENABLE_EXT_TRIG   1

Definition at line 88 of file hwdrv_apci3200.h.

#define ENABLE_EXT_TRIG_GATE   3

Definition at line 90 of file hwdrv_apci3200.h.

#define FALSE   0

Definition at line 79 of file hwdrv_apci3200.h.

#define MAX_MODULE   4

Definition at line 100 of file hwdrv_apci3200.h.

#define RESISTANCE   2

Definition at line 86 of file hwdrv_apci3200.h.

#define TEMPERATURE   1

Definition at line 85 of file hwdrv_apci3200.h.

#define TRUE   1

Definition at line 78 of file hwdrv_apci3200.h.


Typedef Documentation


Function Documentation

INT i_APCI3200_CommandAnalogInput ( comedi_device dev,
comedi_subdevice s 
)

Definition at line 2817 of file hwdrv_apci3200.c.

INT i_APCI3200_CommandTestAnalogInput ( comedi_device dev,
comedi_subdevice s,
comedi_cmd cmd 
)

Definition at line 2563 of file hwdrv_apci3200.c.

INT i_APCI3200_ConfigAnalogInput ( comedi_device dev,
comedi_subdevice s,
comedi_insn insn,
lsampl_t data 
)

Definition at line 877 of file hwdrv_apci3200.c.

INT i_APCI3200_InsnBits_AnalogInput_Test ( comedi_device dev,
comedi_subdevice s,
comedi_insn insn,
lsampl_t data 
)

Definition at line 2407 of file hwdrv_apci3200.c.

INT i_APCI3200_InsnWriteReleaseAnalogInput ( comedi_device dev,
comedi_subdevice s,
comedi_insn insn,
lsampl_t data 
)

Definition at line 2532 of file hwdrv_apci3200.c.

INT i_APCI3200_InterruptHandleEos ( comedi_device dev)

Definition at line 3502 of file hwdrv_apci3200.c.

int i_APCI3200_Read1AnalogInputChannel ( comedi_device dev,
comedi_subdevice s,
comedi_insn insn,
lsampl_t data 
)

Definition at line 1654 of file hwdrv_apci3200.c.

INT i_APCI3200_ReadAnalogInput ( comedi_device dev,
comedi_subdevice s,
comedi_insn insn,
lsampl_t data 
)

Definition at line 1364 of file hwdrv_apci3200.c.

int i_APCI3200_ReadCalibrationGainValue ( comedi_device dev,
UINT data 
)

Definition at line 1915 of file hwdrv_apci3200.c.

int i_APCI3200_ReadCalibrationOffsetValue ( comedi_device dev,
UINT data 
)

Definition at line 1779 of file hwdrv_apci3200.c.

int i_APCI3200_ReadCJCCalGain ( comedi_device dev,
lsampl_t data 
)

Definition at line 2286 of file hwdrv_apci3200.c.

int i_APCI3200_ReadCJCCalOffset ( comedi_device dev,
lsampl_t data 
)

Definition at line 2170 of file hwdrv_apci3200.c.

int i_APCI3200_ReadCJCValue ( comedi_device dev,
lsampl_t data 
)

Definition at line 2051 of file hwdrv_apci3200.c.

INT i_APCI3200_ReadDigitalInput ( comedi_device dev,
comedi_subdevice s,
comedi_insn insn,
lsampl_t data 
)

Definition at line 553 of file hwdrv_apci3200.c.

INT i_APCI3200_Reset ( comedi_device dev)

Definition at line 3004 of file hwdrv_apci3200.c.

INT i_APCI3200_StopCyclicAcquisition ( comedi_device dev,
comedi_subdevice s 
)

Definition at line 2767 of file hwdrv_apci3200.c.

void v_APCI3200_Interrupt ( int  irq,
void *  d 
)

Definition at line 3060 of file hwdrv_apci3200.c.


Variable Documentation

struct { ... } Config_Parameters_Module1
struct { ... } Config_Parameters_Module2
struct { ... } Config_Parameters_Module3
struct { ... } Config_Parameters_Module4

Definition at line 36 of file hwdrv_apci3200.h.

Definition at line 34 of file hwdrv_apci3200.h.

Definition at line 31 of file hwdrv_apci3200.h.

Definition at line 39 of file hwdrv_apci3200.h.

Definition at line 40 of file hwdrv_apci3200.h.

Definition at line 33 of file hwdrv_apci3200.h.

Definition at line 32 of file hwdrv_apci3200.h.

Definition at line 35 of file hwdrv_apci3200.h.

int MODULE_NO

Definition at line 29 of file hwdrv_apci3200.h.

Definition at line 37 of file hwdrv_apci3200.h.

Definition at line 38 of file hwdrv_apci3200.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines