comedi_reset(3)

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.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Authors

David Schleef <[email protected]>

Author.

Frank Mori Hess <[email protected]>

Author.

Herman Bruyninckx <[email protected]>

Author.

Bernd Porr <[email protected]>

Author.

Ian Abbott <[email protected]>

Author.

Éric Piel <[email protected]>

Author.

From libcomedi-dev 0.11.0+5-1.3+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.