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

Go to the source code of this file.

Data Structures

struct  dmm32at_board
 
struct  dmm32at_private
 

Macros

#define DMM32AT_MEMSIZE   0x10
 
#define DMM32AT_CONV   0x00
 
#define DMM32AT_AILSB   0x00
 
#define DMM32AT_AUXDOUT   0x01
 
#define DMM32AT_AIMSB   0x01
 
#define DMM32AT_AILOW   0x02
 
#define DMM32AT_AIHIGH   0x03
 
#define DMM32AT_DACLSB   0x04
 
#define DMM32AT_DACSTAT   0x04
 
#define DMM32AT_DACMSB   0x05
 
#define DMM32AT_FIFOCNTRL   0x07
 
#define DMM32AT_FIFOSTAT   0x07
 
#define DMM32AT_CNTRL   0x08
 
#define DMM32AT_AISTAT   0x08
 
#define DMM32AT_INTCLOCK   0x09
 
#define DMM32AT_CNTRDIO   0x0a
 
#define DMM32AT_AICONF   0x0b
 
#define DMM32AT_AIRBACK   0x0b
 
#define DMM32AT_CLK1   0x0d
 
#define DMM32AT_CLK2   0x0e
 
#define DMM32AT_CLKCT   0x0f
 
#define DMM32AT_DIOA   0x0c
 
#define DMM32AT_DIOB   0x0d
 
#define DMM32AT_DIOC   0x0e
 
#define DMM32AT_DIOCONF   0x0f
 
#define DMM32AT_DACBUSY   0x80
 
#define DMM32AT_FIFORESET   0x02
 
#define DMM32AT_SCANENABLE   0x04
 
#define DMM32AT_RESET   0x20
 
#define DMM32AT_INTRESET   0x08
 
#define DMM32AT_CLKACC   0x00
 
#define DMM32AT_DIOACC   0x01
 
#define DMM32AT_STATUS   0x80
 
#define DMM32AT_ADINT   0x80
 
#define DMM32AT_CLKSEL   0x03
 
#define DMM32AT_FREQ12   0x80
 
#define DMM32AT_RANGE_U10   0x0c
 
#define DMM32AT_RANGE_U5   0x0d
 
#define DMM32AT_RANGE_B10   0x08
 
#define DMM32AT_RANGE_B5   0x00
 
#define DMM32AT_SCINT_20   0x00
 
#define DMM32AT_SCINT_15   0x10
 
#define DMM32AT_SCINT_10   0x20
 
#define DMM32AT_SCINT_5   0x30
 
#define DMM32AT_CLKCT1   0x56 /* mode3 counter 1 - write low byte only */
 
#define DMM32AT_CLKCT2   0xb6 /* mode3 counter 2 - write high and low byte */
 
#define DMM32AT_DIENABLE   0x80
 
#define DMM32AT_DIRA   0x10
 
#define DMM32AT_DIRB   0x02
 
#define DMM32AT_DIRCL   0x01
 
#define DMM32AT_DIRCH   0x08
 
#define MAX_SCAN_SPEED   1000000 /* in nanoseconds */
 
#define MIN_SCAN_SPEED   1000000000 /* in nanoseconds */
 

Functions

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

Macro Definition Documentation

#define DMM32AT_ADINT   0x80

Definition at line 102 of file dmm32at.c.

#define DMM32AT_AICONF   0x0b

Definition at line 71 of file dmm32at.c.

#define DMM32AT_AIHIGH   0x03

Definition at line 55 of file dmm32at.c.

#define DMM32AT_AILOW   0x02

Definition at line 54 of file dmm32at.c.

#define DMM32AT_AILSB   0x00

Definition at line 51 of file dmm32at.c.

#define DMM32AT_AIMSB   0x01

Definition at line 53 of file dmm32at.c.

#define DMM32AT_AIRBACK   0x0b

Definition at line 72 of file dmm32at.c.

#define DMM32AT_AISTAT   0x08

Definition at line 65 of file dmm32at.c.

#define DMM32AT_AUXDOUT   0x01

Definition at line 52 of file dmm32at.c.

#define DMM32AT_CLK1   0x0d

Definition at line 74 of file dmm32at.c.

#define DMM32AT_CLK2   0x0e

