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_get_cmd_src_mask - streaming input/output capabilities

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

       The command capabilities of the subdevice indicated by the parameters device and subdevice are probed,
       and the results placed in the command structure pointed to by command. The trigger source elements of the
       command structure are set to be the bitwise-or of the subdevice's supported trigger sources. Other
       elements in the structure are undefined.

Name

       comedi_get_cmd_src_mask - streaming input/output capabilities

Return Value

       On success, 0 is returned. On failure, -1 is returned.

Synopsis

#include<comedilib.h>intcomedi_get_cmd_src_mask(comedi_t*device,unsignedintsubdevice,comedi_cmd*command);

See Also