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

« back to all changes in this revision

Viewing changes to doc/doc_html/r4696.html

  • 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<HTML
 
3
><HEAD
 
4
><TITLE
 
5
>comedi_dio_bitfield</TITLE
 
6
><META
 
7
NAME="GENERATOR"
 
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
 
9
REL="HOME"
 
10
TITLE="    Comedi 
 
11
  "
 
12
HREF="index.html"><LINK
 
13
REL="UP"
 
14
TITLE="    Comedi Function Reference
 
15
  "
 
16
HREF="x3563.html#FUNCTIONREFERENCE"><LINK
 
17
REL="PREVIOUS"
 
18
TITLE="comedi_dio_write"
 
19
HREF="r4670.html"><LINK
 
20
REL="NEXT"
 
21
TITLE="comedi_sv_init"
 
22
HREF="r4721.html"></HEAD
 
23
><BODY
 
24
CLASS="REFENTRY"
 
25
BGCOLOR="#FFFFFF"
 
26
TEXT="#000000"
 
27
LINK="#0000FF"
 
28
VLINK="#840084"
 
29
ALINK="#0000FF"
 
30
><DIV
 
31
CLASS="NAVHEADER"
 
32
><TABLE
 
33
SUMMARY="Header navigation table"
 
34
WIDTH="100%"
 
35
BORDER="0"
 
36
CELLPADDING="0"
 
37
CELLSPACING="0"
 
38
><TR
 
39
><TH
 
40
COLSPAN="3"
 
41
ALIGN="center"
 
42
>Comedi: The <SPAN
 
43
CLASS="emphasis"
 
44
><I
 
45
CLASS="EMPHASIS"
 
46
>Control and Measurement Device Interface</I
 
47
></SPAN
 
48
>
 
49
handbook
 
50
  </TH
 
51
></TR
 
52
><TR
 
53
><TD
 
54
WIDTH="10%"
 
55
ALIGN="left"
 
56
VALIGN="bottom"
 
57
><A
 
58
HREF="r4670.html"
 
59
ACCESSKEY="P"
 
60
>Prev</A
 
61
></TD
 
62
><TD
 
63
WIDTH="80%"
 
64
ALIGN="center"
 
65
VALIGN="bottom"
 
66
></TD
 
67
><TD
 
68
WIDTH="10%"
 
69
ALIGN="right"
 
70
VALIGN="bottom"
 
71
><A
 
72
HREF="r4721.html"
 
73
ACCESSKEY="N"
 
74
>Next</A
 
75
></TD
 
76
></TR
 
77
></TABLE
 
78
><HR
 
79
ALIGN="LEFT"
 
80
WIDTH="100%"></DIV
 
81
><H1
 
82
><A
 
83
NAME="FUNC-REF-COMEDI-DIO-BITFIELD"
 
84
></A
 
85
>comedi_dio_bitfield</H1
 
86
><DIV
 
87
CLASS="REFNAMEDIV"
 
88
><A
 
89
NAME="AEN4700"
 
90
></A
 
91
><H2
 
92
>Name</H2
 
93
>comedi_dio_bitfield&nbsp;--&nbsp;read/write multiple digital channels</DIV
 
94
><DIV
 
95
CLASS="REFSYNOPSISDIV"
 
96
><A
 
97
NAME="AEN4703"
 
98
></A
 
99
><H2
 
100
>Synopsis</H2
 
101
><DIV
 
102
CLASS="FUNCSYNOPSIS"
 
103
><P
 
104
></P
 
105
><A
 
106
NAME="AEN4704"
 
107
></A
 
108
><PRE
 
109
CLASS="FUNCSYNOPSISINFO"
 
110
>#include &lt;comedilib.h&gt;</PRE
 
111
><P
 
112
><CODE
 
113
><CODE
 
114
CLASS="FUNCDEF"
 
115
>int comedi_dio_bitfield</CODE
 
116
>(comedi_t * device, unsigned int subdevice, unsigned int write_mask, unsigned int * bits);</CODE
 
117
></P
 
118
><P
 
119
></P
 
120
></DIV
 
121
></DIV
 
122
><DIV
 
123
CLASS="REFSECT1"
 
124
><A
 
125
NAME="AEN4717"
 
126
></A
 
127
><H2
 
128
>      Description
 
129
    </H2
 
130
><P
 
131
>The function comedi_dio_bitfield() allows multiple channels to
 
132
be read simultaneously from a digital input or digital I/O device.
 
133
The parameter write_mask and the value pointed to by bits
 
134
are interpreted as bit fields, with the least significant bit
 
135
representing channel 0.  For each bit in write_mask that is
 
136
set to 1, the cooresponding bit in *bits is written to the digital
 
137
output channel.  After writing all the output channels, each
 
138
channel is read, and the result placed in the approprate bits in
 
139
*bits.  The result of reading an output channel is undefined.
 
140
It is not possible to access channels greater than 31 using this
 
141
function.</P
 
142
><P
 
143
>    </P
 
144
></DIV
 
145
><DIV
 
146
CLASS="NAVFOOTER"
 
147
><HR
 
148
ALIGN="LEFT"
 
149
WIDTH="100%"><TABLE
 
150
SUMMARY="Footer navigation table"
 
151
WIDTH="100%"
 
152
BORDER="0"
 
153
CELLPADDING="0"
 
154
CELLSPACING="0"
 
155
><TR
 
156
><TD
 
157
WIDTH="33%"
 
158
ALIGN="left"
 
159
VALIGN="top"
 
160
><A
 
161
HREF="r4670.html"
 
162
ACCESSKEY="P"
 
163
>Prev</A
 
164
></TD
 
165
><TD
 
166
WIDTH="34%"
 
167
ALIGN="center"
 
168
VALIGN="top"
 
169
><A
 
170
HREF="index.html"
 
171
ACCESSKEY="H"
 
172
>Home</A
 
173
></TD
 
174
><TD
 
175
WIDTH="33%"
 
176
ALIGN="right"
 
177
VALIGN="top"
 
178
><A
 
179
HREF="r4721.html"
 
180
ACCESSKEY="N"
 
181
>Next</A
 
182
></TD
 
183
></TR
 
184
><TR
 
185
><TD
 
186
WIDTH="33%"
 
187
ALIGN="left"
 
188
VALIGN="top"
 
189
>comedi_dio_write</TD
 
190
><TD
 
191
WIDTH="34%"
 
192
ALIGN="center"
 
193
VALIGN="top"
 
194
><A
 
195
HREF="x3563.html#FUNCTIONREFERENCE"
 
196
ACCESSKEY="U"
 
197
>Up</A
 
198
></TD
 
199
><TD
 
200
WIDTH="33%"
 
201
ALIGN="right"
 
202
VALIGN="top"
 
203
>comedi_sv_init</TD
 
204
></TR
 
205
></TABLE
 
206
></DIV
 
207
></BODY
 
208
></HTML
 
209
>
 
 
b'\\ No newline at end of file'