#include <linux/pci.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <asm/dma.h>
#include "../comedidev.h"
#include "8253.h"
#include "8255.h"
#include "comedi_fc.h"
Go to the source code of this file.
#define BURST_LEN_BITS |
( |
|
x | ) |
(((x) & 0xf) << 4) |
#define DAS1600_BURST 0x405 |
#define DAS1600_BURST_VAL 0x40 |
#define DAS1600_CLK_10MHZ 0x01 |
#define DAS1600_CONV 0x404 |
#define DAS1600_CONV_DISABLE 0x40 |
#define DAS1600_ENABLE 0x406 |
#define DAS1600_ENABLE_VAL 0x40 |
#define DAS1600_STATUS_B 0x407 |
#define DAS16_AO_LSB |
( |
|
x | ) |
((x) ? 6 : 4) |
#define DAS16_AO_MSB |
( |
|
x | ) |
((x) ? 7 : 5) |
#define DAS16_CNTR0_DATA 0x0C |
#define DAS16_CNTR1_DATA 0x0D |
#define DAS16_CNTR2_DATA 0x0E |
#define DAS16_CNTR_CONTROL 0x0F |
#define DAS16_CNTR_LSB_MSB 0x30 |
#define DAS16_CTR0 (1<<1) |
#define DAS16_DMA_SIZE 0xff00 /* size in bytes of allocated dma buffer */ |
#define DAS16_INTE (1<<7) |
#define DAS16_IRQ |
( |
|
x | ) |
(((x) & 0x7) << 4) |
#define DAS16_MUXBIT (1<<5) |
#define DAS16_ONE_SHOT 0x02 |
#define DAS16_RATE_GEN 0x04 |
#define DAS16_SIZE 20 /* number of ioports */ |
#define DAS16_TERM_CNT 0x00 |
#define DAS16_TIMEOUT 1000 |
#define DAS16_TRIG0 (1<<0) |
#define DEBUG_PRINT |
( |
|
format, |
|
|
|
args... |
|
) |
| |
#define DMA_ENABLE (1<<2) |
- Enumerator:
das16_pg_none |
|
das16_pg_16jr |
|
das16_pg_16jr_16 |
|
das16_pg_1601 |
|
das16_pg_1602 |
|
Definition at line 306 of file das16.c.
MODULE_AUTHOR |
( |
"Comedi http://www.comedi.org" |
| ) |
|
module_comedi_driver |
( |
das16_driver |
| ) |
|