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

Go to the source code of this file.

Data Structures

struct  daq700_board
 

Macros

#define DIO_W   0x04 /* WO 8bit */
 
#define DIO_R   0x05 /* RO 8bit */
 
#define CMD_R1   0x00 /* WO 8bit */
 
#define CMD_R2   0x07 /* RW 8bit */
 
#define CMD_R3   0x05 /* W0 8bit */
 
#define STA_R1   0x00 /* RO 8bit */
 
#define STA_R2   0x01 /* RO 8bit */
 
#define ADFIFO_R   0x02 /* RO 16bit */
 
#define ADCLEAR_R   0x01 /* WO 8bit */
 
#define CDA_R0   0x08 /* RW 8bit */
 
#define CDA_R1   0x09 /* RW 8bit */
 
#define CDA_R2   0x0A /* RW 8bit */
 
#define CMO_R   0x0B /* RO 8bit */
 
#define TIC_R   0x06 /* WO 8bit */
 

Functions

 MODULE_DEVICE_TABLE (pcmcia, daq700_cs_ids)
 
 module_init (daq700_cs_init)
 
 module_exit (daq700_cs_exit)
 
 MODULE_AUTHOR ("Fred Brooks <[email protected]>")
 
 MODULE_DESCRIPTION ("Comedi driver for National Instruments PCMCIA DAQCard-700 DIO/AI")
 
 MODULE_VERSION ("0.2.00")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define ADCLEAR_R   0x01 /* WO 8bit */

Definition at line 78 of file ni_daq_700.c.

#define ADFIFO_R   0x02 /* RO 16bit */

Definition at line 77 of file ni_daq_700.c.

#define CDA_R0   0x08 /* RW 8bit */

Definition at line 79 of file ni_daq_700.c.

#define CDA_R1   0x09 /* RW 8bit */

Definition at line 80 of file ni_daq_700.c.

#define CDA_R2   0x0A /* RW 8bit */

Definition at line 81 of file ni_daq_700.c.

#define CMD_R1   0x00 /* WO 8bit */

Definition at line 72 of file ni_daq_700.c.

#define CMD_R2   0x07 /* RW 8bit */

Definition at line 73 of file ni_daq_700.c.

#define CMD_R3   0x05 /* W0 8bit */

Definition at line 74 of file ni_daq_700.c.

#define CMO_R   0x0B /* RO 8bit */

Definition at line 82 of file ni_daq_700.c.

#define DIO_R   0x05 /* RO 8bit */

Definition at line 71 of file ni_daq_700.c.

#define DIO_W   0x04 /* WO 8bit */

Definition at line 70 of file ni_daq_700.c.

#define STA_R1   0x00 /* RO 8bit */

Definition at line 75 of file ni_daq_700.c.

#define STA_R2   0x01 /* RO 8bit */

Definition at line 76 of file ni_daq_700.c.

#define TIC_R   0x06 /* WO 8bit */

Definition at line 83 of file ni_daq_700.c.

Function Documentation

MODULE_AUTHOR ( "Fred Brooks <[email protected]>"  )
MODULE_DESCRIPTION ( "Comedi driver for National Instruments PCMCIA DAQCard-700 DIO/AI"  )
MODULE_DEVICE_TABLE ( pcmcia  ,
daq700_cs_ids   
)
module_exit ( daq700_cs_exit  )
module_init ( daq700_cs_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( "0.2.00"  )