comedi_disarm_channel man page

comedi_disarm_channel — disarm a subdevice channel

Synopsis

#include <comedilib.h>

int comedi_disarm_channel(comedi_t * device, unsigned int subdevice, unsigned int channel);

Status

alpha

Description

This function disarms a specified channel of a subdevice. It may, for example, stop a counter counting. This function is only useable on subdevices that provide support for the INSN_CONFIG_DISARM configuration instruction. Some subdevices treat this as an instruction to disarm the whole subdevice and ignore the specified channel. For such subdevices, comedi_disarm is normally called instead.

Return Value

0 on success, -1 on error.

Authors

David Schleef <ds@schleef.org>

Author.

Frank Mori Hess <fmhess@users.sourceforge.net>

Author.

Herman Bruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>

Author.

Bernd Porr <tech@linux-usb-daq.co.uk>

Author.

Ian Abbott <abbotti@mev.co.uk>

Author.

Éric Piel <piel@delmic.com>

Author.

Info

05/11/2017 Comedi reference