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.
 
 
 
 

644 lines
35 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::_1wire_i_det 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_1__1wire__i__det.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> &#124;
  90. <a href="#func-members">Functions</a> </div>
  91. <div class="headertitle">
  92. <div class="title">utl::_1wire_i_det Namespace Reference</div> </div>
  93. </div><!--header-->
  94. <div class="contents">
  95. <table class="memberdecls">
  96. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  97. Classes</h2></td></tr>
  98. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1__1wire__i__det_1_1is__1wire__.html">is_1wire_</a></td></tr>
  99. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Primary template to catch any non 1-wire interface types. <a href="structutl_1_1__1wire__i__det_1_1is__1wire__.html#details">More...</a><br /></td></tr>
  100. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1__1wire__i__det_1_1is__1wire___3_01___tp_00_01meta_1_1void__t_3_01void_01_4_01_4.html">is_1wire_&lt; _Tp, meta::void_t&lt; void &gt; &gt;</a></td></tr>
  102. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">template to catch a proper 1-wire interface type <a href="structutl_1_1__1wire__i__det_1_1is__1wire___3_01___tp_00_01meta_1_1void__t_3_01void_01_4_01_4.html#details">More...</a><br /></td></tr>
  103. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. </table><table class="memberdecls">
  105. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
  106. Typedefs</h2></td></tr>
  107. <tr class="memitem:a502fff2c967d26334aa3c2fcf0b037ba"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  108. <tr class="memitem:a502fff2c967d26334aa3c2fcf0b037ba"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1__1wire__i__det.html#a502fff2c967d26334aa3c2fcf0b037ba">try_reset_t</a> = decltype(declval&lt; _Tp &gt;().reset(declval&lt; typename _Tp::Speed &gt;()))</td></tr>
  109. <tr class="separator:a502fff2c967d26334aa3c2fcf0b037ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:a303cf58468da38ceeaa2477570f82948"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  111. <tr class="memitem:a303cf58468da38ceeaa2477570f82948"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1__1wire__i__det.html#a303cf58468da38ceeaa2477570f82948">try_rx1_t</a> = decltype(declval&lt; _Tp &gt;().rx_data(declval&lt; typename _Tp::Speed &gt;()))</td></tr>
  112. <tr class="separator:a303cf58468da38ceeaa2477570f82948"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:ac6a2b551bcf51b426c2e8506ab2473fe"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  114. <tr class="memitem:ac6a2b551bcf51b426c2e8506ab2473fe"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1__1wire__i__det.html#ac6a2b551bcf51b426c2e8506ab2473fe">try_tx1_t</a> = decltype(declval&lt; _Tp &gt;().tx_data(declval&lt; <a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> &gt;(), declval&lt; typename _Tp::Speed &gt;()))</td></tr>
  115. <tr class="separator:ac6a2b551bcf51b426c2e8506ab2473fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a3416ddb06e089a5c191d356dd358ff00"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  117. <tr class="memitem:a3416ddb06e089a5c191d356dd358ff00"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1__1wire__i__det.html#a3416ddb06e089a5c191d356dd358ff00">try_match_t</a> = decltype(declval&lt; _Tp &gt;().match(declval&lt; <a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> &amp; &gt;(), declval&lt; typename _Tp::Speed &gt;()))</td></tr>
  118. <tr class="separator:a3416ddb06e089a5c191d356dd358ff00"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:aa85f59a97c388dc259589cb517824233"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  120. <tr class="memitem:aa85f59a97c388dc259589cb517824233"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1__1wire__i__det.html#aa85f59a97c388dc259589cb517824233">try_match_n_ovdr_t</a> = decltype(declval&lt; _Tp &gt;().match_n_ovdr(declval&lt; <a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> &amp; &gt;()))</td></tr>
  121. <tr class="separator:aa85f59a97c388dc259589cb517824233"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a9d0825a40484e7868bf41fc4825b4f7d"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  123. <tr class="memitem:a9d0825a40484e7868bf41fc4825b4f7d"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1__1wire__i__det.html#a9d0825a40484e7868bf41fc4825b4f7d">try_skip_t</a> = decltype(declval&lt; _Tp &gt;().skip(declval&lt; typename _Tp::Speed &gt;()))</td></tr>
  124. <tr class="separator:a9d0825a40484e7868bf41fc4825b4f7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:af6c9df3cb6bf2479e8d30a5d36ab71cb"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  126. <tr class="memitem:af6c9df3cb6bf2479e8d30a5d36ab71cb"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1__1wire__i__det.html#af6c9df3cb6bf2479e8d30a5d36ab71cb">try_skip_n_ovdr_t</a> = decltype(declval&lt; _Tp &gt;().skip_n_ovdr())</td></tr>
  127. <tr class="separator:af6c9df3cb6bf2479e8d30a5d36ab71cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:a3dc7b4df37cebf753556ba527306cf9f"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  129. <tr class="memitem:a3dc7b4df37cebf753556ba527306cf9f"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1__1wire__i__det.html#a3dc7b4df37cebf753556ba527306cf9f">try_first_t</a> = decltype(declval&lt; _Tp &gt;().first(declval&lt; typename _Tp::Speed &gt;()))</td></tr>
  130. <tr class="separator:a3dc7b4df37cebf753556ba527306cf9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:a67a086b8e4e3ee051ccb0351e6456630"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  132. <tr class="memitem:a67a086b8e4e3ee051ccb0351e6456630"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1__1wire__i__det.html#a67a086b8e4e3ee051ccb0351e6456630">try_next_t</a> = decltype(declval&lt; _Tp &gt;().next(declval&lt; typename _Tp::Speed &gt;()))</td></tr>
  133. <tr class="separator:a67a086b8e4e3ee051ccb0351e6456630"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. </table><table class="memberdecls">
  135. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  136. Functions</h2></td></tr>
  137. <tr class="memitem:a85a3a19778edb037f6341f37135a5494"><td class="memTemplParams" colspan="2">template&lt;typename _T &gt; </td></tr>
  138. <tr class="memitem:a85a3a19778edb037f6341f37135a5494"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">_touch</a> (_T &amp;obj, <a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> out, typename _T::Speed s)</td></tr>
  139. <tr class="memdesc:a85a3a19778edb037f6341f37135a5494"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write a byte to 1-Wire bus and read the response. <a href="#a85a3a19778edb037f6341f37135a5494">More...</a><br /></td></tr>
  140. <tr class="separator:a85a3a19778edb037f6341f37135a5494"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:a1b07e623a39ce82f1514846169f3a954"><td class="memTemplParams" colspan="2">template&lt;typename _T &gt; </td></tr>
  142. <tr class="memitem:a1b07e623a39ce82f1514846169f3a954"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1__1wire__i__det.html#a1b07e623a39ce82f1514846169f3a954">_match</a> (_T &amp;obj, <a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> &amp;id, typename _T::Speed s)</td></tr>
  143. <tr class="separator:a1b07e623a39ce82f1514846169f3a954"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:a1e14f734d5e232c914be6ea97982aa40"><td class="memTemplParams" colspan="2">template&lt;typename _T &gt; </td></tr>
  145. <tr class="memitem:a1e14f734d5e232c914be6ea97982aa40"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1__1wire__i__det.html#a1e14f734d5e232c914be6ea97982aa40">_match_n_ovdr</a> (_T &amp;obj, <a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> &amp;id)</td></tr>
  146. <tr class="separator:a1e14f734d5e232c914be6ea97982aa40"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:a9ea80f4ef2422a7fd71788c42b228053"><td class="memTemplParams" colspan="2">template&lt;typename _T &gt; </td></tr>
  148. <tr class="memitem:a9ea80f4ef2422a7fd71788c42b228053"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1__1wire__i__det.html#a9ea80f4ef2422a7fd71788c42b228053">_skip</a> (_T &amp;obj, typename _T::Speed s)</td></tr>
  149. <tr class="separator:a9ea80f4ef2422a7fd71788c42b228053"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:ace224a4d329166bfd9f3448e492baf2b"><td class="memTemplParams" colspan="2">template&lt;typename _T &gt; </td></tr>
  151. <tr class="memitem:ace224a4d329166bfd9f3448e492baf2b"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1__1wire__i__det.html#ace224a4d329166bfd9f3448e492baf2b">_skip_n_ovdr</a> (_T &amp;obj)</td></tr>
  152. <tr class="separator:ace224a4d329166bfd9f3448e492baf2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:a237719ffa105f988cb175d6720712a4a"><td class="memTemplParams" colspan="2">template&lt;typename _T &gt; </td></tr>
  154. <tr class="memitem:a237719ffa105f988cb175d6720712a4a"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1__1wire__i__det.html#a237719ffa105f988cb175d6720712a4a">_first</a> (_T &amp;obj, typename _T::Speed s, bool alarm)</td></tr>
  155. <tr class="memdesc:a237719ffa105f988cb175d6720712a4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">'first' operation, to search on the 1-Wire for the first device. This is performed by setting dec_, pos_ and cur_ to zero and then doing the search. <a href="#a237719ffa105f988cb175d6720712a4a">More...</a><br /></td></tr>
  156. <tr class="separator:a237719ffa105f988cb175d6720712a4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr class="memitem:a1f7b692a40769ebe59343613b147e01d"><td class="memTemplParams" colspan="2">template&lt;typename _T &gt; </td></tr>
  158. <tr class="memitem:a1f7b692a40769ebe59343613b147e01d"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a>&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1__1wire__i__det.html#a1f7b692a40769ebe59343613b147e01d">_next</a> (_T &amp;obj, typename _T::Speed s, bool alarm)</td></tr>
  159. <tr class="memdesc:a1f7b692a40769ebe59343613b147e01d"><td class="mdescLeft">&#160;</td><td class="mdescRight">'next' operation, to search on the 1-Wire for the next device. This search is usually performed after a 'first' operation or another 'next' operation. Based on maxim-ic application note 187. <a href="#a1f7b692a40769ebe59343613b147e01d">More...</a><br /></td></tr>
  160. <tr class="separator:a1f7b692a40769ebe59343613b147e01d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. </table>
  162. <h2 class="groupheader">Typedef Documentation</h2>
  163. <a id="a3dc7b4df37cebf753556ba527306cf9f"></a>
  164. <h2 class="memtitle"><span class="permalink"><a href="#a3dc7b4df37cebf753556ba527306cf9f">&#9670;&nbsp;</a></span>try_first_t</h2>
  165. <div class="memitem">
  166. <div class="memproto">
  167. <div class="memtemplate">
  168. template&lt;class _Tp &gt; </div>
  169. <table class="memname">
  170. <tr>
  171. <td class="memname">using <a class="el" href="namespaceutl_1_1__1wire__i__det.html#a3dc7b4df37cebf753556ba527306cf9f">utl::_1wire_i_det::try_first_t</a> = typedef decltype (declval&lt;_Tp&gt;().first (declval&lt;typename _Tp::Speed&gt;()))</td>
  172. </tr>
  173. </table>
  174. </div><div class="memdoc">
  175. <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00679">679</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
  176. </div>
  177. </div>
  178. <a id="aa85f59a97c388dc259589cb517824233"></a>
  179. <h2 class="memtitle"><span class="permalink"><a href="#aa85f59a97c388dc259589cb517824233">&#9670;&nbsp;</a></span>try_match_n_ovdr_t</h2>
  180. <div class="memitem">
  181. <div class="memproto">
  182. <div class="memtemplate">
  183. template&lt;class _Tp &gt; </div>
  184. <table class="memname">
  185. <tr>
  186. <td class="memname">using <a class="el" href="namespaceutl_1_1__1wire__i__det.html#aa85f59a97c388dc259589cb517824233">utl::_1wire_i_det::try_match_n_ovdr_t</a> = typedef decltype (declval&lt;_Tp&gt;().match_n_ovdr (declval&lt;<a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a>&amp;&gt;()))</td>
  187. </tr>
  188. </table>
  189. </div><div class="memdoc">
  190. <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00676">676</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
  191. </div>
  192. </div>
  193. <a id="a3416ddb06e089a5c191d356dd358ff00"></a>
  194. <h2 class="memtitle"><span class="permalink"><a href="#a3416ddb06e089a5c191d356dd358ff00">&#9670;&nbsp;</a></span>try_match_t</h2>
  195. <div class="memitem">
  196. <div class="memproto">
  197. <div class="memtemplate">
  198. template&lt;class _Tp &gt; </div>
  199. <table class="memname">
  200. <tr>
  201. <td class="memname">using <a class="el" href="namespaceutl_1_1__1wire__i__det.html#a3416ddb06e089a5c191d356dd358ff00">utl::_1wire_i_det::try_match_t</a> = typedef decltype (declval&lt;_Tp&gt;().match (declval&lt;<a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a>&amp;&gt;(), declval&lt;typename _Tp::Speed&gt;()))</td>
  202. </tr>
  203. </table>
  204. </div><div class="memdoc">
  205. <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00675">675</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
  206. </div>
  207. </div>
  208. <a id="a67a086b8e4e3ee051ccb0351e6456630"></a>
  209. <h2 class="memtitle"><span class="permalink"><a href="#a67a086b8e4e3ee051ccb0351e6456630">&#9670;&nbsp;</a></span>try_next_t</h2>
  210. <div class="memitem">
  211. <div class="memproto">
  212. <div class="memtemplate">
  213. template&lt;class _Tp &gt; </div>
  214. <table class="memname">
  215. <tr>
  216. <td class="memname">using <a class="el" href="namespaceutl_1_1__1wire__i__det.html#a67a086b8e4e3ee051ccb0351e6456630">utl::_1wire_i_det::try_next_t</a> = typedef decltype (declval&lt;_Tp&gt;().next (declval&lt;typename _Tp::Speed&gt;()))</td>
  217. </tr>
  218. </table>
  219. </div><div class="memdoc">
  220. <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00680">680</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
  221. </div>
  222. </div>
  223. <a id="a502fff2c967d26334aa3c2fcf0b037ba"></a>
  224. <h2 class="memtitle"><span class="permalink"><a href="#a502fff2c967d26334aa3c2fcf0b037ba">&#9670;&nbsp;</a></span>try_reset_t</h2>
  225. <div class="memitem">
  226. <div class="memproto">
  227. <div class="memtemplate">
  228. template&lt;class _Tp &gt; </div>
  229. <table class="memname">
  230. <tr>
  231. <td class="memname">using <a class="el" href="namespaceutl_1_1__1wire__i__det.html#a502fff2c967d26334aa3c2fcf0b037ba">utl::_1wire_i_det::try_reset_t</a> = typedef decltype (declval&lt;_Tp&gt;().reset (declval&lt;typename _Tp::Speed&gt;()))</td>
  232. </tr>
  233. </table>
  234. </div><div class="memdoc">
  235. <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00671">671</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
  236. </div>
  237. </div>
  238. <a id="a303cf58468da38ceeaa2477570f82948"></a>
  239. <h2 class="memtitle"><span class="permalink"><a href="#a303cf58468da38ceeaa2477570f82948">&#9670;&nbsp;</a></span>try_rx1_t</h2>
  240. <div class="memitem">
  241. <div class="memproto">
  242. <div class="memtemplate">
  243. template&lt;class _Tp &gt; </div>
  244. <table class="memname">
  245. <tr>
  246. <td class="memname">using <a class="el" href="namespaceutl_1_1__1wire__i__det.html#a303cf58468da38ceeaa2477570f82948">utl::_1wire_i_det::try_rx1_t</a> = typedef decltype (declval&lt;_Tp&gt;().rx_data (declval&lt;typename _Tp::Speed&gt;()))</td>
  247. </tr>
  248. </table>
  249. </div><div class="memdoc">
  250. <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00672">672</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
  251. </div>
  252. </div>
  253. <a id="af6c9df3cb6bf2479e8d30a5d36ab71cb"></a>
  254. <h2 class="memtitle"><span class="permalink"><a href="#af6c9df3cb6bf2479e8d30a5d36ab71cb">&#9670;&nbsp;</a></span>try_skip_n_ovdr_t</h2>
  255. <div class="memitem">
  256. <div class="memproto">
  257. <div class="memtemplate">
  258. template&lt;class _Tp &gt; </div>
  259. <table class="memname">
  260. <tr>
  261. <td class="memname">using <a class="el" href="namespaceutl_1_1__1wire__i__det.html#af6c9df3cb6bf2479e8d30a5d36ab71cb">utl::_1wire_i_det::try_skip_n_ovdr_t</a> = typedef decltype (declval&lt;_Tp&gt;().skip_n_ovdr ())</td>
  262. </tr>
  263. </table>
  264. </div><div class="memdoc">
  265. <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00678">678</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
  266. </div>
  267. </div>
  268. <a id="a9d0825a40484e7868bf41fc4825b4f7d"></a>
  269. <h2 class="memtitle"><span class="permalink"><a href="#a9d0825a40484e7868bf41fc4825b4f7d">&#9670;&nbsp;</a></span>try_skip_t</h2>
  270. <div class="memitem">
  271. <div class="memproto">
  272. <div class="memtemplate">
  273. template&lt;class _Tp &gt; </div>
  274. <table class="memname">
  275. <tr>
  276. <td class="memname">using <a class="el" href="namespaceutl_1_1__1wire__i__det.html#a9d0825a40484e7868bf41fc4825b4f7d">utl::_1wire_i_det::try_skip_t</a> = typedef decltype (declval&lt;_Tp&gt;().skip (declval&lt;typename _Tp::Speed&gt;()))</td>
  277. </tr>
  278. </table>
  279. </div><div class="memdoc">
  280. <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00677">677</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
  281. </div>
  282. </div>
  283. <a id="ac6a2b551bcf51b426c2e8506ab2473fe"></a>
  284. <h2 class="memtitle"><span class="permalink"><a href="#ac6a2b551bcf51b426c2e8506ab2473fe">&#9670;&nbsp;</a></span>try_tx1_t</h2>
  285. <div class="memitem">
  286. <div class="memproto">
  287. <div class="memtemplate">
  288. template&lt;class _Tp &gt; </div>
  289. <table class="memname">
  290. <tr>
  291. <td class="memname">using <a class="el" href="namespaceutl_1_1__1wire__i__det.html#ac6a2b551bcf51b426c2e8506ab2473fe">utl::_1wire_i_det::try_tx1_t</a> = typedef decltype (declval&lt;_Tp&gt;().tx_data (declval&lt;<a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a>&gt;(), declval&lt;typename _Tp::Speed&gt;()))</td>
  292. </tr>
  293. </table>
  294. </div><div class="memdoc">
  295. <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00673">673</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
  296. </div>
  297. </div>
  298. <h2 class="groupheader">Function Documentation</h2>
  299. <a id="a237719ffa105f988cb175d6720712a4a"></a>
  300. <h2 class="memtitle"><span class="permalink"><a href="#a237719ffa105f988cb175d6720712a4a">&#9670;&nbsp;</a></span>_first()</h2>
  301. <div class="memitem">
  302. <div class="memproto">
  303. <div class="memtemplate">
  304. template&lt;typename _T &gt; </div>
  305. <table class="memname">
  306. <tr>
  307. <td class="memname"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> utl::_1wire_i_det::_first </td>
  308. <td>(</td>
  309. <td class="paramtype">_T &amp;&#160;</td>
  310. <td class="paramname"><em>obj</em>, </td>
  311. </tr>
  312. <tr>
  313. <td class="paramkey"></td>
  314. <td></td>
  315. <td class="paramtype">typename _T::Speed&#160;</td>
  316. <td class="paramname"><em>s</em>, </td>
  317. </tr>
  318. <tr>
  319. <td class="paramkey"></td>
  320. <td></td>
  321. <td class="paramtype">bool&#160;</td>
  322. <td class="paramname"><em>alarm</em>&#160;</td>
  323. </tr>
  324. <tr>
  325. <td></td>
  326. <td>)</td>
  327. <td></td><td></td>
  328. </tr>
  329. </table>
  330. </div><div class="memdoc">
  331. <p>'first' operation, to search on the 1-Wire for the first device. This is performed by setting dec_, pos_ and cur_ to zero and then doing the search. </p>
  332. <dl class="params"><dt>Parameters</dt><dd>
  333. <table class="params">
  334. <tr><td class="paramname">obj</td><td>The object from which we call private members </td></tr>
  335. <tr><td class="paramname">s</td><td>The bus speed </td></tr>
  336. </table>
  337. </dd>
  338. </dl>
  339. <dl class="section return"><dt>Returns</dt><dd>ID The romID <ul>
  340. <li>nullDev Indicate no [more] device[s] </li>
  341. </ul>
  342. </dd></dl>
  343. <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00540">540</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
  344. </div>
  345. </div>
  346. <a id="a1b07e623a39ce82f1514846169f3a954"></a>
  347. <h2 class="memtitle"><span class="permalink"><a href="#a1b07e623a39ce82f1514846169f3a954">&#9670;&nbsp;</a></span>_match()</h2>
  348. <div class="memitem">
  349. <div class="memproto">
  350. <div class="memtemplate">
  351. template&lt;typename _T &gt; </div>
  352. <table class="memname">
  353. <tr>
  354. <td class="memname">void utl::_1wire_i_det::_match </td>
  355. <td>(</td>
  356. <td class="paramtype">_T &amp;&#160;</td>
  357. <td class="paramname"><em>obj</em>, </td>
  358. </tr>
  359. <tr>
  360. <td class="paramkey"></td>
  361. <td></td>
  362. <td class="paramtype"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> &amp;&#160;</td>
  363. <td class="paramname"><em>id</em>, </td>
  364. </tr>
  365. <tr>
  366. <td class="paramkey"></td>
  367. <td></td>
  368. <td class="paramtype">typename _T::Speed&#160;</td>
  369. <td class="paramname"><em>s</em>&#160;</td>
  370. </tr>
  371. <tr>
  372. <td></td>
  373. <td>)</td>
  374. <td></td><td></td>
  375. </tr>
  376. </table>
  377. </div><div class="memdoc">
  378. <p>Send match rom command </p><dl class="params"><dt>Parameters</dt><dd>
  379. <table class="params">
  380. <tr><td class="paramname">obj</td><td>The object from which we call private members </td></tr>
  381. <tr><td class="paramname">id</td><td>The ID to select on the bus </td></tr>
  382. <tr><td class="paramname">s</td><td>The speed to use for the command </td></tr>
  383. </table>
  384. </dd>
  385. </dl>
  386. <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00493">493</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
  387. </div>
  388. </div>
  389. <a id="a1e14f734d5e232c914be6ea97982aa40"></a>
  390. <h2 class="memtitle"><span class="permalink"><a href="#a1e14f734d5e232c914be6ea97982aa40">&#9670;&nbsp;</a></span>_match_n_ovdr()</h2>
  391. <div class="memitem">
  392. <div class="memproto">
  393. <div class="memtemplate">
  394. template&lt;typename _T &gt; </div>
  395. <table class="memname">
  396. <tr>
  397. <td class="memname">void utl::_1wire_i_det::_match_n_ovdr </td>
  398. <td>(</td>
  399. <td class="paramtype">_T &amp;&#160;</td>
  400. <td class="paramname"><em>obj</em>, </td>
  401. </tr>
  402. <tr>
  403. <td class="paramkey"></td>
  404. <td></td>
  405. <td class="paramtype"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> &amp;&#160;</td>
  406. <td class="paramname"><em>id</em>&#160;</td>
  407. </tr>
  408. <tr>
  409. <td></td>
  410. <td>)</td>
  411. <td></td><td></td>
  412. </tr>
  413. </table>
  414. </div><div class="memdoc">
  415. <p>Match and overdrive sequence </p><dl class="params"><dt>Parameters</dt><dd>
  416. <table class="params">
  417. <tr><td class="paramname">obj</td><td>The object from which we call private members </td></tr>
  418. <tr><td class="paramname">id</td><td>The ID to select on the bus </td></tr>
  419. </table>
  420. </dd>
  421. </dl>
  422. <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00505">505</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
  423. </div>
  424. </div>
  425. <a id="a1f7b692a40769ebe59343613b147e01d"></a>
  426. <h2 class="memtitle"><span class="permalink"><a href="#a1f7b692a40769ebe59343613b147e01d">&#9670;&nbsp;</a></span>_next()</h2>
  427. <div class="memitem">
  428. <div class="memproto">
  429. <div class="memtemplate">
  430. template&lt;typename _T &gt; </div>
  431. <table class="memname">
  432. <tr>
  433. <td class="memname"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> utl::_1wire_i_det::_next </td>
  434. <td>(</td>
  435. <td class="paramtype">_T &amp;&#160;</td>
  436. <td class="paramname"><em>obj</em>, </td>
  437. </tr>
  438. <tr>
  439. <td class="paramkey"></td>
  440. <td></td>
  441. <td class="paramtype">typename _T::Speed&#160;</td>
  442. <td class="paramname"><em>s</em>, </td>
  443. </tr>
  444. <tr>
  445. <td class="paramkey"></td>
  446. <td></td>
  447. <td class="paramtype">bool&#160;</td>
  448. <td class="paramname"><em>alarm</em>&#160;</td>
  449. </tr>
  450. <tr>
  451. <td></td>
  452. <td>)</td>
  453. <td></td><td></td>
  454. </tr>
  455. </table>
  456. </div><div class="memdoc">
  457. <p>'next' operation, to search on the 1-Wire for the next device. This search is usually performed after a 'first' operation or another 'next' operation. Based on maxim-ic application note 187. </p>
  458. <dl class="params"><dt>Parameters</dt><dd>
  459. <table class="params">
  460. <tr><td class="paramname">obj</td><td>The object from which we call private members </td></tr>
  461. <tr><td class="paramname">s</td><td>The bus speed </td></tr>
  462. </table>
  463. </dd>
  464. </dl>
  465. <dl class="section return"><dt>Returns</dt><dd>The romID <ul>
  466. <li>nullDev Indicate no [more] device[s] </li>
  467. </ul>
  468. </dd></dl>
  469. <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00556">556</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
  470. </div>
  471. </div>
  472. <a id="a9ea80f4ef2422a7fd71788c42b228053"></a>
  473. <h2 class="memtitle"><span class="permalink"><a href="#a9ea80f4ef2422a7fd71788c42b228053">&#9670;&nbsp;</a></span>_skip()</h2>
  474. <div class="memitem">
  475. <div class="memproto">
  476. <div class="memtemplate">
  477. template&lt;typename _T &gt; </div>
  478. <table class="memname">
  479. <tr>
  480. <td class="memname">void utl::_1wire_i_det::_skip </td>
  481. <td>(</td>
  482. <td class="paramtype">_T &amp;&#160;</td>
  483. <td class="paramname"><em>obj</em>, </td>
  484. </tr>
  485. <tr>
  486. <td class="paramkey"></td>
  487. <td></td>
  488. <td class="paramtype">typename _T::Speed&#160;</td>
  489. <td class="paramname"><em>s</em>&#160;</td>
  490. </tr>
  491. <tr>
  492. <td></td>
  493. <td>)</td>
  494. <td></td><td></td>
  495. </tr>
  496. </table>
  497. </div><div class="memdoc">
  498. <p>Send skip command to the bus </p><dl class="params"><dt>Parameters</dt><dd>
  499. <table class="params">
  500. <tr><td class="paramname">obj</td><td>The object from which we call private members </td></tr>
  501. <tr><td class="paramname">id</td><td>The ID to select on the bus </td></tr>
  502. </table>
  503. </dd>
  504. </dl>
  505. <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00517">517</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
  506. </div>
  507. </div>
  508. <a id="ace224a4d329166bfd9f3448e492baf2b"></a>
  509. <h2 class="memtitle"><span class="permalink"><a href="#ace224a4d329166bfd9f3448e492baf2b">&#9670;&nbsp;</a></span>_skip_n_ovdr()</h2>
  510. <div class="memitem">
  511. <div class="memproto">
  512. <div class="memtemplate">
  513. template&lt;typename _T &gt; </div>
  514. <table class="memname">
  515. <tr>
  516. <td class="memname">void utl::_1wire_i_det::_skip_n_ovdr </td>
  517. <td>(</td>
  518. <td class="paramtype">_T &amp;&#160;</td>
  519. <td class="paramname"><em>obj</em></td><td>)</td>
  520. <td></td>
  521. </tr>
  522. </table>
  523. </div><div class="memdoc">
  524. <p>Send the Skip and Overdrive sequence </p><dl class="params"><dt>Parameters</dt><dd>
  525. <table class="params">
  526. <tr><td class="paramname">obj</td><td>The object from which we call private members </td></tr>
  527. </table>
  528. </dd>
  529. </dl>
  530. <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00526">526</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
  531. </div>
  532. </div>
  533. <a id="a85a3a19778edb037f6341f37135a5494"></a>
  534. <h2 class="memtitle"><span class="permalink"><a href="#a85a3a19778edb037f6341f37135a5494">&#9670;&nbsp;</a></span>_touch()</h2>
  535. <div class="memitem">
  536. <div class="memproto">
  537. <div class="memtemplate">
  538. template&lt;typename _T &gt; </div>
  539. <table class="memname">
  540. <tr>
  541. <td class="memname"><a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> utl::_1wire_i_det::_touch </td>
  542. <td>(</td>
  543. <td class="paramtype">_T &amp;&#160;</td>
  544. <td class="paramname"><em>obj</em>, </td>
  545. </tr>
  546. <tr>
  547. <td class="paramkey"></td>
  548. <td></td>
  549. <td class="paramtype"><a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a>&#160;</td>
  550. <td class="paramname"><em>out</em>, </td>
  551. </tr>
  552. <tr>
  553. <td class="paramkey"></td>
  554. <td></td>
  555. <td class="paramtype">typename _T::Speed&#160;</td>
  556. <td class="paramname"><em>s</em>&#160;</td>
  557. </tr>
  558. <tr>
  559. <td></td>
  560. <td>)</td>
  561. <td></td><td></td>
  562. </tr>
  563. </table>
  564. </div><div class="memdoc">
  565. <p>Write a byte to 1-Wire bus and read the response. </p>
  566. <dl class="params"><dt>Parameters</dt><dd>
  567. <table class="params">
  568. <tr><td class="paramname">obj</td><td>The object from which we call private members </td></tr>
  569. <tr><td class="paramname">b</td><td>The byte to write </td></tr>
  570. <tr><td class="paramname">s</td><td>Bus speed to use </td></tr>
  571. </table>
  572. </dd>
  573. </dl>
  574. <dl class="section return"><dt>Returns</dt><dd>The byte received. </dd></dl>
  575. <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00467">467</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
  576. </div>
  577. </div>
  578. </div><!-- contents -->
  579. </div><!-- doc-content -->
  580. <!-- start footer part -->
  581. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  582. <ul>
  583. <li class="navelem"><a class="el" href="namespaceutl.html">utl</a></li><li class="navelem"><a class="el" href="namespaceutl_1_1__1wire__i__det.html">_1wire_i_det</a></li>
  584. <li class="footer">Generated by
  585. <a href="http://www.doxygen.org/index.html">
  586. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  587. </ul>
  588. </div>
  589. </body>
  590. </html>