Desktop/FinalOpenEaagles/FinalOpenEaagles/deviceIO/linux/kpci.h File Reference

This graph shows which files directly or indirectly include this file:


Classes

struct  Kpci310xAD
 Model KPCI-3102 A/D Data Structure. More...
struct  Kpci310xDA
struct  Kpci310xData
struct  Kpci310xCtl
struct  Kpci310xcmb
struct  Kpci3160Data
struct  Kpci3160Ctl

Defines

#define FALSE   0
#define TRUE   (!(FALSE))
#define NULL   0
#define KPCI_INPUT   1
#define KPCI_OUTPUT   0
#define SET3160   0x100
#define SET3102   0x100

Enumerations

enum  { maxCards = 16 }
enum  { Kpci310xADs = 16 }
enum  { Kpci310xDAs = 2 }
enum  { Kpci310xSignals = 8 }
enum  { Kpci3160Groups = 4, Kpci3160Signals = 8 }

Define Documentation

#define FALSE   0

KPCI (Keithley I/O Cards) Device Driver Header File

    1. Device driver for the follow Keithley PCI I/O devices

   		KPCI-3101		Analog & Digital I/O Card
   		KPCI-3102		Analog & Digital I/O Card
   		KPCI-3103		Analog & Digital I/O Card
   		KPCI-3104		Analog & Digital I/O Card
   		KPCI-3160		Digital I/O Card

     2. Major number: (soon to be) dynamically assigned (now it's 250)

     3. Minor number (shown as hexidecmal):

   		a) The 4 MSB determine the device type as follows:
   			0x  => KPCI-3101
   			1x  => KPCI-3102
   			2x  => KPCI-3103
   			3x  => KPCI-3104
   			4x  => KPCI-3160

   		b) The 4 LSB (zero based) determine which device of the
        	type defined by the 4 MSBs

        	c) Examples:  0x11 is the second device of type KPCI-3102
                	      0x40 is the first device of type KPCI-3160
    /pre>

#define KPCI_INPUT   1

#define KPCI_OUTPUT   0

#define NULL   0

#define SET3102   0x100

#define SET3160   0x100

#define TRUE   (!(FALSE))


Enumeration Type Documentation

anonymous enum

Max number of devices (cards).

Enumerator:
maxCards 

anonymous enum

Model KPCI-3102 data structures.

Enumerator:
Kpci310xADs 

anonymous enum

Enumerator:
Kpci310xDAs 

anonymous enum

Port A 8 bits, Port B 8 bits, Port C 7 bits.

Enumerator:
Kpci310xSignals 

anonymous enum

Model KPCI-3160 data structures

Notes: 1) At startup all signals default to inputs 2) Kpci3160Ctl is used with ioctl() to set the direction of the signals 3) Kpci3160Data is used during read() and write() opeations. Only the data signals that match the direction of the operation are used. a) read() uses KCPI_INPUT signals only a) write() uses KCPI_OUTOUT signals only

Enumerator:
Kpci3160Groups 
Kpci3160Signals 


Generated on Tue Dec 19 16:23:42 2006 for Eaagles by  doxygen 1.5.0