Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
adl_pci6208.c File Reference
#include "../comedidev.h"

Go to the source code of this file.

Data Structures

struct  pci6208_board
 
struct  pci6208_private
 

Macros

#define PCI_DEVICE_ID_PCI6208   0x6208
 
#define PCI_DEVICE_ID_PCI6216   0x6216
 
#define PCI6208_AO_CONTROL(x)   (0x00 + (2 * (x)))
 
#define PCI6208_AO_STATUS   0x00
 
#define PCI6208_AO_STATUS_DATA_SEND   (1 << 0)
 
#define PCI6208_DIO   0x40
 
#define PCI6208_DIO_DO_MASK   (0x0f)
 
#define PCI6208_DIO_DO_SHIFT   (0)
 
#define PCI6208_DIO_DI_MASK   (0xf0)
 
#define PCI6208_DIO_DI_SHIFT   (4)
 
#define PCI6208_MAX_AO_CHANNELS   16
 

Functions

 MODULE_DEVICE_TABLE (pci, adl_pci6208_pci_table)
 
 module_comedi_pci_driver (adl_pci6208_driver, adl_pci6208_pci_driver)
 
 MODULE_AUTHOR ("Comedi http://www.comedi.org")
 
 MODULE_DESCRIPTION ("Comedi low-level driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define PCI6208_AO_CONTROL (   x)    (0x00 + (2 * (x)))

Definition at line 56 of file adl_pci6208.c.

#define PCI6208_AO_STATUS   0x00

Definition at line 57 of file adl_pci6208.c.

#define PCI6208_AO_STATUS_DATA_SEND   (1 << 0)

Definition at line 58 of file adl_pci6208.c.

#define PCI6208_DIO   0x40

Definition at line 59 of file adl_pci6208.c.

#define PCI6208_DIO_DI_MASK   (0xf0)

Definition at line 62 of file adl_pci6208.c.

#define PCI6208_DIO_DI_SHIFT   (4)

Definition at line 63 of file adl_pci6208.c.

#define PCI6208_DIO_DO_MASK   (0x0f)

Definition at line 60 of file adl_pci6208.c.

#define PCI6208_DIO_DO_SHIFT   (0)

Definition at line 61 of file adl_pci6208.c.

#define PCI6208_MAX_AO_CHANNELS   16

Definition at line 65 of file adl_pci6208.c.

#define PCI_DEVICE_ID_PCI6208   0x6208

Definition at line 50 of file adl_pci6208.c.

#define PCI_DEVICE_ID_PCI6216   0x6216

Definition at line 51 of file adl_pci6208.c.

Function Documentation

MODULE_AUTHOR ( "Comedi http://www.comedi.org"  )
module_comedi_pci_driver ( adl_pci6208_driver  ,
adl_pci6208_pci_driver   
)
MODULE_DESCRIPTION ( "Comedi low-level driver )
MODULE_DEVICE_TABLE ( pci  ,
adl_pci6208_pci_table   
)
MODULE_LICENSE ( "GPL"  )