1COMEDI_DIO_GET_CONFIG(3) COMEDI_DIO_GET_CONFIG(3)
2
3
4
6 comedi_dio_get_config - query input/output properties of channel
7
9 #include <comedilib.h>
10
11 int comedi_dio_get_config (comedi_t * device, unsigned int subdevice,
12 unsigned int channel, unsigned int * direction);
13
15 The function comedi_dio_get_config() querys the configuration of an
16 individual channel in a digital I/O subdevice (see comedi_dio_con‐
17 fig()). On success, the variable specified by the "direction" pointer
18 will be set to either COMEDI_INPUT or COMEDI_OUTPUT.
19
20 If sucessful, 0 is returned, otherwise -1.
21
22 28 October 2007 COMEDI_DIO_GET_CONFIG(3)