1COMEDI_GET_CMD_SRC_MASK(3) COMEDI_GET_CMD_SRC_MASK(3)
2
3
4
6 comedi_get_cmd_src_mask - streaming input/output capabilities
7
9 #include <comedilib.h>
10
11 int comedi_get_cmd_src_mask (comedi_t * device, unsigned int subdevice,
12 comedi_cmd * command);
13
15 The command capabilities of the subdevice indicated by the parameters
16 device and subdevice are probed, and the results placed in the command
17 structure pointed to by the parameter command. The trigger source ele‐
18 ments of the command structure are set to the logical OR value of pos‐
19 sible trigger sources. Other elements in the structure are undefined.
20 If sucessful, 0 is returned, otherwise -1.
21
22 28 October 2007 COMEDI_GET_CMD_SRC_MASK(3)