Poster of Linux kernelThe best gift for a Linux geek
COMEDI_DIO_GET_CONFIG

COMEDI_DIO_GET_CONFIG

Section: (3) Updated: 28 October 2007
Local index Up

 

NAME

comedi_dio_get_config - query input/output properties of channel  

SYNOPSIS

#include <comedilib.h>

int comedi_dio_get_config (comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int * direction);  

DESCRIPTION

The function comedi_dio_get_config() querys the configuration of an individual channel in a digital I/O subdevice (see comedi_dio_config()). On success, the variable specified by the "direction" pointer will be set to either COMEDI_INPUT or COMEDI_OUTPUT.

If sucessful, 0 is returned, otherwise -1.


 

Index

NAME
SYNOPSIS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 21:43:40 GMT, April 16, 2011