1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
5
>comedi_dio_read</TITLE
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
12
HREF="index.html"><LINK
14
TITLE=" Comedi Function Reference
16
HREF="x3563.html#FUNCTIONREFERENCE"><LINK
18
TITLE="comedi_dio_config"
19
HREF="r4617.html"><LINK
21
TITLE="comedi_dio_write"
22
HREF="r4670.html"></HEAD
33
SUMMARY="Header navigation table"
46
>Control and Measurement Device Interface</I
83
NAME="FUNC-REF-COMEDI-DIO-READ"
93
>comedi_dio_read -- read single bit from digital channel</DIV
95
CLASS="REFSYNOPSISDIV"
109
CLASS="FUNCSYNOPSISINFO"
110
>#include <comedilib.h></PRE
115
>int comedi_dio_read</CODE
116
>(comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int * bit);</CODE
131
>The function reads the channel channel belonging to the
132
subdevice subdevice of device device. The data value that is
133
read is stored in the location pointed to by bit. This function
134
is equivalent to comedi_data_read(device,subdevice,channel,0,0,bit).
135
This function does not require a digital subdevice or a subdevice
136
with a maximum data value of 1 to work properly.</P
138
>Return values and errors are the same as comedi_data_read().</P
147
SUMMARY="Footer navigation table"
186
>comedi_dio_config</TD
192
HREF="x3563.html#FUNCTIONREFERENCE"
200
>comedi_dio_write</TD
b'\\ No newline at end of file'