~ubuntu-branches/ubuntu/intrepid/comedilib/intrepid

« back to all changes in this revision

Viewing changes to doc/man/comedi_dio_read.3

  • Committer: Bazaar Package Importer
  • Author(s): David Schleef
  • Date: 2004-11-04 11:43:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041104114351-a50kaei5yamka8r6
Tags: 0.7.22-2
It helps if the shared library is actually in the package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" This manpage has been automatically generated by docbook2man 
 
2
.\" from a DocBook document.  This tool can be found at:
 
3
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
 
4
.\" Please send any bug reports, improvements, comments, patches, 
 
5
.\" etc. to Steve Cheng <steve@ggi-project.org>.
 
6
.TH "COMEDI_DIO_READ" "3" "02 October 2004" "" ""
 
7
 
 
8
.SH NAME
 
9
comedi_dio_read \- read single bit from digital channel
 
10
.SH SYNOPSIS
 
11
.sp
 
12
\fB#include <comedilib.h>
 
13
.sp
 
14
int comedi_dio_read (comedi_t * \fIdevice\fB, unsigned int \fIsubdevice\fB, unsigned int \fIchannel\fB, unsigned int * \fIbit\fB);
 
15
\fR
 
16
.SH "DESCRIPTION"
 
17
.PP
 
18
The function reads the channel channel belonging to the
 
19
subdevice subdevice of device device.  The data value that is
 
20
read is stored in the location pointed to by bit.  This function
 
21
is equivalent to comedi_data_read(device,subdevice,channel,0,0,bit).
 
22
This function does not require a digital subdevice or a subdevice
 
23
with a maximum data value of 1 to work properly.
 
24
.PP
 
25
Return values and errors are the same as comedi_data_read().
 
26
.PP