Linux Kernel
3.7.1
|
#include <linux/interrupt.h>
#include "../comedidev.h"
#include <linux/ioport.h>
#include <linux/delay.h>
#include "8253.h"
#include "comedi_fc.h"
Go to the source code of this file.
Data Structures | |
struct | das800_board |
struct | das800_private |
Macros | |
#define | DAS800_SIZE 8 |
#define | TIMER_BASE 1000 |
#define | N_CHAN_AI 8 /* number of analog input channels */ |
#define | DAS800_LSB 0 |
#define | FIFO_EMPTY 0x1 |
#define | FIFO_OVF 0x2 |
#define | DAS800_MSB 1 |
#define | DAS800_CONTROL1 2 |
#define | CONTROL1_INTE 0x8 |
#define | DAS800_CONV_CONTROL 2 |
#define | ITE 0x1 |
#define | CASC 0x2 |
#define | DTEN 0x4 |
#define | IEOC 0x8 |
#define | EACS 0x10 |
#define | CONV_HCEN 0x80 |
#define | DAS800_SCAN_LIMITS 2 |
#define | DAS800_STATUS 2 |
#define | IRQ 0x8 |
#define | BUSY 0x80 |
#define | DAS800_GAIN 3 |
#define | CIO_FFOV 0x8 /* fifo overflow for cio-das802/16 */ |
#define | CIO_ENHF 0x90 /* interrupt fifo half full for cio-das802/16 */ |
#define | CONTROL1 0x80 |
#define | CONV_CONTROL 0xa0 |
#define | SCAN_LIMITS 0xc0 |
#define | ID 0xe0 |
#define | DAS800_8254 4 |
#define | DAS800_STATUS2 7 |
#define | STATUS2_HCEN 0x80 |
#define | STATUS2_INTE 0X20 |
#define | DAS800_ID 7 |
#define | thisboard ((const struct das800_board *)dev->board_ptr) |
#define | devpriv ((struct das800_private *)dev->private) |
Enumerations | |
enum | { das800, ciodas800, das801, ciodas801, das802, ciodas802, ciodas80216 } |
Functions | |
module_init (driver_das800_init_module) | |
module_exit (driver_das800_cleanup_module) | |
MODULE_AUTHOR ("Comedi http://www.comedi.org") | |
MODULE_DESCRIPTION ("Comedi low-level driver") | |
MODULE_LICENSE ("GPL") | |
#define CIO_ENHF 0x90 /* interrupt fifo half full for cio-das802/16 */ |
#define devpriv ((struct das800_private *)dev->private) |
#define thisboard ((const struct das800_board *)dev->board_ptr) |
anonymous enum |
MODULE_AUTHOR | ( | "Comedi http://www.comedi.org" | ) |
module_exit | ( | driver_das800_cleanup_module | ) |
module_init | ( | driver_das800_init_module | ) |
MODULE_LICENSE | ( | "GPL" | ) |