comedi_dio_get_config3
Query input/output properties of channel
Usage
#include <comedilib.h>
int comedi_dio_get_config(comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int * direction);
Overview
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.
Releases
9 releases since Debian 5.0 (Lenny); the text changed 7 times.