logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

comedi_disarm - disarm a subdevice

Authors

DavidSchleef <ds@schleef.org>
           Author.

       FrankMoriHess <fmhess@users.sourceforge.net>
           Author.

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

       BerndPorr <tech@linux-usb-daq.co.uk>
           Author.

       IanAbbott <abbotti@mev.co.uk>
           Author.

       ÉricPiel <piel@delmic.com>
           Author.

Description

       This function disarms 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 a specific channel. For those subdevices, this function
       will disarm channel 0 and comedi_disarm_channel should be called instead of this one to specify the
       channel.

Name

       comedi_disarm - disarm a subdevice

Return Value

       0 on success, -1 on error.

Status

       alpha

Synopsis

#include<comedilib.h>intcomedi_disarm(comedi_t*device,unsignedintsubdevice);

See Also