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

Go to the source code of this file.

Data Structures

struct  cb_pcimdas_board
 
struct  cb_pcimdas_private
 

Macros

#define PCI_VENDOR_ID_COMPUTERBOARDS   0x1307
 
#define BADR3_SIZE   16
 
#define ADC_TRIG   0
 
#define DAC0_OFFSET   2
 
#define DAC1_OFFSET   4
 
#define MUX_LIMITS   0
 
#define MAIN_CONN_DIO   1
 
#define ADC_STAT   2
 
#define ADC_CONV_STAT   3
 
#define ADC_INT   4
 
#define ADC_PACER   5
 
#define BURST_MODE   6
 
#define PROG_GAIN   7
 
#define CLK8254_1_DATA   8
 
#define CLK8254_2_DATA   9
 
#define CLK8254_3_DATA   10
 
#define CLK8254_CONTROL   11
 
#define USER_COUNTER   12
 
#define RESID_COUNT_H   13
 
#define RESID_COUNT_L   14
 
#define TIMEOUT   1000 /* typically takes 5 loops on a lightly loaded Pentium 100MHz, */
 

Functions

 MODULE_DEVICE_TABLE (pci, cb_pcimdas_pci_table)
 
 module_comedi_pci_driver (cb_pcimdas_driver, cb_pcimdas_pci_driver)
 
 MODULE_AUTHOR ("Comedi http://www.comedi.org")
 
 MODULE_DESCRIPTION ("Comedi low-level driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define ADC_CONV_STAT   3

Definition at line 70 of file cb_pcimdas.c.

#define ADC_INT   4

Definition at line 71 of file cb_pcimdas.c.

#define ADC_PACER   5

Definition at line 72 of file cb_pcimdas.c.

#define ADC_STAT   2

Definition at line 69 of file cb_pcimdas.c.

#define ADC_TRIG   0

Definition at line 62 of file cb_pcimdas.c.

#define BADR3_SIZE   16

Definition at line 59 of file cb_pcimdas.c.

#define BURST_MODE   6

Definition at line 73 of file cb_pcimdas.c.

#define CLK8254_1_DATA   8

Definition at line 75 of file cb_pcimdas.c.

#define CLK8254_2_DATA   9

Definition at line 76 of file cb_pcimdas.c.

#define CLK8254_3_DATA   10

Definition at line 77 of file cb_pcimdas.c.

#define CLK8254_CONTROL   11

Definition at line 78 of file cb_pcimdas.c.

#define DAC0_OFFSET   2

Definition at line 63 of file cb_pcimdas.c.

#define DAC1_OFFSET   4

Definition at line 64 of file cb_pcimdas.c.

#define MAIN_CONN_DIO   1

Definition at line 68 of file cb_pcimdas.c.

#define MUX_LIMITS   0

Definition at line 67 of file cb_pcimdas.c.

#define PCI_VENDOR_ID_COMPUTERBOARDS   0x1307

Definition at line 54 of file cb_pcimdas.c.

#define PROG_GAIN   7

Definition at line 74 of file cb_pcimdas.c.

#define RESID_COUNT_H   13

Definition at line 80 of file cb_pcimdas.c.

#define RESID_COUNT_L   14

Definition at line 81 of file cb_pcimdas.c.

#define TIMEOUT   1000 /* typically takes 5 loops on a lightly loaded Pentium 100MHz, */
#define USER_COUNTER   12

Definition at line 79 of file cb_pcimdas.c.

Function Documentation

MODULE_AUTHOR ( "Comedi http://www.comedi.org"  )
module_comedi_pci_driver ( cb_pcimdas_driver  ,
cb_pcimdas_pci_driver   
)
MODULE_DESCRIPTION ( "Comedi low-level driver )
MODULE_DEVICE_TABLE ( pci  ,
cb_pcimdas_pci_table   
)
MODULE_LICENSE ( "GPL"  )