Specifications
Comedi
67 / 148
Description
This function queries the routing for an output, as set by comedi_set_routing(). The currently configured routing will be
written to
*
routing. The possible values and their corresponding routings are driver-dependant.
This function is only useable on subdevices that provide support for the INSN_CONFIG_GET_ROUTING configuration instruc-
tion.
Return value
0 on success, -1 on error.
5.4.6.6 comedi_reset
comedi_reset — reset a subdevice
Synopsis
#include <comedilib.h>
int comedi_reset(comedi_t * device, unsigned int subdevice);
Status
alpha
Description
This function resets a subdevice. It is only useable on subdevices that provide support for the INSN_CONFIG_RESET configu-
ration instruction.
Return value
0 on success, -1 on error.
5.4.6.7 comedi_set_clock_source
comedi_set_clock_source — set master clock for a subdevice
Synopsis
#include <comedilib.h>
int comedi_set_clock_source(comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int clock, unsigned int
period_ns);
Status
alpha