Poster of Linux kernelThe best gift for a Linux geek
COMEDI_DIO_READ

COMEDI_DIO_READ

Section: (3) Updated: 28 October 2007
Local index Up

 

NAME

comedi_dio_read - read single bit from digital channel  

SYNOPSIS

#include <comedilib.h>

int comedi_dio_read (comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int * bit);  

DESCRIPTION

The function reads the channel channel belonging to the subdevice subdevice of device device. The data value that is read is stored in the location pointed to by bit. This function is equivalent to comedi_data_read(device,subdevice,channel,0,0,bit). This function does not require a digital subdevice or a subdevice with a maximum data value of 1 to work properly.

Return values and errors are the same as comedi_data_read().


 

Index

NAME
SYNOPSIS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 21:43:40 GMT, April 16, 2011