comedi_get_subdevice_type

Name

comedi_get_subdevice_type -- type of subdevice

Synopsis

#include <comedilib.h>

int comedi_get_subdevice_type(comedi_t * device, unsigned int subdevice);

Description

The function comedi_get_subdevice_type() returns an integer describing the type of subdevice that belongs to the comedi device device and has the index subdevice. The function returns -1 if there is an error. XXX Subdevice type table