Name

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 configuration instruction.

Return value

0 on success, -1 on error.