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_WRITE" "3" "02 October 2004" "" ""
9
comedi_dio_write \- write single bit to digital channel
12
\fB#include <comedilib.h>
14
int comedi_dio_write (comedi_t * \fIdevice\fB, unsigned int \fIsubdevice\fB, unsigned int \fIchannel\fB, unsigned int \fIbit\fB);
18
The function writes the value bit to the channel channel belonging
19
to the subdevice subdevice of device device. This function
20
is equivalent to comedi_data_write(device,subdevice,channel,0,0,bit).
21
This function does not require a digital subdevice or a subdevice
22
with a maximum data value of 1 to work properly.
24
Return values and errors are the same as comedi_data_write().