Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | APCI1032_BOARD_VENDOR_ID 0x15B8 |
#define | APCI1032_ADDRESS_RANGE 20 |
#define | APCI1032_DIGITAL_IP 0 |
#define | APCI1032_DIGITAL_IP_INTERRUPT_MODE1 4 |
#define | APCI1032_DIGITAL_IP_INTERRUPT_MODE2 8 |
#define | APCI1032_DIGITAL_IP_IRQ 16 |
#define | ADDIDATA_OR 0 |
#define | ADDIDATA_AND 1 |
#define | APCI1032_DIGITAL_IP_INTERRUPT_STATUS 12 |
#define | APCI1032_DIGITAL_IP_INTERRUPT_ENABLE 0x4 |
#define | APCI1032_DIGITAL_IP_INTERRUPT_DISABLE 0xFFFFFFFB |
#define | ADDIDATA_ENABLE 1 |
#define | ADDIDATA_DISABLE 0 |
Functions | |
int | i_APCI1032_ConfigDigitalInput (struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) |
int | i_APCI1032_Read1DigitalInput (struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) |
int | i_APCI1032_ReadMoreDigitalInput (struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_insn *insn, unsigned int *data) |
int | i_APCI1032_Reset (struct comedi_device *dev) |
#define ADDIDATA_AND 1 |
Definition at line 31 of file hwdrv_apci1032.h.
#define ADDIDATA_DISABLE 0 |
Definition at line 43 of file hwdrv_apci1032.h.
#define ADDIDATA_ENABLE 1 |
Definition at line 42 of file hwdrv_apci1032.h.
#define ADDIDATA_OR 0 |
Definition at line 30 of file hwdrv_apci1032.h.
#define APCI1032_ADDRESS_RANGE 20 |
Definition at line 21 of file hwdrv_apci1032.h.
#define APCI1032_BOARD_VENDOR_ID 0x15B8 |
Definition at line 20 of file hwdrv_apci1032.h.
#define APCI1032_DIGITAL_IP 0 |
Definition at line 24 of file hwdrv_apci1032.h.
#define APCI1032_DIGITAL_IP_INTERRUPT_DISABLE 0xFFFFFFFB |
Definition at line 38 of file hwdrv_apci1032.h.
#define APCI1032_DIGITAL_IP_INTERRUPT_ENABLE 0x4 |
Definition at line 37 of file hwdrv_apci1032.h.
#define APCI1032_DIGITAL_IP_INTERRUPT_MODE1 4 |
Definition at line 25 of file hwdrv_apci1032.h.
#define APCI1032_DIGITAL_IP_INTERRUPT_MODE2 8 |
Definition at line 26 of file hwdrv_apci1032.h.
#define APCI1032_DIGITAL_IP_INTERRUPT_STATUS 12 |
Definition at line 34 of file hwdrv_apci1032.h.
#define APCI1032_DIGITAL_IP_IRQ 16 |
Definition at line 27 of file hwdrv_apci1032.h.
int i_APCI1032_ConfigDigitalInput | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
struct comedi_insn * | insn, | ||
unsigned int * | data | ||
) |
Definition at line 87 of file hwdrv_apci1032.c.
int i_APCI1032_Read1DigitalInput | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
struct comedi_insn * | insn, | ||
unsigned int * | data | ||
) |
Definition at line 147 of file hwdrv_apci1032.c.
int i_APCI1032_ReadMoreDigitalInput | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
struct comedi_insn * | insn, | ||
unsigned int * | data | ||
) |
Definition at line 188 of file hwdrv_apci1032.c.
int i_APCI1032_Reset | ( | struct comedi_device * | dev | ) |
Definition at line 280 of file hwdrv_apci1032.c.