comedi_dio_get_config(3)

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.

  1. 5.0–6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

Authors

David Schleef <[email protected]>

Author.

Frank Mori Hess <[email protected]>

Author.

Herman Bruyninckx <[email protected]>

Author.

Bernd Porr <[email protected]>

Author.

Ian Abbott <[email protected]>

Author.

Éric Piel <[email protected]>

Author.

From libcomedi-dev 0.11.0+5-1.3+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.