comedi_dio_get_config — query input/output properties of channel
#include <comedilib.h>
int comedi_dio_get_config( | comedi_t * device, |
unsigned int subdevice, | |
unsigned int channel, | |
unsigned int * direction) ; |
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, *
will
be set to either direction
COMEDI_INPUT
or
COMEDI_OUTPUT
.