Micro template library A library for building device drivers
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

223 lignes
10 KiB

  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">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.14"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>uTL: utl::spi Namespace Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="resize.js"></script>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <script type="text/javascript">
  17. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  18. $(document).ready(initResizable);
  19. /* @license-end */</script>
  20. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  21. <script type="text/javascript" src="search/searchdata.js"></script>
  22. <script type="text/javascript" src="search/search.js"></script>
  23. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  24. </head>
  25. <body>
  26. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  27. <div id="titlearea">
  28. <table cellspacing="0" cellpadding="0">
  29. <tbody>
  30. <tr style="height: 56px;">
  31. <td id="projectalign" style="padding-left: 0.5em;">
  32. <div id="projectname">uTL
  33. </div>
  34. <div id="projectbrief">micro Template library</div>
  35. </td>
  36. </tr>
  37. </tbody>
  38. </table>
  39. </div>
  40. <!-- end header part -->
  41. <!-- Generated by Doxygen 1.8.14 -->
  42. <script type="text/javascript">
  43. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  44. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  45. /* @license-end */
  46. </script>
  47. <script type="text/javascript" src="menudata.js"></script>
  48. <script type="text/javascript" src="menu.js"></script>
  49. <script type="text/javascript">
  50. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  51. $(function() {
  52. initMenu('',true,false,'search.php','Search');
  53. $(document).ready(function() { init_search(); });
  54. });
  55. /* @license-end */</script>
  56. <div id="main-nav"></div>
  57. </div><!-- top -->
  58. <div id="side-nav" class="ui-resizable side-nav-resizable">
  59. <div id="nav-tree">
  60. <div id="nav-tree-contents">
  61. <div id="nav-sync" class="sync"></div>
  62. </div>
  63. </div>
  64. <div id="splitbar" style="-moz-user-select:none;"
  65. class="ui-resizable-handle">
  66. </div>
  67. </div>
  68. <script type="text/javascript">
  69. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  70. $(document).ready(function(){initNavTree('namespaceutl_1_1spi.html','');});
  71. /* @license-end */
  72. </script>
  73. <div id="doc-content">
  74. <!-- window showing the filter options -->
  75. <div id="MSearchSelectWindow"
  76. onmouseover="return searchBox.OnSearchSelectShow()"
  77. onmouseout="return searchBox.OnSearchSelectHide()"
  78. onkeydown="return searchBox.OnSearchSelectKey(event)">
  79. </div>
  80. <!-- iframe showing the search results (closed by default) -->
  81. <div id="MSearchResultsWindow">
  82. <iframe src="javascript:void(0)" frameborder="0"
  83. name="MSearchResults" id="MSearchResults">
  84. </iframe>
  85. </div>
  86. <div class="header">
  87. <div class="summary">
  88. <a href="#enum-members">Enumerations</a> </div>
  89. <div class="headertitle">
  90. <div class="title">utl::spi Namespace Reference</div> </div>
  91. </div><!--header-->
  92. <div class="contents">
  93. <p>Abstract base class for spi bus.
  94. <a href="#details">More...</a></p>
  95. <table class="memberdecls">
  96. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
  97. Enumerations</h2></td></tr>
  98. <tr class="memitem:aed6b713381c193c598572ebac0b284cc"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1spi.html#aed6b713381c193c598572ebac0b284cc">bitOrder</a> { <a class="el" href="namespaceutl_1_1spi.html#aed6b713381c193c598572ebac0b284cca6db67adee32c3bd4ff03acf3244e1b4b">bitOrder::LSB_First</a> =0x01,
  99. <a class="el" href="namespaceutl_1_1spi.html#aed6b713381c193c598572ebac0b284cca47bde70fdcc82c8363d16c7137641b79">bitOrder::MSB_First</a> =0x80
  100. }</td></tr>
  101. <tr class="separator:aed6b713381c193c598572ebac0b284cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:a89e3e1af5df0b6c37239f7e336969f8a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1spi.html#a89e3e1af5df0b6c37239f7e336969f8a">cpol</a> { <a class="el" href="namespaceutl_1_1spi.html#a89e3e1af5df0b6c37239f7e336969f8aa41bc94cbd8eebea13ce0491b2ac11b88">cpol::LOW</a> =0,
  103. <a class="el" href="namespaceutl_1_1spi.html#a89e3e1af5df0b6c37239f7e336969f8aab89de3b4b81c4facfac906edf29aec8c">cpol::HIGH</a>
  104. }</td></tr>
  105. <tr class="separator:a89e3e1af5df0b6c37239f7e336969f8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:aa49fe33d495226891cef0a870cba59df"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1spi.html#aa49fe33d495226891cef0a870cba59df">cpha</a> { <a class="el" href="namespaceutl_1_1spi.html#aa49fe33d495226891cef0a870cba59dfa41bc94cbd8eebea13ce0491b2ac11b88">cpha::LOW</a> =0,
  107. <a class="el" href="namespaceutl_1_1spi.html#aa49fe33d495226891cef0a870cba59dfab89de3b4b81c4facfac906edf29aec8c">cpha::HIGH</a>
  108. }</td></tr>
  109. <tr class="separator:aa49fe33d495226891cef0a870cba59df"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. </table>
  111. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  112. <div class="textblock"><p>Abstract base class for spi bus. </p>
  113. </div><h2 class="groupheader">Enumeration Type Documentation</h2>
  114. <a id="aed6b713381c193c598572ebac0b284cc"></a>
  115. <h2 class="memtitle"><span class="permalink"><a href="#aed6b713381c193c598572ebac0b284cc">&#9670;&nbsp;</a></span>bitOrder</h2>
  116. <div class="memitem">
  117. <div class="memproto">
  118. <table class="mlabels">
  119. <tr>
  120. <td class="mlabels-left">
  121. <table class="memname">
  122. <tr>
  123. <td class="memname">enum <a class="el" href="namespaceutl_1_1spi.html#aed6b713381c193c598572ebac0b284cc">utl::spi::bitOrder</a></td>
  124. </tr>
  125. </table>
  126. </td>
  127. <td class="mlabels-right">
  128. <span class="mlabels"><span class="mlabel">strong</span></span> </td>
  129. </tr>
  130. </table>
  131. </div><div class="memdoc">
  132. <p>SPI implementation bit order </p>
  133. <table class="fieldtable">
  134. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="aed6b713381c193c598572ebac0b284cca6db67adee32c3bd4ff03acf3244e1b4b"></a>LSB_First&#160;</td><td class="fielddoc"><p>Most significant first. </p>
  135. </td></tr>
  136. <tr><td class="fieldname"><a id="aed6b713381c193c598572ebac0b284cca47bde70fdcc82c8363d16c7137641b79"></a>MSB_First&#160;</td><td class="fielddoc"><p>Less significant first. </p>
  137. </td></tr>
  138. </table>
  139. <p class="definition">Definition at line <a class="el" href="spi_8h_source.html#l00040">40</a> of file <a class="el" href="spi_8h_source.html">spi.h</a>.</p>
  140. </div>
  141. </div>
  142. <a id="aa49fe33d495226891cef0a870cba59df"></a>
  143. <h2 class="memtitle"><span class="permalink"><a href="#aa49fe33d495226891cef0a870cba59df">&#9670;&nbsp;</a></span>cpha</h2>
  144. <div class="memitem">
  145. <div class="memproto">
  146. <table class="mlabels">
  147. <tr>
  148. <td class="mlabels-left">
  149. <table class="memname">
  150. <tr>
  151. <td class="memname">enum <a class="el" href="namespaceutl_1_1spi.html#aa49fe33d495226891cef0a870cba59df">utl::spi::cpha</a></td>
  152. </tr>
  153. </table>
  154. </td>
  155. <td class="mlabels-right">
  156. <span class="mlabels"><span class="mlabel">strong</span></span> </td>
  157. </tr>
  158. </table>
  159. </div><div class="memdoc">
  160. <p>SPI implementation Clock Phase </p>
  161. <table class="fieldtable">
  162. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="aa49fe33d495226891cef0a870cba59dfa41bc94cbd8eebea13ce0491b2ac11b88"></a>LOW&#160;</td><td class="fielddoc"><p>LOW. </p>
  163. </td></tr>
  164. <tr><td class="fieldname"><a id="aa49fe33d495226891cef0a870cba59dfab89de3b4b81c4facfac906edf29aec8c"></a>HIGH&#160;</td><td class="fielddoc"><p>HIGH. </p>
  165. </td></tr>
  166. </table>
  167. <p class="definition">Definition at line <a class="el" href="spi_8h_source.html#l00054">54</a> of file <a class="el" href="spi_8h_source.html">spi.h</a>.</p>
  168. </div>
  169. </div>
  170. <a id="a89e3e1af5df0b6c37239f7e336969f8a"></a>
  171. <h2 class="memtitle"><span class="permalink"><a href="#a89e3e1af5df0b6c37239f7e336969f8a">&#9670;&nbsp;</a></span>cpol</h2>
  172. <div class="memitem">
  173. <div class="memproto">
  174. <table class="mlabels">
  175. <tr>
  176. <td class="mlabels-left">
  177. <table class="memname">
  178. <tr>
  179. <td class="memname">enum <a class="el" href="namespaceutl_1_1spi.html#a89e3e1af5df0b6c37239f7e336969f8a">utl::spi::cpol</a></td>
  180. </tr>
  181. </table>
  182. </td>
  183. <td class="mlabels-right">
  184. <span class="mlabels"><span class="mlabel">strong</span></span> </td>
  185. </tr>
  186. </table>
  187. </div><div class="memdoc">
  188. <p>SPI implementation Clock Polarity </p>
  189. <table class="fieldtable">
  190. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a89e3e1af5df0b6c37239f7e336969f8aa41bc94cbd8eebea13ce0491b2ac11b88"></a>LOW&#160;</td><td class="fielddoc"><p>LOW. </p>
  191. </td></tr>
  192. <tr><td class="fieldname"><a id="a89e3e1af5df0b6c37239f7e336969f8aab89de3b4b81c4facfac906edf29aec8c"></a>HIGH&#160;</td><td class="fielddoc"><p>HIGH. </p>
  193. </td></tr>
  194. </table>
  195. <p class="definition">Definition at line <a class="el" href="spi_8h_source.html#l00047">47</a> of file <a class="el" href="spi_8h_source.html">spi.h</a>.</p>
  196. </div>
  197. </div>
  198. </div><!-- contents -->
  199. </div><!-- doc-content -->
  200. <!-- start footer part -->
  201. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  202. <ul>
  203. <li class="navelem"><a class="el" href="namespaceutl.html">utl</a></li><li class="navelem"><a class="el" href="namespaceutl_1_1spi.html">spi</a></li>
  204. <li class="footer">Generated by
  205. <a href="http://www.doxygen.org/index.html">
  206. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  207. </ul>
  208. </div>
  209. </body>
  210. </html>