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_reset_channel - reset a subdevice channel

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 resets a specified channel of a subdevice. It is only useable on subdevices that provide
       support for the INSN_CONFIG_RESET configuration instruction. Some subdevices treat this as an instruction
       to reset the whole subdevice and ignore the specified channel. For such subdevices, comedi_reset is
       normally called instead.

Name

       comedi_reset_channel - reset a subdevice channel

Return Value

       0 on success, -1 on error.

Status

       alpha

Synopsis

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

See Also