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

Go to the source code of this file.

Data Structures

struct  ni_65xx_board
 
struct  ni_65xx_private
 
struct  ni_65xx_subdevice_private
 

Macros

#define _GNU_SOURCE
 
#define DEBUG   1
 
#define DEBUG_FLAGS
 
#define NI6514_DIO_SIZE   4096
 
#define NI6514_MITE_SIZE   4096
 
#define NI_65XX_MAX_NUM_PORTS   12
 
#define ID_Register   0x00
 
#define Clear_Register   0x01
 
#define ClrEdge   0x08
 
#define ClrOverflow   0x04
 
#define Filter_Interval   0x08
 
#define Change_Status   0x02
 
#define MasterInterruptStatus   0x04
 
#define Overflow   0x02
 
#define EdgeStatus   0x01
 
#define Master_Interrupt_Control   0x03
 
#define FallingEdgeIntEnable   0x10
 
#define RisingEdgeIntEnable   0x08
 
#define MasterInterruptEnable   0x04
 
#define OverflowIntEnable   0x02
 
#define EdgeIntEnable   0x01
 
#define n_ni_65xx_boards   ARRAY_SIZE(ni_65xx_boards)
 

Functions

 MODULE_DEVICE_TABLE (pci, ni_65xx_pci_table)
 
 module_comedi_pci_driver (ni_65xx_driver, ni_65xx_pci_driver)
 
 MODULE_AUTHOR ("Comedi http://www.comedi.org")
 
 MODULE_DESCRIPTION ("Comedi low-level driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 51 of file ni_65xx.c.

#define Change_Status   0x02

Definition at line 101 of file ni_65xx.c.

#define Clear_Register   0x01

Definition at line 95 of file ni_65xx.c.

#define ClrEdge   0x08

Definition at line 96 of file ni_65xx.c.

#define ClrOverflow   0x04

Definition at line 97 of file ni_65xx.c.

#define DEBUG   1

Definition at line 52 of file ni_65xx.c.

#define DEBUG_FLAGS

Definition at line 53 of file ni_65xx.c.

#define EdgeIntEnable   0x01

Definition at line 111 of file ni_65xx.c.

#define EdgeStatus   0x01

Definition at line 104 of file ni_65xx.c.

#define FallingEdgeIntEnable   0x10

Definition at line 107 of file ni_65xx.c.

#define Filter_Interval   0x08

Definition at line 99 of file ni_65xx.c.

#define ID_Register   0x00

Definition at line 93 of file ni_65xx.c.

#define Master_Interrupt_Control   0x03

Definition at line 106 of file ni_65xx.c.

#define MasterInterruptEnable   0x04

Definition at line 109 of file ni_65xx.c.

#define MasterInterruptStatus   0x04

Definition at line 102 of file ni_65xx.c.

#define n_ni_65xx_boards   ARRAY_SIZE(ni_65xx_boards)

Definition at line 241 of file ni_65xx.c.

#define NI6514_DIO_SIZE   4096

Definition at line 61 of file ni_65xx.c.

#define NI6514_MITE_SIZE   4096

Definition at line 62 of file ni_65xx.c.

#define NI_65XX_MAX_NUM_PORTS   12

Definition at line 64 of file ni_65xx.c.

#define Overflow   0x02

Definition at line 103 of file ni_65xx.c.

#define OverflowIntEnable   0x02

Definition at line 110 of file ni_65xx.c.

#define RisingEdgeIntEnable   0x08

Definition at line 108 of file ni_65xx.c.

Function Documentation

MODULE_AUTHOR ( "Comedi http://www.comedi.org"  )
module_comedi_pci_driver ( ni_65xx_driver  ,
ni_65xx_pci_driver   
)
MODULE_DESCRIPTION ( "Comedi low-level driver )
MODULE_DEVICE_TABLE ( pci  ,
ni_65xx_pci_table   
)
MODULE_LICENSE ( "GPL"  )