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

Go to the source code of this file.

Data Structures

struct  pcl711_board
 
struct  pcl711_private
 

Macros

#define PCL711_SIZE   16
 
#define PCL711_CTR0   0
 
#define PCL711_CTR1   1
 
#define PCL711_CTR2   2
 
#define PCL711_CTRCTL   3
 
#define PCL711_AD_LO   4
 
#define PCL711_DA0_LO   4
 
#define PCL711_AD_HI   5
 
#define PCL711_DA0_HI   5
 
#define PCL711_DI_LO   6
 
#define PCL711_DA1_LO   6
 
#define PCL711_DI_HI   7
 
#define PCL711_DA1_HI   7
 
#define PCL711_CLRINTR   8
 
#define PCL711_GAIN   9
 
#define PCL711_MUX   10
 
#define PCL711_MODE   11
 
#define PCL711_SOFTTRIG   12
 
#define PCL711_DO_LO   13
 
#define PCL711_DO_HI   14
 
#define PCL711_TIMEOUT   100
 
#define PCL711_DRDY   0x10
 
#define devpriv   ((struct pcl711_private *)dev->private)
 
#define MAX_SPEED   1000
 
#define TIMER_BASE   100
 

Functions

 module_comedi_driver (pcl711_driver)
 
 MODULE_AUTHOR ("Comedi http://www.comedi.org")
 
 MODULE_DESCRIPTION ("Comedi low-level driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

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

Definition at line 164 of file pcl711.c.

#define MAX_SPEED   1000
#define PCL711_AD_HI   5

Definition at line 78 of file pcl711.c.

#define PCL711_AD_LO   4

Definition at line 76 of file pcl711.c.

#define PCL711_CLRINTR   8

Definition at line 84 of file pcl711.c.

#define PCL711_CTR0   0

Definition at line 72 of file pcl711.c.

#define PCL711_CTR1   1

Definition at line 73 of file pcl711.c.

#define PCL711_CTR2   2

Definition at line 74 of file pcl711.c.

#define PCL711_CTRCTL   3

Definition at line 75 of file pcl711.c.

#define PCL711_DA0_HI   5

Definition at line 79 of file pcl711.c.

#define PCL711_DA0_LO   4

Definition at line 77 of file pcl711.c.

#define PCL711_DA1_HI   7

Definition at line 83 of file pcl711.c.

#define PCL711_DA1_LO   6

Definition at line 81 of file pcl711.c.

#define PCL711_DI_HI   7

Definition at line 82 of file pcl711.c.

#define PCL711_DI_LO   6

Definition at line 80 of file pcl711.c.

#define PCL711_DO_HI   14

Definition at line 90 of file pcl711.c.

#define PCL711_DO_LO   13

Definition at line 89 of file pcl711.c.

#define PCL711_DRDY   0x10

Definition at line 135 of file pcl711.c.

#define PCL711_GAIN   9

Definition at line 85 of file pcl711.c.

#define PCL711_MODE   11

Definition at line 87 of file pcl711.c.

#define PCL711_MUX   10

Definition at line 86 of file pcl711.c.

#define PCL711_SIZE   16

Definition at line 70 of file pcl711.c.

#define PCL711_SOFTTRIG   12

Definition at line 88 of file pcl711.c.

#define PCL711_TIMEOUT   100

Definition at line 134 of file pcl711.c.

#define TIMER_BASE   100

Function Documentation

MODULE_AUTHOR ( "Comedi http://www.comedi.org"  )
module_comedi_driver ( pcl711_driver  )
MODULE_DESCRIPTION ( "Comedi low-level driver )
MODULE_LICENSE ( "GPL"  )