Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | str_AnalogReadInformation |
#define APCI3120_10_GAIN 0x30 /* $$ RAM sequence Gain Bits for gain 10 */ |
Definition at line 89 of file hwdrv_apci3120.h.
#define APCI3120_1_GAIN 0x00 /* $$ RAM sequence Gain Bits for gain 1 */ |
Definition at line 86 of file hwdrv_apci3120.h.
#define APCI3120_2_GAIN 0x10 /* $$ RAM sequence Gain Bits for gain 2 */ |
Definition at line 87 of file hwdrv_apci3120.h.
#define APCI3120_5_GAIN 0x20 /* $$ RAM sequence Gain Bits for gain 5 */ |
Definition at line 88 of file hwdrv_apci3120.h.
#define APCI3120_ADDRESS_RANGE 16 |
Definition at line 46 of file hwdrv_apci3120.h.
#define APCI3120_ANALOG_OP_CHANNEL_1 0x0000 |
Definition at line 69 of file hwdrv_apci3120.h.
#define APCI3120_ANALOG_OP_CHANNEL_2 0x4000 |
Definition at line 70 of file hwdrv_apci3120.h.
#define APCI3120_ANALOG_OP_CHANNEL_3 0x8000 |
Definition at line 71 of file hwdrv_apci3120.h.
#define APCI3120_ANALOG_OP_CHANNEL_4 0xC000 |
Definition at line 72 of file hwdrv_apci3120.h.
#define APCI3120_ANALOG_OP_CHANNEL_5 0x0000 |
Definition at line 73 of file hwdrv_apci3120.h.
#define APCI3120_ANALOG_OP_CHANNEL_6 0x4000 |
Definition at line 74 of file hwdrv_apci3120.h.
#define APCI3120_ANALOG_OP_CHANNEL_7 0x8000 |
Definition at line 75 of file hwdrv_apci3120.h.
#define APCI3120_ANALOG_OP_CHANNEL_8 0xC000 |
Definition at line 76 of file hwdrv_apci3120.h.
#define APCI3120_ANALOG_OUTPUT_1 0x08 /* (ADDRESS ) */ |
Definition at line 84 of file hwdrv_apci3120.h.
#define APCI3120_ANALOG_OUTPUT_2 0x0A /* (ADDRESS ) */ |
Definition at line 85 of file hwdrv_apci3120.h.
#define APCI3120_BIPOLAR 0x00 /* $$ RAM sequence polarity BIT */ |
Definition at line 83 of file hwdrv_apci3120.h.
Definition at line 43 of file hwdrv_apci3120.h.
#define APCI3120_BOARD_VENDOR_ID 0x10E8 |
Definition at line 45 of file hwdrv_apci3120.h.
#define APCI3120_CLEAR_PA 0xFFF0 |
Definition at line 97 of file hwdrv_apci3120.h.
#define APCI3120_CLEAR_PA_PR (APCI3120_CLEAR_PR & APCI3120_CLEAR_PA) |
Definition at line 98 of file hwdrv_apci3120.h.
#define APCI3120_CLEAR_PR 0xF0FF |
Definition at line 96 of file hwdrv_apci3120.h.
#define APCI3120_COUNTER 3 /* on 20-6 */ |
Definition at line 163 of file hwdrv_apci3120.h.
#define APCI3120_DIGITAL_OUTPUT 0x0D |
Definition at line 60 of file hwdrv_apci3120.h.
#define APCI3120_DISABLE 0 |
Definition at line 48 of file hwdrv_apci3120.h.
#define APCI3120_DISABLE_ALL_INTERRUPT (APCI3120_DISABLE_TIMER_INT & APCI3120_DISABLE_EOS_INT & APCI3120_DISABLE_EOC_INT) |
Definition at line 109 of file hwdrv_apci3120.h.
#define APCI3120_DISABLE_ALL_INTERRUPT_WITHOUT_TIMER (APCI3120_DISABLE_EOS_INT & APCI3120_DISABLE_EOC_INT) |
Definition at line 108 of file hwdrv_apci3120.h.
#define APCI3120_DISABLE_ALL_TIMER (APCI3120_DISABLE_TIMER0 & APCI3120_DISABLE_TIMER1 & APCI3120_DISABLE_TIMER2) /* on 20-6 */ |
Definition at line 164 of file hwdrv_apci3120.h.
#define APCI3120_DISABLE_EOC_INT (~APCI3120_ENABLE_EOC_INT) |
Definition at line 107 of file hwdrv_apci3120.h.
#define APCI3120_DISABLE_EOS_INT (~APCI3120_ENABLE_EOS_INT) |
Definition at line 105 of file hwdrv_apci3120.h.
#define APCI3120_DISABLE_SCAN (~APCI3120_ENABLE_SCAN) |
Definition at line 102 of file hwdrv_apci3120.h.
#define APCI3120_DISABLE_TIMER0 (~APCI3120_ENABLE_TIMER0) |
Definition at line 158 of file hwdrv_apci3120.h.
#define APCI3120_DISABLE_TIMER1 (~APCI3120_ENABLE_TIMER1) |
Definition at line 159 of file hwdrv_apci3120.h.
#define APCI3120_DISABLE_TIMER2 (~APCI3120_ENABLE_TIMER2) |
Definition at line 160 of file hwdrv_apci3120.h.
#define APCI3120_DISABLE_TIMER2 (~APCI3120_ENABLE_TIMER2) |
Definition at line 160 of file hwdrv_apci3120.h.
#define APCI3120_DISABLE_TIMER_COUNTER (~APCI3120_ENABLE_TIMER_COUNTER) |
Definition at line 153 of file hwdrv_apci3120.h.
#define APCI3120_DISABLE_TIMER_INT (~APCI3120_ENABLE_TIMER_INT) |
Definition at line 128 of file hwdrv_apci3120.h.
#define APCI3120_DISABLE_WATCHDOG (~APCI3120_ENABLE_WATCHDOG) |
Definition at line 151 of file hwdrv_apci3120.h.
#define APCI3120_DMA_MODE 3 |
Definition at line 56 of file hwdrv_apci3120.h.
#define APCI3120_ENABLE 1 |
Definition at line 49 of file hwdrv_apci3120.h.
#define APCI3120_ENABLE_EOC_INT 0x1 |
Definition at line 106 of file hwdrv_apci3120.h.
#define APCI3120_ENABLE_EOS_INT 0x2 /* $$ bit in nWrMode_Select */ |
Definition at line 103 of file hwdrv_apci3120.h.
#define APCI3120_ENABLE_EXT_TRIGGER 0x8000 |
Definition at line 79 of file hwdrv_apci3120.h.
#define APCI3120_ENABLE_SCAN 0x8 /* $$ bit in nWrMode_Select */ |
Definition at line 101 of file hwdrv_apci3120.h.
#define APCI3120_ENABLE_TIMER0 0x1000 /* $$Gatebit 0 in nWrAddress */ |
Definition at line 155 of file hwdrv_apci3120.h.
#define APCI3120_ENABLE_TIMER0 0x1000 |
Definition at line 155 of file hwdrv_apci3120.h.
#define APCI3120_ENABLE_TIMER1 0x2000 |
Definition at line 156 of file hwdrv_apci3120.h.
#define APCI3120_ENABLE_TIMER2 0x4000 /* $$ gatebit 2 in nWrAddress */ |
Definition at line 157 of file hwdrv_apci3120.h.
#define APCI3120_ENABLE_TIMER2 0x4000 |
Definition at line 157 of file hwdrv_apci3120.h.
#define APCI3120_ENABLE_TIMER_COUNTER 0x10 /* $$BIT in nWrMode_Select */ |
Definition at line 152 of file hwdrv_apci3120.h.
#define APCI3120_ENABLE_TIMER_INT 0x04 /* $$ ENAIRQ_FC_Bit in nWrModeSelect */ |
Definition at line 127 of file hwdrv_apci3120.h.
#define APCI3120_ENABLE_WATCHDOG 0x20 /* $$BIT in nWrMode_Select */ |
Definition at line 150 of file hwdrv_apci3120.h.
#define APCI3120_EOC 0x8000 |
Definition at line 112 of file hwdrv_apci3120.h.
#define APCI3120_EOC_MODE 1 |
Definition at line 54 of file hwdrv_apci3120.h.
#define APCI3120_EOS 0x2000 |
Definition at line 113 of file hwdrv_apci3120.h.
#define APCI3120_EOS_MODE 2 |
Definition at line 55 of file hwdrv_apci3120.h.
#define APCI3120_FC_TIMER 0x1000 /* bit in status register */ |
Definition at line 154 of file hwdrv_apci3120.h.
#define APCI3120_QUARTZ_A 70 |
Definition at line 119 of file hwdrv_apci3120.h.
#define APCI3120_QUARTZ_B 50 |
Definition at line 120 of file hwdrv_apci3120.h.
#define APCI3120_RD_FIFO 0x00 |
Definition at line 62 of file hwdrv_apci3120.h.
#define APCI3120_RD_STATUS 0x02 |
Definition at line 148 of file hwdrv_apci3120.h.
#define APCI3120_RD_STATUS 0x02 /* ADDRESS */ |
Definition at line 148 of file hwdrv_apci3120.h.
#define APCI3120_RESET_FIFO 0x0C /* (ADDRESS) */ |
Definition at line 91 of file hwdrv_apci3120.h.
#define APCI3120_SELECT_TIMER_0_WORD 0x00 |
Definition at line 130 of file hwdrv_apci3120.h.
#define APCI3120_SELECT_TIMER_0_WORD 0x00 |
Definition at line 130 of file hwdrv_apci3120.h.
#define APCI3120_SELECT_TIMER_1_WORD 0x01 |
Definition at line 131 of file hwdrv_apci3120.h.
#define APCI3120_SELECT_TIMER_2_HIGH_WORD 0x03 |
Definition at line 141 of file hwdrv_apci3120.h.
#define APCI3120_SELECT_TIMER_2_LOW_WORD 0x02 |
Definition at line 140 of file hwdrv_apci3120.h.
#define APCI3120_SEQ_RAM_ADDRESS 0x06 /* $$ EARLIER NAMED APCI3120_FIFO_ADDRESS */ |
Definition at line 90 of file hwdrv_apci3120.h.
#define APCI3120_SET4DIGITALOUTPUTOFF 0 |
Definition at line 66 of file hwdrv_apci3120.h.
#define APCI3120_SET4DIGITALOUTPUTON 1 |
Definition at line 65 of file hwdrv_apci3120.h.
#define APCI3120_START 1 |
Definition at line 51 of file hwdrv_apci3120.h.
#define APCI3120_START_CONVERSION 0x02 /* (ADDRESS) */ |
Definition at line 116 of file hwdrv_apci3120.h.
#define APCI3120_STOP 0 |
Definition at line 52 of file hwdrv_apci3120.h.
#define APCI3120_TIMER 1 |
Definition at line 121 of file hwdrv_apci3120.h.
#define APCI3120_TIMER2_SELECT_EOS 0xC0 /* ADDED on 20-6 */ |
Definition at line 162 of file hwdrv_apci3120.h.
#define APCI3120_TIMER_0_MODE_2 0x01 /* $$ Bits for timer mode */ |
Definition at line 92 of file hwdrv_apci3120.h.
#define APCI3120_TIMER_0_MODE_4 0x2 |
Definition at line 93 of file hwdrv_apci3120.h.
#define APCI3120_TIMER_1_MODE_2 0x4 |
Definition at line 132 of file hwdrv_apci3120.h.
#define APCI3120_TIMER_2_MODE_0 0x0 |
Definition at line 135 of file hwdrv_apci3120.h.
#define APCI3120_TIMER_2_MODE_2 0x10 |
Definition at line 136 of file hwdrv_apci3120.h.
#define APCI3120_TIMER_2_MODE_5 0x30 |
Definition at line 137 of file hwdrv_apci3120.h.
#define APCI3120_TIMER_CRT0 0x0D /* (ADDRESS for cCsTimerCtr0) */ |
Definition at line 143 of file hwdrv_apci3120.h.
#define APCI3120_TIMER_CRT1 0x0C /* (ADDRESS for cCsTimerCtr1) */ |
Definition at line 144 of file hwdrv_apci3120.h.
#define APCI3120_TIMER_DISABLE 0 |
Definition at line 123 of file hwdrv_apci3120.h.
#define APCI3120_TIMER_ENABLE 1 |
Definition at line 124 of file hwdrv_apci3120.h.
#define APCI3120_TIMER_STATUS_REGISTER 0x0D /* ADDRESS for delete timer 2 interrupt */ |
Definition at line 147 of file hwdrv_apci3120.h.
#define APCI3120_TIMER_VALUE 0x04 /* ADDRESS for nCsTimerWert */ |
Definition at line 146 of file hwdrv_apci3120.h.
#define APCI3120_UNIPOLAR 0x80 /* $$ RAM sequence polarity BIT */ |
Definition at line 82 of file hwdrv_apci3120.h.
#define APCI3120_WATCHDOG 2 |
Definition at line 122 of file hwdrv_apci3120.h.
#define APCI3120_WR_ADDRESS 0x00 /* ADDRESS */ |
Definition at line 149 of file hwdrv_apci3120.h.
#define APCI3120_WRITE_MODE_SELECT 0x0E /* (ADDRESS) */ |
Definition at line 129 of file hwdrv_apci3120.h.
#define MAX_ANALOGINPUT_CHANNELS 32 |
Definition at line 166 of file hwdrv_apci3120.h.
int i_APCI3120_CommandAnalogInput | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s | ||
) |
Definition at line 605 of file hwdrv_apci3120.c.
int i_APCI3120_CommandTestAnalogInput | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
struct comedi_cmd * | cmd | ||
) |
Definition at line 478 of file hwdrv_apci3120.c.
int i_APCI3120_CyclicAnalogInput | ( | int | mode, |
struct comedi_device * | dev, | ||
struct comedi_subdevice * | s | ||
) |
Definition at line 678 of file hwdrv_apci3120.c.
int i_APCI3120_ExttrigDisable | ( | struct comedi_device * | dev | ) |
Definition at line 1380 of file hwdrv_apci3120.c.
int i_APCI3120_ExttrigEnable | ( | struct comedi_device * | dev | ) |
Definition at line 1355 of file hwdrv_apci3120.c.
int i_APCI3120_InsnBitsDigitalInput | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
struct comedi_insn * | insn, | ||
unsigned int * | data | ||
) |
Definition at line 2340 of file hwdrv_apci3120.c.
int i_APCI3120_InsnBitsDigitalOutput | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
struct comedi_insn * | insn, | ||
unsigned int * | data | ||
) |
Definition at line 2424 of file hwdrv_apci3120.c.
int i_APCI3120_InsnConfigAnalogInput | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
struct comedi_insn * | insn, | ||
unsigned int * | data | ||
) |
Definition at line 77 of file hwdrv_apci3120.c.
int i_APCI3120_InsnConfigDigitalOutput | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
struct comedi_insn * | insn, | ||
unsigned int * | data | ||
) |
Definition at line 2379 of file hwdrv_apci3120.c.
int i_APCI3120_InsnConfigTimer | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
struct comedi_insn * | insn, | ||
unsigned int * | data | ||
) |
Definition at line 1879 of file hwdrv_apci3120.c.
int i_APCI3120_InsnReadAnalogInput | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
struct comedi_insn * | insn, | ||
unsigned int * | data | ||
) |
Definition at line 146 of file hwdrv_apci3120.c.
int i_APCI3120_InsnReadDigitalInput | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
struct comedi_insn * | insn, | ||
unsigned int * | data | ||
) |
Definition at line 2294 of file hwdrv_apci3120.c.
int i_APCI3120_InsnReadTimer | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
struct comedi_insn * | insn, | ||
unsigned int * | data | ||
) |
Definition at line 2221 of file hwdrv_apci3120.c.
int i_APCI3120_InsnWriteAnalogOutput | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
struct comedi_insn * | insn, | ||
unsigned int * | data | ||
) |
Definition at line 2556 of file hwdrv_apci3120.c.
int i_APCI3120_InsnWriteDigitalOutput | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
struct comedi_insn * | insn, | ||
unsigned int * | data | ||
) |
Definition at line 2477 of file hwdrv_apci3120.c.
int i_APCI3120_InsnWriteTimer | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
struct comedi_insn * | insn, | ||
unsigned int * | data | ||
) |
Definition at line 2037 of file hwdrv_apci3120.c.
int i_APCI3120_InterruptHandleEos | ( | struct comedi_device * | dev | ) |
Definition at line 1625 of file hwdrv_apci3120.c.
int i_APCI3120_Reset | ( | struct comedi_device * | dev | ) |
Definition at line 1212 of file hwdrv_apci3120.c.
int i_APCI3120_SetupChannelList | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
int | n_chan, | ||
unsigned int * | chanlist, | ||
char | check | ||
) |
Definition at line 1292 of file hwdrv_apci3120.c.
int i_APCI3120_StopCyclicAcquisition | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s | ||
) |
Definition at line 408 of file hwdrv_apci3120.c.
Definition at line 1414 of file hwdrv_apci3120.c.
Definition at line 1667 of file hwdrv_apci3120.c.
void v_APCI3120_InterruptDmaMoveBlock16bit | ( | struct comedi_device * | dev, |
struct comedi_subdevice * | s, | ||
short * | dma_buffer, | ||
unsigned int | num_samples | ||
) |
Definition at line 1837 of file hwdrv_apci3120.c.