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 <meta http-equiv=
"X-UA-Compatible" content=
"IE=9"/>
6 <title>Xenomai API: include/analogy/descriptor.h Source File
</title>
7 <link href=
"tabs.css" rel=
"stylesheet" type=
"text/css"/>
8 <script type=
"text/javascript" src=
"jquery.js"></script>
9 <script type=
"text/javascript" src=
"dynsections.js"></script>
10 <link href=
"navtree.css" rel=
"stylesheet" type=
"text/css"/>
11 <script type=
"text/javascript" src=
"resize.js"></script>
12 <script type=
"text/javascript" src=
"navtree.js"></script>
13 <script type=
"text/javascript">
14 $(document
).ready(initResizable
);
16 <link href=
"search/search.css" rel=
"stylesheet" type=
"text/css"/>
17 <script type=
"text/javascript" src=
"search/search.js"></script>
18 <script type=
"text/javascript">
19 $(document
).ready(function() {
20 if ($('.searchresults').length
> 0) { searchBox
.DOMSearchField().focus(); }
23 <link rel=
"search" href=
"search-opensearch.php?v=opensearch.xml" type=
"application/opensearchdescription+xml" title=
"Xenomai API"/>
24 <link href=
"doxygen.css" rel=
"stylesheet" type=
"text/css" />
27 <div id=
"top"><!-- do not remove this div, it is closed by doxygen! -->
29 <table cellspacing=
"0" cellpadding=
"0">
31 <tr style=
"height: 56px;">
32 <td style=
"padding-left: 0.5em;">
33 <div id=
"projectname">Xenomai API
34  <span id=
"projectnumber">2.6.3</span>
41 <!-- end header part -->
42 <!-- Generated by Doxygen 1.8.1.2 -->
43 <script type=
"text/javascript">
44 var searchBox
= new SearchBox("searchBox", "search",false,'Search');
46 <div id=
"navrow1" class=
"tabs">
48 <li><a href=
"index.html"><span>Main
 Page
</span></a></li>
49 <li><a href=
"pages.html"><span>Related
 Pages
</span></a></li>
50 <li><a href=
"modules.html"><span>Modules
</span></a></li>
51 <li><a href=
"annotated.html"><span>Data
 Structures
</span></a></li>
52 <li class=
"current"><a href=
"files.html"><span>Files
</span></a></li>
53 <li><a href=
"examples.html"><span>Examples
</span></a></li>
55 <div id=
"MSearchBox" class=
"MSearchBoxInactive">
57 <form id=
"FSearchBox" action=
"search.php" method=
"get">
58 <img id=
"MSearchSelect" src=
"search/mag.png" alt=
""/>
59 <input type=
"text" id=
"MSearchField" name=
"query" value=
"Search" size=
"20" accesskey=
"S"
60 onfocus=
"searchBox.OnSearchFieldFocus(true)"
61 onblur=
"searchBox.OnSearchFieldFocus(false)"/>
63 </div><div class=
"right"></div>
68 <div id=
"navrow2" class=
"tabs2">
70 <li><a href=
"files.html"><span>File
 List
</span></a></li>
71 <li><a href=
"globals.html"><span>Globals
</span></a></li>
75 <div id=
"side-nav" class=
"ui-resizable side-nav-resizable">
77 <div id=
"nav-tree-contents">
78 <div id=
"nav-sync" class=
"sync"></div>
81 <div id=
"splitbar" style=
"-moz-user-select:none;"
82 class=
"ui-resizable-handle">
85 <script type=
"text/javascript">
86 $(document
).ready(function(){initNavTree('descriptor_8h_source.html','');});
88 <div id=
"doc-content">
90 <div class=
"headertitle">
91 <div class=
"title">descriptor.h
</div> </div>
93 <div class=
"contents">
94 <a href=
"descriptor_8h.html">Go to the documentation of this file.
</a><div class=
"fragment"><div class=
"line"><a name=
"l00001"></a><span class=
"lineno"> 1</span> </div>
95 <div class=
"line"><a name=
"l00022"></a><span class=
"lineno"> 22</span> <span class=
"preprocessor">#ifndef __ANALOGY_LIB_CORE__
</span></div>
96 <div class=
"line"><a name=
"l00023"></a><span class=
"lineno"> 23</span> <span class=
"preprocessor"></span><span class=
"preprocessor">#define __ANALOGY_LIB_CORE__
</span></div>
97 <div class=
"line"><a name=
"l00024"></a><span class=
"lineno"> 24</span> <span class=
"preprocessor"></span></div>
98 <div class=
"line"><a name=
"l00025"></a><span class=
"lineno"> 25</span> <span class=
"preprocessor">#include
<<a class=
"code" href=
"subdevice_8h.html" title=
"Analogy for Linux, subdevice related features.">analogy/subdevice.h
</a>></span></div>
99 <div class=
"line"><a name=
"l00026"></a><span class=
"lineno"> 26</span> <span class=
"preprocessor">#include
<<a class=
"code" href=
"device_8h.html" title=
"Analogy for Linux, device related features.">analogy/device.h
</a>></span></div>
100 <div class=
"line"><a name=
"l00027"></a><span class=
"lineno"> 27</span> </div>
101 <div class=
"line"><a name=
"l00028"></a><span class=
"lineno"> 28</span> <span class=
"comment">/* --- Descriptor precompilation constants --- */
</span></div>
102 <div class=
"line"><a name=
"l00029"></a><span class=
"lineno"> 29</span> </div>
103 <div class=
"line"><a name=
"l00030"></a><span class=
"lineno"> 30</span> <span class=
"comment">/* Constant used internally */
</span></div>
104 <div class=
"line"><a name=
"l00031"></a><span class=
"lineno"> 31</span> <span class=
"preprocessor">#define MAGIC_BSC_DESC
0x1234abcd</span></div>
105 <div class=
"line"><a name=
"l00032"></a><span class=
"lineno"> 32</span> <span class=
"preprocessor"></span><span class=
"preprocessor">#define MAGIC_CPLX_DESC
0xabcd1234</span></div>
106 <div class=
"line"><a name=
"l00033"></a><span class=
"lineno"> 33</span> <span class=
"preprocessor"></span></div>
107 <div class=
"line"><a name=
"l00049"></a><span class=
"lineno"><a class=
"code" href=
"group__descriptor__sys.html#ga9bac966c050032d5f29c3205b80ebe74"> 49</a></span> <span class=
"preprocessor">#define A4L_BSC_DESC
0x0</span></div>
108 <div class=
"line"><a name=
"l00050"></a><span class=
"lineno"> 50</span> <span class=
"preprocessor"></span></div>
109 <div class=
"line"><a name=
"l00055"></a><span class=
"lineno"><a class=
"code" href=
"group__descriptor__sys.html#gaefe74d60fa5f6c85021c66993d2cf306"> 55</a></span> <span class=
"preprocessor">#define A4L_CPLX_DESC
0x1</span></div>
110 <div class=
"line"><a name=
"l00056"></a><span class=
"lineno"> 56</span> <span class=
"preprocessor"></span></div>
111 <div class=
"line"><a name=
"l00059"></a><span class=
"lineno"> 59</span> <span class=
"comment">/* --- Descriptor structure --- */
</span></div>
112 <div class=
"line"><a name=
"l00060"></a><span class=
"lineno"> 60</span> </div>
113 <div class=
"line"><a name=
"l00066"></a><span class=
"lineno"><a class=
"code" href=
"structa4l__descriptor.html"> 66</a></span> <span class=
"keyword">struct
</span><a class=
"code" href=
"structa4l__descriptor.html" title=
"Structure containing device-information useful to users.">a4l_descriptor
</a> {
</div>
114 <div class=
"line"><a name=
"l00067"></a><span class=
"lineno"> 67</span>  <span class=
"keywordtype">char
</span> <a class=
"code" href=
"structa4l__descriptor.html#affd78a7d8d938720fcfc60912e384045" title=
"Board name.">board_name
</a>[A4L_NAMELEN];
</div>
115 <div class=
"line"><a name=
"l00069"></a><span class=
"lineno"> 69</span>  <span class=
"keywordtype">int
</span> <a class=
"code" href=
"structa4l__descriptor.html#a5fd4ac44e93207aad96db25ddca7543c" title=
"Subdevices count.">nb_subd
</a>;
</div>
116 <div class=
"line"><a name=
"l00071"></a><span class=
"lineno"> 71</span>  <span class=
"keywordtype">int
</span> <a class=
"code" href=
"structa4l__descriptor.html#afb81c9f016241cd70319ee5e2dd302ed" title=
"Input subdevice index.">idx_read_subd
</a>;
</div>
117 <div class=
"line"><a name=
"l00073"></a><span class=
"lineno"> 73</span>  <span class=
"keywordtype">int
</span> <a class=
"code" href=
"structa4l__descriptor.html#ab9b06f5025a7e1f1028d2477eeff818e" title=
"Output subdevice index.">idx_write_subd
</a>;
</div>
118 <div class=
"line"><a name=
"l00075"></a><span class=
"lineno"> 75</span>  <span class=
"keywordtype">int
</span> <a class=
"code" href=
"structa4l__descriptor.html#ab8714b06548347351e52f1125dd45c20" title=
"File descriptor.">fd
</a>;
</div>
119 <div class=
"line"><a name=
"l00077"></a><span class=
"lineno"> 77</span>  <span class=
"keywordtype">unsigned
</span> <span class=
"keywordtype">int
</span> <a class=
"code" href=
"structa4l__descriptor.html#a8304d50fb6c9d8a82a4cdfd5155b81c3" title=
"Opaque field.">magic
</a>;
</div>
120 <div class=
"line"><a name=
"l00079"></a><span class=
"lineno"> 79</span>  <span class=
"keywordtype">int
</span> <a class=
"code" href=
"structa4l__descriptor.html#a52185721d04c3c0cb9247b8163ca89ec" title=
"Data buffer size.">sbsize
</a>;
</div>
121 <div class=
"line"><a name=
"l00081"></a><span class=
"lineno"> 81</span>  <span class=
"keywordtype">void
</span> *
<a class=
"code" href=
"structa4l__descriptor.html#a2ac7f86c9ec51b44c37ef155fef155c1" title=
"Data buffer pointer.">sbdata
</a>;
</div>
122 <div class=
"line"><a name=
"l00083"></a><span class=
"lineno"> 83</span> };
</div>
123 <div class=
"line"><a name=
"l00084"></a><span class=
"lineno"> 84</span> <span class=
"keyword">typedef
</span> <span class=
"keyword">struct
</span><a class=
"code" href=
"structa4l__descriptor.html" title=
"Structure containing device-information useful to users.">a4l_descriptor
</a> <a class=
"code" href=
"structa4l__descriptor.html" title=
"Structure containing device-information useful to users.">a4l_desc_t
</a>;
</div>
124 <div class=
"line"><a name=
"l00085"></a><span class=
"lineno"> 85</span> </div>
125 <div class=
"line"><a name=
"l00088"></a><span class=
"lineno"> 88</span> <span class=
"preprocessor">#endif
</span><span class=
"comment">/* __ANALOGY_LIB_CORE__ */
</span><span class=
"preprocessor"></span></div>
126 </div><!-- fragment --></div><!-- contents -->
127 </div><!-- doc-content -->
128 <!-- start footer part -->
129 <div id=
"nav-path" class=
"navpath"><!-- id is needed for treeview function! -->
131 <li class=
"navelem"><a class=
"el" href=
"dir_d44c64559bbebec7f509842c48db8b23.html">include
</a></li><li class=
"navelem"><a class=
"el" href=
"dir_7aef7afbbd023211de7ae0a01bd6ade1.html">analogy
</a></li><li class=
"navelem"><a class=
"el" href=
"descriptor_8h.html">descriptor.h
</a></li>
132 <li class=
"footer">Generated on Fri Oct
4 2013 22:
39:
06 for Xenomai API by
133 <a href=
"http://www.doxygen.org/index.html">
134 <img class=
"footer" src=
"doxygen.png" alt=
"doxygen"/></a> 1.8.1.2 </li>