carta
comedi_get_gate_source(3)

comedi_get_gate_source3

Get gate for a subdevice

Status

alpha

Overview

This function queries the gate for a subdevice, as set by comedi_set_gate_source. The currently configured gate source will be written to *gate_source. The possible values and their corresponding gates are driver-dependant. If the subdevice does not support configuring its gates on a per-channel basis, then the channel parameter will be ignored.

This function is only useable on subdevices that provide support for the INSN_CONFIG_GET_GATE_SRC configuration instruction.

Return value

0 on success, -1 on error.

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)

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.