Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | aio12_8_boardtype |
struct | aio12_8_private |
Functions | |
module_comedi_driver (aio_aio12_8_driver) | |
MODULE_AUTHOR ("Comedi http://www.comedi.org") | |
MODULE_DESCRIPTION ("Comedi low-level driver") | |
MODULE_LICENSE ("GPL") | |
#define AIO12_8_8254_BASE_REG 0x0c |
Definition at line 70 of file aio_aio12_8.c.
#define AIO12_8_8255_BASE_REG 0x10 |
Definition at line 71 of file aio_aio12_8.c.
#define AIO12_8_ADC_ACQ_3USEC (0 << 5) |
Definition at line 65 of file aio_aio12_8.c.
#define AIO12_8_ADC_ACQ_PROGRAM (1 << 5) |
Definition at line 66 of file aio_aio12_8.c.
Definition at line 68 of file aio_aio12_8.c.
#define AIO12_8_ADC_MODE_INT_CLK (1 << 6) |
Definition at line 62 of file aio_aio12_8.c.
#define AIO12_8_ADC_MODE_NORMAL (0 << 6) |
Definition at line 61 of file aio_aio12_8.c.
#define AIO12_8_ADC_MODE_POWERDOWN (3 << 6) |
Definition at line 64 of file aio_aio12_8.c.
#define AIO12_8_ADC_MODE_STANDBY (2 << 6) |
Definition at line 63 of file aio_aio12_8.c.
Definition at line 67 of file aio_aio12_8.c.
#define AIO12_8_ADC_REG 0x02 |
Definition at line 60 of file aio_aio12_8.c.
Definition at line 76 of file aio_aio12_8.c.
Definition at line 75 of file aio_aio12_8.c.
#define AIO12_8_ADC_TRIGGER_REG 0x15 |
Definition at line 74 of file aio_aio12_8.c.
#define AIO12_8_COS_REG 0x17 |
Definition at line 80 of file aio_aio12_8.c.
#define AIO12_8_DAC_ENABLE_REF_ENA (1 << 0) |
Definition at line 82 of file aio_aio12_8.c.
#define AIO12_8_DAC_ENABLE_REG 0x18 |
Definition at line 81 of file aio_aio12_8.c.
#define AIO12_8_DAC_REG | ( | x | ) | (0x04 + (x) * 2) |
Definition at line 69 of file aio_aio12_8.c.
#define AIO12_8_DIO_CONTROL_REG 0x14 |
Definition at line 72 of file aio_aio12_8.c.
#define AIO12_8_DIO_CONTROL_TST (1 << 0) |
Definition at line 73 of file aio_aio12_8.c.
#define AIO12_8_INTERRUPT_ADC (1 << 7) |
Definition at line 54 of file aio_aio12_8.c.
#define AIO12_8_INTERRUPT_COS (1 << 6) |
Definition at line 55 of file aio_aio12_8.c.
#define AIO12_8_INTERRUPT_COUNTER1 (1 << 5) |
Definition at line 56 of file aio_aio12_8.c.
#define AIO12_8_INTERRUPT_ENA (1 << 2) |
Definition at line 59 of file aio_aio12_8.c.
#define AIO12_8_INTERRUPT_PORT_C0 (1 << 3) |
Definition at line 58 of file aio_aio12_8.c.
#define AIO12_8_INTERRUPT_PORT_C3 (1 << 4) |
Definition at line 57 of file aio_aio12_8.c.
#define AIO12_8_INTERRUPT_REG 0x01 |
Definition at line 53 of file aio_aio12_8.c.
#define AIO12_8_STATUS_ADC_EOC (1 << 7) |
Definition at line 50 of file aio_aio12_8.c.
#define AIO12_8_STATUS_IRQ_ENA (1 << 2) |
Definition at line 52 of file aio_aio12_8.c.
#define AIO12_8_STATUS_PORT_C_COS (1 << 6) |
Definition at line 51 of file aio_aio12_8.c.
#define AIO12_8_STATUS_REG 0x00 |
Definition at line 49 of file aio_aio12_8.c.
#define AIO12_8_TRIGGER_ADTRIG (1 << 1) |
Definition at line 78 of file aio_aio12_8.c.
#define AIO12_8_TRIGGER_DACTRIG (1 << 0) |
Definition at line 79 of file aio_aio12_8.c.
#define AIO12_8_TRIGGER_REG 0x16 |
Definition at line 77 of file aio_aio12_8.c.
MODULE_AUTHOR | ( | "Comedi http://www.comedi.org" | ) |
module_comedi_driver | ( | aio_aio12_8_driver | ) |
MODULE_LICENSE | ( | "GPL" | ) |