table of contents
COMEDI_DIO_GET_CONFI(3) | Comedi reference | COMEDI_DIO_GET_CONFI(3) |
NAME¶
comedi_dio_get_config - query input/output properties of channelSYNOPSIS¶
#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 queries the input/output configuration of an individual channel in a digital I/O subdevice (see comedi_dio_config). On success, * direction will be set to either COMEDI_INPUT or COMEDI_OUTPUT.RETURN VALUE¶
If successful, 0 is returned, otherwise -1.AUTHORS¶
David Schleef <ds@schleef.org>Author.
Frank Mori Hess <fmhess@users.sourceforge.net>
Author.
Herman Bruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
Author.
Bernd Porr <tech@linux-usb-daq.co.uk>
Author.
Ian Abbott <abbotti@mev.co.uk>
Author.
Éric Piel <piel@delmic.com>
Author.
COPYRIGHT¶
Copyright © 1998-2003 David Schleef07/14/2014 | Comedi |