Linux Kernel
3.7.1
|
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include "../comedidev.h"
#include "8255.h"
#include "8253.h"
#include "comedi_fc.h"
Go to the source code of this file.
Data Structures | |
struct | das16m1_board |
struct | das16m1_private_struct |
Macros | |
#define | DAS16M1_SIZE 16 |
#define | DAS16M1_SIZE2 8 |
#define | DAS16M1_XTAL 100 /* 10 MHz master clock */ |
#define | FIFO_SIZE 1024 /* 1024 sample fifo */ |
#define | DAS16M1_AI 0 /* 16-bit wide register */ |
#define | AI_CHAN(x) ((x) & 0xf) |
#define | DAS16M1_CS 2 |
#define | EXT_TRIG_BIT 0x1 |
#define | OVRUN 0x20 |
#define | IRQDATA 0x80 |
#define | DAS16M1_DIO 3 |
#define | DAS16M1_CLEAR_INTR 4 |
#define | DAS16M1_INTR_CONTROL 5 |
#define | EXT_PACER 0x2 |
#define | INT_PACER 0x3 |
#define | PACER_MASK 0x3 |
#define | INTE 0x80 |
#define | DAS16M1_QUEUE_ADDR 6 |
#define | DAS16M1_QUEUE_DATA 7 |
#define | Q_CHAN(x) ((x) & 0x7) |
#define | Q_RANGE(x) (((x) & 0xf) << 4) |
#define | UNIPOLAR 0x40 |
#define | DAS16M1_8254_FIRST 0x8 |
#define | DAS16M1_8254_FIRST_CNTRL 0xb |
#define | TOTAL_CLEAR 0x30 |
#define | DAS16M1_8254_SECOND 0xc |
#define | DAS16M1_82C55 0x400 |
#define | DAS16M1_8254_THIRD 0x404 |
#define | devpriv ((struct das16m1_private_struct *)(dev->private)) |
Functions | |
module_comedi_driver (das16m1_driver) | |
MODULE_AUTHOR ("Comedi http://www.comedi.org") | |
MODULE_DESCRIPTION ("Comedi low-level driver") | |
MODULE_LICENSE ("GPL") | |
#define devpriv ((struct das16m1_private_struct *)(dev->private)) |
MODULE_AUTHOR | ( | "Comedi http://www.comedi.org" | ) |
module_comedi_driver | ( | das16m1_driver | ) |
MODULE_LICENSE | ( | "GPL" | ) |