RTXI 1.3
comedi/comedi/drivers/adv_pci1723.c File Reference
#include <linux/comedidev.h>
#include "comedi_pci.h"

Go to the source code of this file.

Classes

struct  pci1723_board_struct
struct  pci1723_private

Defines

#define ADVANTECH_VENDOR   0x13fe
#define TYPE_PCI1723   0
#define IORANGE_1723   0x2A
#define PCI1723_DA(N)   ((N)<<1)
#define PCI1723_SYN_SET   0x12
#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
#define PCI1723_DIGITAL_IO_PORT_MODE   0x1A
#define PCI1723_WRITE_DIGITAL_OUTPUT_CMD   0x1C
#define PCI1723_READ_DIGITAL_INPUT_DATA   0x1C
#define PCI1723_WRITE_CAL_CMD   0x1E
#define PCI1723_READ_CAL_STATUS   0x1E
#define PCI1723_SYN_STROBE   0x20
#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
#define n_boardtypes   (sizeof(boardtypes)/sizeof(boardtype))
#define devpriv   ((pci1723_private *)dev->private)
#define this_board   boardtypes

Typedefs

typedef struct pci1723_board_struct boardtype

Functions

 MODULE_DEVICE_TABLE (pci, pci1723_pci_table)
 COMEDI_PCI_INITCLEANUP (driver_pci1723, pci1723_pci_table)

Define Documentation

#define ADVANTECH_VENDOR   0x13fe

Definition at line 55 of file adv_pci1723.c.

#define devpriv   ((pci1723_private *)dev->private)

Definition at line 171 of file adv_pci1723.c.

#define IORANGE_1723   0x2A

Definition at line 60 of file adv_pci1723.c.

#define n_boardtypes   (sizeof(boardtypes)/sizeof(boardtype))

Definition at line 149 of file adv_pci1723.c.

#define PCI1723_ALL_CHNNELE_SYN_STROBE   0x12

Definition at line 66 of file adv_pci1723.c.

#define PCI1723_CALIBRATION_PARA_STROBE   0x18

Definition at line 74 of file adv_pci1723.c.

#define PCI1723_CHANGE_CHA_OUTPUT_TYPE_STROBE   0x26

Definition at line 91 of file adv_pci1723.c.

#define PCI1723_CONTROL_CMD_CALIBRATION_FUN   0x16

Definition at line 71 of file adv_pci1723.c.

#define PCI1723_DA (   N)    ((N)<<1)

Definition at line 63 of file adv_pci1723.c.

#define PCI1723_DIGITAL_IO_PORT_MODE   0x1A

Definition at line 77 of file adv_pci1723.c.

#define PCI1723_DIGITAL_IO_PORT_SET   0x1A

Definition at line 76 of file adv_pci1723.c.

#define PCI1723_RANGE_CALIBRATION_MODE   0x14

Definition at line 68 of file adv_pci1723.c.

#define PCI1723_RANGE_CALIBRATION_STATUS   0x14

Definition at line 69 of file adv_pci1723.c.

#define PCI1723_READ_CAL_STATUS   0x1E

Definition at line 83 of file adv_pci1723.c.

#define PCI1723_READ_DIGITAL_INPUT_DATA   0x1C

Definition at line 80 of file adv_pci1723.c.

#define PCI1723_RESET_ALL_CHN_STROBE   0x22

Definition at line 87 of file adv_pci1723.c.

#define PCI1723_RESET_CAL_CONTROL_STROBE   0x24

Definition at line 89 of file adv_pci1723.c.

#define PCI1723_SELECT_CALIBRATION   0x28

Definition at line 93 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

Definition at line 65 of file adv_pci1723.c.

#define PCI1723_SYN_STROBE   0x20

Definition at line 85 of file adv_pci1723.c.

#define PCI1723_WRITE_CAL_CMD   0x1E

Definition at line 82 of file adv_pci1723.c.

#define PCI1723_WRITE_DIGITAL_OUTPUT_CMD   0x1C

Definition at line 79 of file adv_pci1723.c.

#define this_board   boardtypes

Definition at line 173 of file adv_pci1723.c.

#define TYPE_PCI1723   0

Definition at line 58 of file adv_pci1723.c.


Typedef Documentation


Function Documentation

COMEDI_PCI_INITCLEANUP ( driver_pci1723  ,
pci1723_pci_table   
)
MODULE_DEVICE_TABLE ( pci  ,
pci1723_pci_table   
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines