Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
adv_pci1723.c File Reference
#include "../comedidev.h"

Go to the source code of this file.

Data Structures

struct  pci1723_private
 

Macros

#define PCI_VENDOR_ID_ADVANTECH   0x13fe /* Advantech PCI vendor ID */
 
#define PCI1723_DA(N)   ((N)<<1) /* W: D/A register N (0 to 7) */
 
#define PCI1723_SYN_SET   0x12 /* synchronized set register */
 
#define PCI1723_ALL_CHNNELE_SYN_STROBE   0x12
 
#define PCI1723_RANGE_CALIBRATION_MODE   0x14
 
#define PCI1723_RANGE_CALIBRATION_STATUS   0x14
 
#define PCI1723_CONTROL_CMD_CALIBRATION_FUN   0x16
 
#define PCI1723_STATUS_CMD_CALIBRATION_FUN   0x16
 
#define PCI1723_CALIBRATION_PARA_STROBE   0x18
 
#define PCI1723_DIGITAL_IO_PORT_SET   0x1A /* Digital I/O port setting */
 
#define PCI1723_DIGITAL_IO_PORT_MODE   0x1A /* Digital I/O port mode */
 
#define PCI1723_WRITE_DIGITAL_OUTPUT_CMD   0x1C
 
#define PCI1723_READ_DIGITAL_INPUT_DATA   0x1C /* Read digital input data */
 
#define PCI1723_WRITE_CAL_CMD   0x1E /* Write calibration command */
 
#define PCI1723_READ_CAL_STATUS   0x1E /* Read calibration status */
 
#define PCI1723_SYN_STROBE   0x20 /* Synchronized strobe */
 
#define PCI1723_RESET_ALL_CHN_STROBE   0x22
 
#define PCI1723_RESET_CAL_CONTROL_STROBE   0x24
 
#define PCI1723_CHANGE_CHA_OUTPUT_TYPE_STROBE   0x26
 
#define PCI1723_SELECT_CALIBRATION   0x28 /* Select the calibration Ref_V */
 

Functions

 MODULE_DEVICE_TABLE (pci, adv_pci1723_pci_table)
 
 module_comedi_pci_driver (adv_pci1723_driver, adv_pci1723_pci_driver)
 
 MODULE_AUTHOR ("Comedi http://www.comedi.org")
 
 MODULE_DESCRIPTION ("Comedi low-level driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define PCI1723_ALL_CHNNELE_SYN_STROBE   0x12

Definition at line 59 of file adv_pci1723.c.

#define PCI1723_CALIBRATION_PARA_STROBE   0x18

Definition at line 78 of file adv_pci1723.c.

#define PCI1723_CHANGE_CHA_OUTPUT_TYPE_STROBE   0x26

Definition at line 102 of file adv_pci1723.c.

#define PCI1723_CONTROL_CMD_CALIBRATION_FUN   0x16

Definition at line 67 of file adv_pci1723.c.

#define PCI1723_DA (   N)    ((N)<<1) /* W: D/A register N (0 to 7) */

Definition at line 56 of file adv_pci1723.c.

#define PCI1723_DIGITAL_IO_PORT_MODE   0x1A /* Digital I/O port mode */

Definition at line 82 of file adv_pci1723.c.

#define PCI1723_DIGITAL_IO_PORT_SET   0x1A /* Digital I/O port setting */

Definition at line 81 of file adv_pci1723.c.

#define PCI1723_RANGE_CALIBRATION_MODE   0x14

Definition at line 62 of file adv_pci1723.c.

#define PCI1723_RANGE_CALIBRATION_STATUS   0x14

Definition at line 64 of file adv_pci1723.c.

#define PCI1723_READ_CAL_STATUS   0x1E /* Read calibration status */

Definition at line 89 of file adv_pci1723.c.

#define PCI1723_READ_DIGITAL_INPUT_DATA   0x1C /* Read digital input data */

Definition at line 86 of file adv_pci1723.c.

#define PCI1723_RESET_ALL_CHN_STROBE   0x22

Definition at line 93 of file adv_pci1723.c.

#define PCI1723_RESET_CAL_CONTROL_STROBE   0x24

Definition at line 96 of file adv_pci1723.c.

#define PCI1723_SELECT_CALIBRATION   0x28 /* Select the calibration Ref_V */

Definition at line 108 of file adv_pci1723.c.

#define PCI1723_STATUS_CMD_CALIBRATION_FUN   0x16

Definition at line 72 of file adv_pci1723.c.

#define PCI1723_SYN_SET   0x12 /* synchronized set register */

Definition at line 58 of file adv_pci1723.c.

#define PCI1723_SYN_STROBE   0x20 /* Synchronized strobe */

Definition at line 91 of file adv_pci1723.c.

#define PCI1723_WRITE_CAL_CMD   0x1E /* Write calibration command */

Definition at line 88 of file adv_pci1723.c.

#define PCI1723_WRITE_DIGITAL_OUTPUT_CMD   0x1C

Definition at line 84 of file adv_pci1723.c.

#define PCI_VENDOR_ID_ADVANTECH   0x13fe /* Advantech PCI vendor ID */

Definition at line 53 of file adv_pci1723.c.

Function Documentation

MODULE_AUTHOR ( "Comedi http://www.comedi.org"  )
module_comedi_pci_driver ( adv_pci1723_driver  ,
adv_pci1723_pci_driver   
)
MODULE_DESCRIPTION ( "Comedi low-level driver )
MODULE_DEVICE_TABLE ( pci  ,
adv_pci1723_pci_table   
)
MODULE_LICENSE ( "GPL"  )