1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 <meta http-equiv=
"Content-Type" content=
"text/xhtml;charset=UTF-8"/>
5 <title>Xenomai API: src/drvlib/analogy/async.c File Reference
</title>
6 <link href=
"tabs.css" rel=
"stylesheet" type=
"text/css"/>
7 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css"/>
10 <!-- Generated by Doxygen 1.7.1 -->
11 <div class=
"navigation" id=
"top">
14 <li><a href=
"main.html"><span>Main
Page
</span></a></li>
15 <li><a href=
"pages.html"><span>Related
Pages
</span></a></li>
16 <li><a href=
"modules.html"><span>Modules
</span></a></li>
17 <li><a href=
"annotated.html"><span>Data
Structures
</span></a></li>
18 <li class=
"current"><a href=
"files.html"><span>Files
</span></a></li>
19 <li><a href=
"examples.html"><span>Examples
</span></a></li>
24 <li><a href=
"files.html"><span>File
List
</span></a></li>
25 <li><a href=
"globals.html"><span>Globals
</span></a></li>
31 <a href=
"#func-members">Functions
</a> </div>
32 <div class=
"headertitle">
33 <h1>src/drvlib/analogy/async.c File Reference
</h1> </div>
35 <div class=
"contents">
37 <p>Analogy for Linux, command, transfer, etc.
38 <a href=
"#_details">More...
</a></p>
39 <div class=
"dynheader">
40 Include dependency graph for async.c:
</div>
41 <div class=
"dyncontent">
42 <div class=
"center"><img src=
"async_8c__incl.png" border=
"0" usemap=
"#src_2drvlib_2analogy_2async_8c" alt=
""/></div>
43 <map name=
"src_2drvlib_2analogy_2async_8c" id=
"src_2drvlib_2analogy_2async_8c">
44 <area shape=
"rect" id=
"node5" href=
"ioctl_8h.html" title=
"Analogy for Linux, IOCTLs declarations." alt=
"" coords=
"96,83,211,112"/><area shape=
"rect" id=
"node7" href=
"analogy_8h.html" title=
"Analogy for Linux, library facilities." alt=
"" coords=
"235,83,371,112"/><area shape=
"rect" id=
"node33" href=
"src_2drvlib_2analogy_2syscall_8h.html" title=
"Analogy for Linux, internal declarations." alt=
"" coords=
"575,83,649,112"/><area shape=
"rect" id=
"node11" href=
"analogy_2types_8h.html" title=
"Analogy for Linux, misc declarations." alt=
"" coords=
"155,392,277,421"/><area shape=
"rect" id=
"node13" href=
"descriptor_8h.html" title=
"Analogy for Linux, descriptor related features." alt=
"" coords=
"293,160,443,189"/><area shape=
"rect" id=
"node15" href=
"subdevice_8h.html" title=
"Analogy for Linux, subdevice related features." alt=
"" coords=
"292,237,444,267"/><area shape=
"rect" id=
"node31" href=
"device_8h.html" title=
"Analogy for Linux, device related features." alt=
"" coords=
"468,237,596,267"/><area shape=
"rect" id=
"node20" href=
"context_8h.html" title=
"Analogy for Linux, context structure / macros declarations." alt=
"" coords=
"487,392,623,421"/><area shape=
"rect" id=
"node22" href=
"instruction_8h.html" title=
"Analogy for Linux, instruction related features." alt=
"" coords=
"363,315,517,344"/><area shape=
"rect" id=
"node26" href=
"command_8h.html" title=
"Analogy for Linux, driver facilities." alt=
"" coords=
"592,315,744,344"/><area shape=
"rect" id=
"node29" href=
"channel__range_8h.html" title=
"Analogy for Linux, channel, range related features." alt=
"" coords=
"768,315,949,344"/><area shape=
"rect" id=
"node35" href=
"rtdm_8h.html" title=
"Real-Time Driver Model for Xenomai, user API header." alt=
"" coords=
"801,160,900,189"/></map>
46 <table class=
"memberdecls">
47 <tr><td colspan=
"2"><h2><a name=
"func-members"></a>
48 Functions
</h2></td></tr>
49 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group__async1__lib.html#gae802726a40cc65522546fb2f75cd5f3f">a4l_snd_command
</a> (
<a class=
"el" href=
"structa4l__descriptor.html">a4l_desc_t
</a> *dsc,
<a class=
"el" href=
"structa4l__cmd__desc.html">a4l_cmd_t
</a> *cmd)
</td></tr>
50 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Send a command to an Analoy device.
<a href=
"group__async1__lib.html#gae802726a40cc65522546fb2f75cd5f3f"></a><br/></td></tr>
51 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group__async1__lib.html#ga70dd6f96f60e9c839eb1ffc8538fc6c7">a4l_snd_cancel
</a> (
<a class=
"el" href=
"structa4l__descriptor.html">a4l_desc_t
</a> *dsc, unsigned int idx_subd)
</td></tr>
52 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Cancel an asynchronous acquisition.
<a href=
"group__async1__lib.html#ga70dd6f96f60e9c839eb1ffc8538fc6c7"></a><br/></td></tr>
53 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group__async1__lib.html#ga247528c4d75db12782aad05b41faf394">a4l_set_bufsize
</a> (
<a class=
"el" href=
"structa4l__descriptor.html">a4l_desc_t
</a> *dsc, unsigned int idx_subd, unsigned long size)
</td></tr>
54 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Change the size of the asynchronous buffer.
<a href=
"group__async1__lib.html#ga247528c4d75db12782aad05b41faf394"></a><br/></td></tr>
55 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group__async1__lib.html#gad6a58d164ad6edccf9ef213778102ca0">a4l_get_bufsize
</a> (
<a class=
"el" href=
"structa4l__descriptor.html">a4l_desc_t
</a> *dsc, unsigned int idx_subd, unsigned long *size)
</td></tr>
56 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Get the size of the asynchronous buffer.
<a href=
"group__async1__lib.html#gad6a58d164ad6edccf9ef213778102ca0"></a><br/></td></tr>
57 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group__async1__lib.html#gaa95b4dc428000e0b41047c3ed4c5b61c">a4l_mark_bufrw
</a> (
<a class=
"el" href=
"structa4l__descriptor.html">a4l_desc_t
</a> *dsc, unsigned int idx_subd, unsigned long cur, unsigned long *new)
</td></tr>
58 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Update the asynchronous buffer state.
<a href=
"group__async1__lib.html#gaa95b4dc428000e0b41047c3ed4c5b61c"></a><br/></td></tr>
59 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group__async1__lib.html#ga43ab969b00aae973ef4b67c234b17720">a4l_poll
</a> (
<a class=
"el" href=
"structa4l__descriptor.html">a4l_desc_t
</a> *dsc, unsigned int idx_subd, unsigned long ms_timeout)
</td></tr>
60 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Get the available data count.
<a href=
"group__async1__lib.html#ga43ab969b00aae973ef4b67c234b17720"></a><br/></td></tr>
61 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group__async1__lib.html#gad1ba6a0d5954e5e68365a206d55ee251">a4l_mmap
</a> (
<a class=
"el" href=
"structa4l__descriptor.html">a4l_desc_t
</a> *dsc, unsigned int idx_subd, unsigned long size, void **ptr)
</td></tr>
62 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Map the asynchronous ring-buffer into a user-space.
<a href=
"group__async1__lib.html#gad1ba6a0d5954e5e68365a206d55ee251"></a><br/></td></tr>
63 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group__async2__lib.html#gafb12b8f4eed71008a8b4225e3d90dcea">a4l_async_read
</a> (
<a class=
"el" href=
"structa4l__descriptor.html">a4l_desc_t
</a> *dsc, void *buf, size_t nbyte, unsigned long ms_timeout)
</td></tr>
64 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Perform asynchronous read operation on the analog input subdevice.
<a href=
"group__async2__lib.html#gafb12b8f4eed71008a8b4225e3d90dcea"></a><br/></td></tr>
65 <tr><td class=
"memItemLeft" align=
"right" valign=
"top">int
</td><td class=
"memItemRight" valign=
"bottom"><a class=
"el" href=
"group__async2__lib.html#gad2ba21d06b77b8b25a80029484731ee6">a4l_async_write
</a> (
<a class=
"el" href=
"structa4l__descriptor.html">a4l_desc_t
</a> *dsc, void *buf, size_t nbyte, unsigned long ms_timeout)
</td></tr>
66 <tr><td class=
"mdescLeft"> </td><td class=
"mdescRight">Perform asynchronous write operation on the analog input subdevice.
<a href=
"group__async2__lib.html#gad2ba21d06b77b8b25a80029484731ee6"></a><br/></td></tr>
68 <hr/><a name=
"_details"></a><h2>Detailed Description
</h2>
69 <p>Analogy for Linux, command, transfer, etc.
</p>
70 <p>related features
</p>
71 <dl class=
"note"><dt><b>Note:
</b></dt><dd>Copyright (C)
1997-
2000 David A. Schleef
<<a href=
"mailto:ds@schleef.org">ds@schleef.org
</a>> </dd>
73 Copyright (C)
2008 Alexis Berlemont
<<a href=
"mailto:alexis.berlemont@free.fr">alexis.berlemont@free.fr
</a>></dd></dl>
74 <p>This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version
2 of the License, or (at your option) any later version.
</p>
75 <p>This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
</p>
76 <p>You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite
330, Boston, MA
02111-
1307 USA.
</p>
78 <hr class=
"footer"/><address class=
"footer"><small>Generated on Wed Nov
2 2011 18:
01:
09 for Xenomai API by
79 <a href=
"http://www.doxygen.org/index.html">
80 <img class=
"footer" src=
"doxygen.png" alt=
"doxygen"/></a> 1.7.1 </small></address>