Micro template library A library for building device drivers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

209 lines
12 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_i_details 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__i__details.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="#nested-classes">Classes</a> &#124;
  89. <a href="#typedef-members">Typedefs</a> </div>
  90. <div class="headertitle">
  91. <div class="title">utl::spi_i_details Namespace Reference</div> </div>
  92. </div><!--header-->
  93. <div class="contents">
  94. <table class="memberdecls">
  95. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  96. Classes</h2></td></tr>
  97. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1spi__i__details_1_1is__spi__.html">is_spi_</a></td></tr>
  98. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Primary template to catch any non SPI interface types. <a href="structutl_1_1spi__i__details_1_1is__spi__.html#details">More...</a><br /></td></tr>
  99. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1spi__i__details_1_1is__spi___3_01___tp_00_01meta_1_1void__t_3_01meta_1_1use__if__sa2db29f6d65d34ecf5e49ec30b6600d78.html">is_spi_&lt; _Tp, meta::void_t&lt; meta::use_if_same_t&lt; try_cclock_t&lt; _Tp &gt;, uint32_t &gt;, meta::use_if_same_t&lt; try_clock_t&lt; _Tp &gt;, void &gt;, meta::use_if_same_t&lt; try_tx_t&lt; _Tp &gt;, byte_t &gt;, meta::use_if_same_t&lt; try_rx_t&lt; _Tp &gt;, byte_t &gt; &gt; &gt;</a></td></tr>
  101. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">template to catch a proper SPI interface type <a href="structutl_1_1spi__i__details_1_1is__spi___3_01___tp_00_01meta_1_1void__t_3_01meta_1_1use__if__sa2db29f6d65d34ecf5e49ec30b6600d78.html#details">More...</a><br /></td></tr>
  102. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. </table><table class="memberdecls">
  104. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
  105. Typedefs</h2></td></tr>
  106. <tr class="memitem:ae1a4fad6acf8faccc5e85ee9b710c109"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  107. <tr class="memitem:ae1a4fad6acf8faccc5e85ee9b710c109"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1spi__i__details.html#ae1a4fad6acf8faccc5e85ee9b710c109">try_cclock_t</a> = decltype(declval&lt; const _Tp &gt;().clock())</td></tr>
  108. <tr class="separator:ae1a4fad6acf8faccc5e85ee9b710c109"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:af2f4800aa77af82767a3ac55b9b242a6"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  110. <tr class="memitem:af2f4800aa77af82767a3ac55b9b242a6"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1spi__i__details.html#af2f4800aa77af82767a3ac55b9b242a6">try_clock_t</a> = decltype(declval&lt; _Tp &gt;().clock(declval&lt; uint32_t &gt;()))</td></tr>
  111. <tr class="separator:af2f4800aa77af82767a3ac55b9b242a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:a755d8f10cfde3f5c3b9900eb11c858bd"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  113. <tr class="memitem:a755d8f10cfde3f5c3b9900eb11c858bd"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1spi__i__details.html#a755d8f10cfde3f5c3b9900eb11c858bd">try_tx_t</a> = decltype(declval&lt; _Tp &gt;().tx_data(declval&lt; <a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> &gt;()))</td></tr>
  114. <tr class="separator:a755d8f10cfde3f5c3b9900eb11c858bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:a4dcf3c71fddf790e45a3be2c19906c97"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  116. <tr class="memitem:a4dcf3c71fddf790e45a3be2c19906c97"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1spi__i__details.html#a4dcf3c71fddf790e45a3be2c19906c97">try_rx_t</a> = decltype(declval&lt; _Tp &gt;().rx_data())</td></tr>
  117. <tr class="separator:a4dcf3c71fddf790e45a3be2c19906c97"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. </table>
  119. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  120. <div class="textblock"><p>i2c interface concept </p>
  121. </div><h2 class="groupheader">Typedef Documentation</h2>
  122. <a id="ae1a4fad6acf8faccc5e85ee9b710c109"></a>
  123. <h2 class="memtitle"><span class="permalink"><a href="#ae1a4fad6acf8faccc5e85ee9b710c109">&#9670;&nbsp;</a></span>try_cclock_t</h2>
  124. <div class="memitem">
  125. <div class="memproto">
  126. <div class="memtemplate">
  127. template&lt;class _Tp &gt; </div>
  128. <table class="memname">
  129. <tr>
  130. <td class="memname">using <a class="el" href="namespaceutl_1_1spi__i__details.html#ae1a4fad6acf8faccc5e85ee9b710c109">utl::spi_i_details::try_cclock_t</a> = typedef decltype (declval&lt;const _Tp&gt;().clock())</td>
  131. </tr>
  132. </table>
  133. </div><div class="memdoc">
  134. <p class="definition">Definition at line <a class="el" href="spi_8h_source.html#l00298">298</a> of file <a class="el" href="spi_8h_source.html">spi.h</a>.</p>
  135. </div>
  136. </div>
  137. <a id="af2f4800aa77af82767a3ac55b9b242a6"></a>
  138. <h2 class="memtitle"><span class="permalink"><a href="#af2f4800aa77af82767a3ac55b9b242a6">&#9670;&nbsp;</a></span>try_clock_t</h2>
  139. <div class="memitem">
  140. <div class="memproto">
  141. <div class="memtemplate">
  142. template&lt;class _Tp &gt; </div>
  143. <table class="memname">
  144. <tr>
  145. <td class="memname">using <a class="el" href="namespaceutl_1_1spi__i__details.html#af2f4800aa77af82767a3ac55b9b242a6">utl::spi_i_details::try_clock_t</a> = typedef decltype (declval&lt;_Tp&gt;().clock(declval&lt;uint32_t&gt;()))</td>
  146. </tr>
  147. </table>
  148. </div><div class="memdoc">
  149. <p class="definition">Definition at line <a class="el" href="spi_8h_source.html#l00299">299</a> of file <a class="el" href="spi_8h_source.html">spi.h</a>.</p>
  150. </div>
  151. </div>
  152. <a id="a4dcf3c71fddf790e45a3be2c19906c97"></a>
  153. <h2 class="memtitle"><span class="permalink"><a href="#a4dcf3c71fddf790e45a3be2c19906c97">&#9670;&nbsp;</a></span>try_rx_t</h2>
  154. <div class="memitem">
  155. <div class="memproto">
  156. <div class="memtemplate">
  157. template&lt;class _Tp &gt; </div>
  158. <table class="memname">
  159. <tr>
  160. <td class="memname">using <a class="el" href="namespaceutl_1_1spi__i__details.html#a4dcf3c71fddf790e45a3be2c19906c97">utl::spi_i_details::try_rx_t</a> = typedef decltype (declval&lt;_Tp&gt;().rx_data())</td>
  161. </tr>
  162. </table>
  163. </div><div class="memdoc">
  164. <p class="definition">Definition at line <a class="el" href="spi_8h_source.html#l00301">301</a> of file <a class="el" href="spi_8h_source.html">spi.h</a>.</p>
  165. </div>
  166. </div>
  167. <a id="a755d8f10cfde3f5c3b9900eb11c858bd"></a>
  168. <h2 class="memtitle"><span class="permalink"><a href="#a755d8f10cfde3f5c3b9900eb11c858bd">&#9670;&nbsp;</a></span>try_tx_t</h2>
  169. <div class="memitem">
  170. <div class="memproto">
  171. <div class="memtemplate">
  172. template&lt;class _Tp &gt; </div>
  173. <table class="memname">
  174. <tr>
  175. <td class="memname">using <a class="el" href="namespaceutl_1_1spi__i__details.html#a755d8f10cfde3f5c3b9900eb11c858bd">utl::spi_i_details::try_tx_t</a> = typedef decltype (declval&lt;_Tp&gt;().tx_data(declval&lt;<a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a>&gt;()))</td>
  176. </tr>
  177. </table>
  178. </div><div class="memdoc">
  179. <p class="definition">Definition at line <a class="el" href="spi_8h_source.html#l00300">300</a> of file <a class="el" href="spi_8h_source.html">spi.h</a>.</p>
  180. </div>
  181. </div>
  182. </div><!-- contents -->
  183. </div><!-- doc-content -->
  184. <!-- start footer part -->
  185. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  186. <ul>
  187. <li class="navelem"><a class="el" href="namespaceutl.html">utl</a></li><li class="navelem"><a class="el" href="namespaceutl_1_1spi__i__details.html">spi_i_details</a></li>
  188. <li class="footer">Generated by
  189. <a href="http://www.doxygen.org/index.html">
  190. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  191. </ul>
  192. </div>
  193. </body>
  194. </html>