Definition at line 75 of file dmm32at.c.

#define DMM32AT_CLKACC   0x00

Definition at line 95 of file dmm32at.c.

#define DMM32AT_CLKCT   0x0f

Definition at line 76 of file dmm32at.c.

#define DMM32AT_CLKCT1   0x56 /* mode3 counter 1 - write low byte only */

Definition at line 119 of file dmm32at.c.

#define DMM32AT_CLKCT2   0xb6 /* mode3 counter 2 - write high and low byte */

Definition at line 120 of file dmm32at.c.

#define DMM32AT_CLKSEL   0x03

Definition at line 103 of file dmm32at.c.

#define DMM32AT_CNTRDIO   0x0a

Definition at line 69 of file dmm32at.c.

#define DMM32AT_CNTRL   0x08

Definition at line 64 of file dmm32at.c.

#define DMM32AT_CONV   0x00

Definition at line 50 of file dmm32at.c.

#define DMM32AT_DACBUSY   0x80

Definition at line 86 of file dmm32at.c.

#define DMM32AT_DACLSB   0x04

Definition at line 57 of file dmm32at.c.

#define DMM32AT_DACMSB   0x05

Definition at line 59 of file dmm32at.c.

#define DMM32AT_DACSTAT   0x04

Definition at line 58 of file dmm32at.c.

#define DMM32AT_DIENABLE   0x80

Definition at line 123 of file dmm32at.c.

#define DMM32AT_DIOA   0x0c

Definition at line 78 of file dmm32at.c.

#define DMM32AT_DIOACC   0x01

Definition at line 96 of file dmm32at.c.

#define DMM32AT_DIOB   0x0d

Definition at line 79 of file dmm32at.c.

#define DMM32AT_DIOC   0x0e

Definition at line 80 of file dmm32at.c.

#define DMM32AT_DIOCONF   0x0f

Definition at line 81 of file dmm32at.c.

#define DMM32AT_DIRA   0x10

Definition at line 124 of file dmm32at.c.

#define DMM32AT_DIRB   0x02

Definition at line 125 of file dmm32at.c.

#define DMM32AT_DIRCH   0x08

Definition at line 127 of file dmm32at.c.

#define DMM32AT_DIRCL   0x01

Definition at line 126 of file dmm32at.c.

#define DMM32AT_FIFOCNTRL   0x07

Definition at line 61 of file dmm32at.c.

#define DMM32AT_FIFORESET   0x02

Definition at line 89 of file dmm32at.c.

#define DMM32AT_FIFOSTAT   0x07

Definition at line 62 of file dmm32at.c.

#define DMM32AT_FREQ12   0x80

Definition at line 106 of file dmm32at.c.

#define DMM32AT_INTCLOCK   0x09

Definition at line 67 of file dmm32at.c.

#define DMM32AT_INTRESET   0x08

Definition at line 94 of file dmm32at.c.

#define DMM32AT_MEMSIZE   0x10

Definition at line 48 of file dmm32at.c.

#define DMM32AT_RANGE_B10   0x08

Definition at line 111 of file dmm32at.c.

#define DMM32AT_RANGE_B5   0x00

Definition at line 112 of file dmm32at.c.

#define DMM32AT_RANGE_U10   0x0c

Definition at line 109 of file dmm32at.c.

#define DMM32AT_RANGE_U5   0x0d

Definition at line 110 of file dmm32at.c.

#define DMM32AT_RESET   0x20

Definition at line 93 of file dmm32at.c.

#define DMM32AT_SCANENABLE   0x04

Definition at line 90 of file dmm32at.c.

#define DMM32AT_SCINT_10   0x20

Definition at line 115 of file dmm32at.c.

#define DMM32AT_SCINT_15   0x10

Definition at line 114 of file dmm32at.c.

#define DMM32AT_SCINT_20   0x00

Definition at line 113 of file dmm32at.c.

#define DMM32AT_SCINT_5   0x30

Definition at line 116 of file dmm32at.c.

#define DMM32AT_STATUS   0x80

Definition at line 99 of file dmm32at.c.

#define MAX_SCAN_SPEED   1000000 /* in nanoseconds */
#define MIN_SCAN_SPEED   1000000000 /* in nanoseconds */

Function Documentation

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