Документ взят из кэша поисковой машины. Адрес оригинального документа : http://mavr.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-get-cmd-src-mask.html
Дата изменения: Unknown
Дата индексирования: Fri Dec 28 19:52:52 2007
Кодировка:

Поисковые слова: m 106
comedi_get_cmd_src_mask

comedi_get_cmd_src_mask

Name

comedi_get_cmd_src_mask -- streaming input/output capabilities

Synopsis

#include <comedilib.h>

int comedi_get_cmd_src_mask(comedi_t * device, unsigned int subdevice, comedi_cmd * command);

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 the parameter command. The trigger source elements of the command structure are set to the logical OR value of possible trigger sources. Other elements in the structure are undefined. If sucessful, 0 is returned, otherwise -1.