Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
das6402.c File Reference
#include <linux/interrupt.h>
#include "../comedidev.h"
#include <linux/ioport.h>

Go to the source code of this file.

Data Structures

struct  das6402_private
 

Macros

#define DAS6402_SIZE   16
 
#define N_WORDS   (3000*64)
 
#define STOP   0
 
#define START   1
 
#define SCANL   0x3f00
 
#define BYTE   unsigned char
 
#define WORD   unsigned short
 
#define CLRINT   0x01
 
#define CLRXTR   0x02
 
#define CLRXIN   0x04
 
#define EXTEND   0x10
 
#define ARMED   0x20 /* enable conting of post sample conv */
 
#define POSTMODE   0x40
 
#define MHZ   0x80 /* 10 MHz clock */
 
#define IRQ   (0x04 << 4) /* these two are */
 
#define IRQV   10 /* dependent on each other */
 
#define CONVSRC   0x03 /* trig src is Intarnal pacer */
 
#define BURSTEN   0x04 /* enable burst */
 
#define XINTE   0x08 /* use external int. trig */
 
#define INTE   0x80 /* enable analog interrupts */
 
#define TGEN   0x01 /* Use pin DI1 for externl trigging? */
 
#define TGSEL   0x02 /* Use edge triggering */
 
#define TGPOL   0x04 /* active edge is falling */
 
#define PRETRIG   0x08 /* pretrig */
 
#define EOB   0x0c
 
#define FIFOHFULL   0x08
 
#define GAIN   0x01
 
#define FIFONEPTY   0x04
 
#define MODE   0x10
 
#define SEM   0x20
 
#define BIP   0x40
 
#define M0   0x00
 
#define M2   0x04
 
#define C0   0x00
 
#define C1   0x40
 
#define C2   0x80
 
#define RWLH   0x30
 
#define devpriv   ((struct das6402_private *)dev->private)
 

Macro Definition Documentation

#define ARMED   0x20 /* enable conting of post sample conv */

Definition at line 62 of file das6402.c.

#define BIP   0x40

Definition at line 91 of file das6402.c.

#define BURSTEN   0x04 /* enable burst */

Definition at line 72 of file das6402.c.

#define BYTE   unsigned char

Definition at line 54 of file das6402.c.

#define C0   0x00

Definition at line 97 of file das6402.c.

#define C1   0x40

Definition at line 98 of file das6402.c.

#define C2   0x80

Definition at line 99 of file das6402.c.

#define CLRINT   0x01

Definition at line 58 of file das6402.c.

#define CLRXIN   0x04

Definition at line 60 of file das6402.c.

#define CLRXTR   0x02

Definition at line 59 of file das6402.c.

#define CONVSRC   0x03 /* trig src is Intarnal pacer */

Definition at line 71 of file das6402.c.

#define DAS6402_SIZE   16

Definition at line 46 of file das6402.c.

#define devpriv   ((struct das6402_private *)dev->private)

Definition at line 107 of file das6402.c.

#define EOB   0x0c

Definition at line 85 of file das6402.c.

#define EXTEND   0x10

Definition at line 61 of file das6402.c.

#define FIFOHFULL   0x08

Definition at line 86 of file das6402.c.

#define FIFONEPTY   0x04

Definition at line 88 of file das6402.c.

#define GAIN   0x01

Definition at line 87 of file das6402.c.

#define INTE   0x80 /* enable analog interrupts */

Definition at line 74 of file das6402.c.

#define IRQ   (0x04 << 4) /* these two are */

Definition at line 68 of file das6402.c.

#define IRQV   10 /* dependent on each other */

Definition at line 69 of file das6402.c.

#define M0   0x00

Definition at line 94 of file das6402.c.

#define M2   0x04

Definition at line 95 of file das6402.c.

#define MHZ   0x80 /* 10 MHz clock */

Definition at line 64 of file das6402.c.

#define MODE   0x10

Definition at line 89 of file das6402.c.

#define N_WORDS   (3000*64)

Definition at line 48 of file das6402.c.

#define POSTMODE   0x40

Definition at line 63 of file das6402.c.

#define PRETRIG   0x08 /* pretrig */

Definition at line 81 of file das6402.c.

#define RWLH   0x30

Definition at line 100 of file das6402.c.

#define SCANL   0x3f00

Definition at line 53 of file das6402.c.

#define SEM   0x20

Definition at line 90 of file das6402.c.

#define START   1

Definition at line 51 of file das6402.c.

#define STOP   0

Definition at line 50 of file das6402.c.

#define TGEN   0x01 /* Use pin DI1 for externl trigging? */

Definition at line 78 of file das6402.c.

#define TGPOL   0x04 /* active edge is falling */

Definition at line 80 of file das6402.c.

#define TGSEL   0x02 /* Use edge triggering */

Definition at line 79 of file das6402.c.

#define WORD   unsigned short

Definition at line 55 of file das6402.c.

#define XINTE   0x08 /* use external int. trig */

Definition at line 73 of file das6402.c.