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

Go to the source code of this file.

Data Structures

struct  unioxx5_subd_priv
 

Macros

#define DRIVER_NAME   "unioxx5"
 
#define UNIOXX5_SIZE   0x10
 
#define UNIOXX5_SUBDEV_BASE   0xA000 /* base addr of first subdev */
 
#define UNIOXX5_SUBDEV_ODDS   0x400
 
#define MODULE_DIGITAL   0
 
#define MODULE_OUTPUT_MASK   0x80 /* analog input/output */
 
#define UNIOXX5_NUM_OF_CHANS   24
 
#define TxBE   0x10 /* transmit buffer enable */
 
#define RxCA   0x20 /* 1 receive character available */
 
#define Rx2CA   0x40 /* 2 receive character available */
 
#define Rx4CA   0x80 /* 4 receive character available */
 
#define Rx2CA_ERR_MASK   0x04 /* 2 bytes receiving error */
 
#define Rx4CA_ERR_MASK   0x08 /* 4 bytes receiving error */
 
#define ALL_2_INPUT   0 /* config all digital channels to input */
 
#define ALL_2_OUTPUT   1 /* config all digital channels to output */
 

Functions

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

Macro Definition Documentation

#define ALL_2_INPUT   0 /* config all digital channels to input */

Definition at line 72 of file unioxx5.c.

#define ALL_2_OUTPUT   1 /* config all digital channels to output */

Definition at line 73 of file unioxx5.c.

#define DRIVER_NAME   "unioxx5"

Definition at line 49 of file unioxx5.c.

#define MODULE_DIGITAL   0

Definition at line 55 of file unioxx5.c.

#define MODULE_OUTPUT_MASK   0x80 /* analog input/output */

Definition at line 56 of file unioxx5.c.

#define Rx2CA   0x40 /* 2 receive character available */

Definition at line 64 of file unioxx5.c.

#define Rx2CA_ERR_MASK   0x04 /* 2 bytes receiving error */

Definition at line 68 of file unioxx5.c.

#define Rx4CA   0x80 /* 4 receive character available */

Definition at line 65 of file unioxx5.c.

#define Rx4CA_ERR_MASK   0x08 /* 4 bytes receiving error */

Definition at line 69 of file unioxx5.c.

#define RxCA   0x20 /* 1 receive character available */

Definition at line 63 of file unioxx5.c.

#define TxBE   0x10 /* transmit buffer enable */

Definition at line 62 of file unioxx5.c.

#define UNIOXX5_NUM_OF_CHANS   24

Definition at line 59 of file unioxx5.c.

#define UNIOXX5_SIZE   0x10

Definition at line 50 of file unioxx5.c.

#define UNIOXX5_SUBDEV_BASE   0xA000 /* base addr of first subdev */

Definition at line 51 of file unioxx5.c.

#define UNIOXX5_SUBDEV_ODDS   0x400

Definition at line 52 of file unioxx5.c.

Function Documentation

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