comedi_reset3
Reset a subdevice
Usage
#include <comedilib.h>
int comedi_reset(comedi_t * device, unsigned int subdevice);
Status
alpha
Overview
This function resets a subdevice. It is only useable on subdevices that provide support for the INSN_CONFIG_RESET configuration instruction. Some subdevices treat this as an instruction to reset a specific channel. For those subdevices, this function will reset channel 0 and comedi_reset_channel should be called instead of this one to specify the channel.
Return value
0 on success, -1 on error.
Releases
7 releases since Debian 7 (Wheezy); the text changed 6 times.