RTXI 1.3
comedi/comedi/drivers/rti800.c File Reference
#include <linux/comedidev.h>
#include <linux/ioport.h>
#include "am9513.h"

Go to the source code of this file.

Classes

struct  boardtype
struct  rti800_private

Defines

#define RTI800_SIZE   16
#define RTI800_CSR   0
#define RTI800_MUXGAIN   1
#define RTI800_CONVERT   2
#define RTI800_ADCLO   3
#define RTI800_ADCHI   4
#define RTI800_DAC0LO   5
#define RTI800_DAC0HI   6
#define RTI800_DAC1LO   7
#define RTI800_DAC1HI   8
#define RTI800_CLRFLAGS   9
#define RTI800_DI   10
#define RTI800_DO   11
#define RTI800_9513A_DATA   12
#define RTI800_9513A_CNTRL   13
#define RTI800_9513A_STATUS   13
#define RTI800_BUSY   0x80
#define RTI800_DONE   0x40
#define RTI800_OVERRUN   0x20
#define RTI800_TCR   0x10
#define RTI800_DMA_ENAB   0x08
#define RTI800_INTR_TC   0x04
#define RTI800_INTR_EC   0x02
#define RTI800_INTR_OVRN   0x01
#define Am9513_8BITBUS
#define Am9513_output_control(a)   outb(a,dev->iobase+RTI800_9513A_CNTRL)
#define Am9513_output_data(a)   outb(a,dev->iobase+RTI800_9513A_DATA)
#define Am9513_input_data()   inb(dev->iobase+RTI800_9513A_DATA)
#define Am9513_input_status()   inb(dev->iobase+RTI800_9513A_STATUS)
#define this_board   ((const boardtype *)dev->board_ptr)
#define devpriv   ((rti800_private *)dev->private)
#define RTI800_TIMEOUT   100

Functions

 COMEDI_INITCLEANUP (driver_rti800)

Define Documentation

#define Am9513_8BITBUS

Definition at line 90 of file rti800.c.

#define Am9513_input_data ( )    inb(dev->iobase+RTI800_9513A_DATA)

Definition at line 94 of file rti800.c.

#define Am9513_input_status ( )    inb(dev->iobase+RTI800_9513A_STATUS)

Definition at line 95 of file rti800.c.

#define Am9513_output_control (   a)    outb(a,dev->iobase+RTI800_9513A_CNTRL)

Definition at line 92 of file rti800.c.

#define Am9513_output_data (   a)    outb(a,dev->iobase+RTI800_9513A_DATA)

Definition at line 93 of file rti800.c.

#define devpriv   ((rti800_private *)dev->private)

Definition at line 169 of file rti800.c.

#define RTI800_9513A_CNTRL   13

Definition at line 74 of file rti800.c.

#define RTI800_9513A_DATA   12

Definition at line 73 of file rti800.c.

#define RTI800_9513A_STATUS   13

Definition at line 75 of file rti800.c.

#define RTI800_ADCHI   4

Definition at line 65 of file rti800.c.

#define RTI800_ADCLO   3

Definition at line 64 of file rti800.c.

#define RTI800_BUSY   0x80

Definition at line 81 of file rti800.c.

#define RTI800_CLRFLAGS   9

Definition at line 70 of file rti800.c.

#define RTI800_CONVERT   2

Definition at line 63 of file rti800.c.

#define RTI800_CSR   0

Definition at line 61 of file rti800.c.

#define RTI800_DAC0HI   6

Definition at line 67 of file rti800.c.

#define RTI800_DAC0LO   5

Definition at line 66 of file rti800.c.

#define RTI800_DAC1HI   8

Definition at line 69 of file rti800.c.

#define RTI800_DAC1LO   7

Definition at line 68 of file rti800.c.

#define RTI800_DI   10

Definition at line 71 of file rti800.c.

#define RTI800_DMA_ENAB   0x08

Definition at line 85 of file rti800.c.

#define RTI800_DO   11

Definition at line 72 of file rti800.c.

#define RTI800_DONE   0x40

Definition at line 82 of file rti800.c.

#define RTI800_INTR_EC   0x02

Definition at line 87 of file rti800.c.

#define RTI800_INTR_OVRN   0x01

Definition at line 88 of file rti800.c.

#define RTI800_INTR_TC   0x04

Definition at line 86 of file rti800.c.

#define RTI800_MUXGAIN   1

Definition at line 62 of file rti800.c.

#define RTI800_OVERRUN   0x20

Definition at line 83 of file rti800.c.

#define RTI800_SIZE   16

Definition at line 59 of file rti800.c.

#define RTI800_TCR   0x10

Definition at line 84 of file rti800.c.

#define RTI800_TIMEOUT   100

Definition at line 171 of file rti800.c.

#define this_board   ((const boardtype *)dev->board_ptr)

Definition at line 130 of file rti800.c.


Function Documentation

COMEDI_INITCLEANUP ( driver_rti800  )
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines