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.
 
 
 
 

182 lignes
127 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: include/utl/com/_1wire.h Source File</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('__1wire_8h_source.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="headertitle">
  88. <div class="title">_1wire.h</div> </div>
  89. </div><!--header-->
  90. <div class="contents">
  91. <a href="__1wire_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>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#ifndef __utl_com_1wire_h__</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#define __utl_com_1wire_h__</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="impl_8h.html">utl/core/impl.h</a>&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="crtp_8h.html">utl/core/crtp.h</a>&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="__1wire__id_8h.html">utl/com/_1wire_id.h</a>&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="meta_8h.html">utl/meta/meta.h</a>&gt;</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="namespaceutl.html"> 30</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceutl.html">utl</a> {</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html"> 41</a></span>&#160; <span class="keyword">namespace </span>_1wire_i_det {</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">_touch</a> (_T&amp; obj, <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> out, <span class="keyword">typename</span> _T::Speed s);</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keywordtype">void</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1b07e623a39ce82f1514846169f3a954">_match</a> (_T&amp; obj, <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a>&amp; <span class="keywordtype">id</span>, <span class="keyword">typename</span> _T::Speed s);</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keywordtype">void</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1e14f734d5e232c914be6ea97982aa40">_match_n_ovdr</a> (_T&amp; obj, <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a>&amp; <span class="keywordtype">id</span>);</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keywordtype">void</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a9ea80f4ef2422a7fd71788c42b228053">_skip</a> (_T&amp; obj, <span class="keyword">typename</span> _T::Speed s);</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keywordtype">void</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#ace224a4d329166bfd9f3448e492baf2b">_skip_n_ovdr</a> (_T&amp; obj);</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a237719ffa105f988cb175d6720712a4a">_first</a> (_T&amp; obj, <span class="keyword">typename</span> _T::Speed s, <span class="keywordtype">bool</span> alarm);</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1f7b692a40769ebe59343613b147e01d">_next</a> (_T&amp; obj, <span class="keyword">typename</span> _T::Speed s, <span class="keywordtype">bool</span> alarm);</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; }</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> impl_t&gt;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html"> 57</a></span>&#160; <span class="keyword">class </span><a class="code" href="classutl_1_1__1wire__i.html">_1wire_i</a> {</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#ad8858b769d4cd8da78e1cb4669992da2">_CRTP_IMPL</a>(impl_t);</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#afb63e64403924897a8277eb4159ebd44"> 61</a></span>&#160; <span class="keyword">using</span> <a class="code" href="classutl_1_1__1wire__i.html">type</a> = <a class="code" href="classutl_1_1__1wire__i.html#a4839577d00fdcefb51ac8d4cd91f0f1a">_1wire_i</a>; </div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc"> 64</a></span>&#160; <span class="keyword">enum class</span> <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> { <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">STD</a> =0, <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cca1cbf38b04c4249d8ec27d1ec96aaff68">OVDR</a> };</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a4839577d00fdcefb51ac8d4cd91f0f1a">_1wire_i</a> () = <span class="keywordflow">default</span>; </div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#afb146fda251b25c9fc812718f6c5b3e1">~_1wire_i</a> () = <span class="keywordflow">default</span>; </div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a4839577d00fdcefb51ac8d4cd91f0f1a">_1wire_i</a> (<span class="keyword">const</span> <a class="code" href="classutl_1_1__1wire__i.html">_1wire_i</a>&amp;) = <span class="keyword">delete</span>; </div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <a class="code" href="classutl_1_1__1wire__i.html">_1wire_i</a>&amp; <a class="code" href="classutl_1_1__1wire__i.html#a96222b5bd731c2b242e428aabda40642">operator= </a>(<span class="keyword">const</span> <a class="code" href="classutl_1_1__1wire__i.html">_1wire_i</a>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#ae770650b54374721e04f96994385c570"> 85</a></span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> <a class="code" href="classutl_1_1__1wire__i.html#ae770650b54374721e04f96994385c570">speed</a> ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> impl().speed(); } </div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#adc5c34170794ae99562211faea68a4a6"> 86</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classutl_1_1__1wire__i.html#adc5c34170794ae99562211faea68a4a6">speed</a> (<a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s) { <span class="keywordflow">return</span> impl().speed(s); } </div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classutl_1_1__1wire__i.html#a197e062037f88871de9205519ec78122">bit</a> (<span class="keywordtype">bool</span> b) { <span class="keywordflow">return</span> impl().bit(b); }</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a39d0afaf58820696acad93cf98a6b321"> 89</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classutl_1_1__1wire__i.html#a39d0afaf58820696acad93cf98a6b321">_reset</a> (<a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s){ <span class="keywordflow">return</span> impl()._reset(s); } </div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614"> 97</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614">Command</a> {</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a07e40db0f36ce4354babe1809f31e20b"> 98</a></span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a07e40db0f36ce4354babe1809f31e20b">CMD_READ_ROM</a> = 0x33,</div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614af450a6ccd821f0c2e769e67b99df4cc7"> 99</a></span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614af450a6ccd821f0c2e769e67b99df4cc7">CMD_OVDR_SKIP</a> = 0x3C,</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a15131061d5cc629dbd1f2b7c2ff1b79b"> 100</a></span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a15131061d5cc629dbd1f2b7c2ff1b79b">CMD_MATCH</a> = 0x55,</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a8aba49759413e945e43c6114f60a6617"> 101</a></span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a8aba49759413e945e43c6114f60a6617">CMD_OVDR_MATCH</a> = 0x69,</div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a440008f9edb49be5eca22c50302dff44"> 102</a></span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a440008f9edb49be5eca22c50302dff44">CMD_SKIP</a> = 0xCC,</div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614aab6cb0f1201ca9efeaef8899dab0a637"> 103</a></span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614aab6cb0f1201ca9efeaef8899dab0a637">CMD_ALARM_SEARCH</a> = 0xEC,</div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a8eb4090d17ac88370c93f3246c146e75"> 104</a></span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a8eb4090d17ac88370c93f3246c146e75">CMD_SEARCH_ROM</a> = 0xF0</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; };</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keyword">friend</span> <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">_1wire_i_det::_touch</a> (_T&amp;, <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a>, <span class="keyword">typename</span> _T::Speed);</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keyword">friend</span> <span class="keywordtype">void</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1b07e623a39ce82f1514846169f3a954">_1wire_i_det::_match</a> (_T&amp; obj, <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a>&amp; <span class="keywordtype">id</span>, <span class="keyword">typename</span> _T::Speed s);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keyword">friend</span> <span class="keywordtype">void</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1e14f734d5e232c914be6ea97982aa40">_1wire_i_det::_match_n_ovdr</a> (_T&amp; obj, <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a>&amp; <span class="keywordtype">id</span>);</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keyword">friend</span> <span class="keywordtype">void</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a9ea80f4ef2422a7fd71788c42b228053">_1wire_i_det::_skip</a> (_T&amp; obj, <span class="keyword">typename</span> _T::Speed s);</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keyword">friend</span> <span class="keywordtype">void</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#ace224a4d329166bfd9f3448e492baf2b">_1wire_i_det::_skip_n_ovdr</a> (_T&amp; obj);</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keyword">friend</span> <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a237719ffa105f988cb175d6720712a4a">_1wire_i_det::_first</a> (_T&amp;, <span class="keyword">typename</span> _T::Speed, <span class="keywordtype">bool</span>);</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keyword">friend</span> <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1f7b692a40769ebe59343613b147e01d">_1wire_i_det::_next</a> (_T&amp;, <span class="keyword">typename</span> _T::Speed, <span class="keywordtype">bool</span>);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a0a7ef731162e81e0e2e07ae9cb9e6ffa"> 128</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classutl_1_1__1wire__i.html#a0a7ef731162e81e0e2e07ae9cb9e6ffa">reset</a> (<a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>) {</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classutl_1_1__1wire__i.html#a39d0afaf58820696acad93cf98a6b321">_reset</a> (s);</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; }</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a59e7196e10e53467b62ed369ff78f07d"> 138</a></span>&#160; <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> <a class="code" href="classutl_1_1__1wire__i.html#a59e7196e10e53467b62ed369ff78f07d">tx_data</a> (<a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> out, <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>) {</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">_1wire_i_det::_touch</a> (*<span class="keyword">this</span>, out, s);</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; }</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1__1wire__i.html#a59e7196e10e53467b62ed369ff78f07d">tx_data</a> (<span class="keyword">const</span> <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> *out, <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> *in, <span class="keywordtype">size_t</span> n, <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>);</div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a2585e7166d14b7f36bd47db2e43cc0b1"> 156</a></span>&#160; <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> <a class="code" href="classutl_1_1__1wire__i.html#a2585e7166d14b7f36bd47db2e43cc0b1">rx_data</a> (<a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>) {</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">_1wire_i_det::_touch</a> (*<span class="keyword">this</span>, 0xFF, s);</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; }</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1__1wire__i.html#a2585e7166d14b7f36bd47db2e43cc0b1">rx_data</a> (<a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> *in, <span class="keywordtype">size_t</span> n, <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>);</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;</div><div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#aa2d87a149c4e5dcfefc5a8cde6eaefb2"> 173</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classutl_1_1__1wire__i.html#aa2d87a149c4e5dcfefc5a8cde6eaefb2">match</a> (<a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a>&amp; <span class="keywordtype">id</span>, <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>) {</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1b07e623a39ce82f1514846169f3a954">_1wire_i_det::_match</a> (*<span class="keyword">this</span>, <span class="keywordtype">id</span>, s);</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; }</div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#ac88f67dd75dc23d39123ac584dce6b40"> 181</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classutl_1_1__1wire__i.html#ac88f67dd75dc23d39123ac584dce6b40">match_n_ovdr</a> (<a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a>&amp; <span class="keywordtype">id</span>) {</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1e14f734d5e232c914be6ea97982aa40">_1wire_i_det::_match_n_ovdr</a> (*<span class="keyword">this</span>, <span class="keywordtype">id</span>);</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; }</div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a0a405f818fd45eb2799e6b4477021a0a"> 188</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classutl_1_1__1wire__i.html#a0a405f818fd45eb2799e6b4477021a0a">skip</a> (<a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>) {</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a9ea80f4ef2422a7fd71788c42b228053">_1wire_i_det::_skip</a> (*<span class="keyword">this</span>, s);</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; }</div><div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a8b0b0ea95c02a40721f1e159119b3506"> 194</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classutl_1_1__1wire__i.html#a8b0b0ea95c02a40721f1e159119b3506">skip_n_ovdr</a> () {</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <a class="code" href="namespaceutl_1_1__1wire__i__det.html#ace224a4d329166bfd9f3448e492baf2b">_1wire_i_det::_skip_n_ovdr</a> (*<span class="keyword">this</span>);</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; }</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;</div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a4b6d225963095d36eda832a1e0adba55"> 207</a></span>&#160; <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="classutl_1_1__1wire__i.html#a4b6d225963095d36eda832a1e0adba55">first</a> (<a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>, <span class="keywordtype">bool</span> alarm =<span class="keyword">false</span>) {</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a237719ffa105f988cb175d6720712a4a">_1wire_i_det::_first</a> (*<span class="keyword">this</span>, s, alarm);</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; }</div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a3e302085f12a39fef8a378e1dac42f45"> 220</a></span>&#160; <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="classutl_1_1__1wire__i.html#a3e302085f12a39fef8a378e1dac42f45">next</a> (<a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>, <span class="keywordtype">bool</span> alarm =<span class="keyword">false</span>) {</div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1f7b692a40769ebe59343613b147e01d">_1wire_i_det::_next</a> (*<span class="keyword">this</span>, s, alarm);</div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; }</div><div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160;</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#acb00f6ded645dffafe56ea5e8502511a"> 226</a></span>&#160; <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="classutl_1_1__1wire__i.html#acb00f6ded645dffafe56ea5e8502511a">dec_</a> {<a class="code" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>()}; </div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#a51ed80ef816ea8a4f5a3cdb4d87b0875"> 232</a></span>&#160; <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="classutl_1_1__1wire__i.html#a51ed80ef816ea8a4f5a3cdb4d87b0875">pos_</a> {<a class="code" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>()}; </div><div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#af9adb646cdda935d9a5a26656669e785"> 237</a></span>&#160; <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="classutl_1_1__1wire__i.html#af9adb646cdda935d9a5a26656669e785">cur_</a> {<a class="code" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>()}; </div><div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160; };</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _I&gt;</div><div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#ab3bd112ff66074bdaf7357b91ca692a8"> 241</a></span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1__1wire__i.html#a59e7196e10e53467b62ed369ff78f07d">_1wire_i&lt;_I&gt;::tx_data</a> (<span class="keyword">const</span> <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> *out, <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> *in, <span class="keywordtype">size_t</span> n, <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s){</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> nn {n} ; nn ; --nn)</div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160; *in++ = tx_data (*out++, s);</div><div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160; <span class="keywordflow">return</span> n;</div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160; }</div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160;</div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _I&gt;</div><div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i.html#ad20382d5d50ee7d457bc4079b9c38a2a"> 248</a></span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1__1wire__i.html#a2585e7166d14b7f36bd47db2e43cc0b1">_1wire_i&lt;_I&gt;::rx_data</a>(<a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> *in, <span class="keywordtype">size_t</span> n, <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s) {</div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> nn {n} ; nn ; --nn)</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; *in++ = tx_data (0xFF, s);</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <span class="keywordflow">return</span> n;</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; }</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; <span class="keyword">template</span> &lt;&gt;</div><div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html"> 260</a></span>&#160; <span class="keyword">class </span><a class="code" href="classutl_1_1__1wire__i.html">_1wire_i</a> &lt;<a class="code" href="structutl_1_1virtual__tag.html">virtual_tag</a>&gt; {</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a1b2fa0f5a2946723cd29e689bd38359d"> 262</a></span>&#160; <span class="keyword">using</span> <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html">type</a> = <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html">_1wire_i&lt;virtual_tag&gt;</a>; </div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160;</div><div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a2abb8c6344d17269c55ae0cba63ec512"> 265</a></span>&#160; <span class="keyword">enum class</span> <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a2abb8c6344d17269c55ae0cba63ec512">Speed</a> { <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">STD</a> =0, <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cca1cbf38b04c4249d8ec27d1ec96aaff68">OVDR</a> };</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160;</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a4839577d00fdcefb51ac8d4cd91f0f1a">_1wire_i</a> () = <span class="keywordflow">default</span>; </div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a4839577d00fdcefb51ac8d4cd91f0f1a">_1wire_i</a> (<span class="keyword">const</span> <a class="code" href="classutl_1_1__1wire__i.html#afb63e64403924897a8277eb4159ebd44">type</a>&amp;) = <span class="keyword">delete</span>; </div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#afb63e64403924897a8277eb4159ebd44">type</a>&amp; <a class="code" href="classutl_1_1__1wire__i.html#a96222b5bd731c2b242e428aabda40642">operator= </a>(<span class="keyword">const</span> <a class="code" href="classutl_1_1__1wire__i.html#afb63e64403924897a8277eb4159ebd44">type</a>&amp;) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classutl_1_1__1wire__i.html#afb146fda251b25c9fc812718f6c5b3e1">~_1wire_i</a> () = <span class="keywordflow">default</span>; </div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160;</div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> <a class="code" href="classutl_1_1__1wire__i.html#ae770650b54374721e04f96994385c570">speed</a> () <span class="keyword">const</span> =0; </div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classutl_1_1__1wire__i.html#ae770650b54374721e04f96994385c570">speed</a> (<a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a>) =0; </div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classutl_1_1__1wire__i.html#a197e062037f88871de9205519ec78122">bit</a> () =0; </div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classutl_1_1__1wire__i.html#a197e062037f88871de9205519ec78122">bit</a> (<span class="keywordtype">bool</span>) =0; </div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classutl_1_1__1wire__i.html#a39d0afaf58820696acad93cf98a6b321">_reset</a> (<a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a>) =0; </div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160;</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a8b35a329e022c103b9fac49711bfb268"> 296</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a8b35a329e022c103b9fac49711bfb268">Command</a> {</div><div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a8b35a329e022c103b9fac49711bfb268a48f3ede59d1cfc441475717e5d7a7524"> 297</a></span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a07e40db0f36ce4354babe1809f31e20b">CMD_READ_ROM</a> = 0x33,</div><div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a8b35a329e022c103b9fac49711bfb268a6e4b8f1ad455eed7b241df4ae5a82610"> 298</a></span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614af450a6ccd821f0c2e769e67b99df4cc7">CMD_OVDR_SKIP</a> = 0x3C,</div><div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a8b35a329e022c103b9fac49711bfb268a21d20824a61b5ff144fe098447e16fe0"> 299</a></span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a15131061d5cc629dbd1f2b7c2ff1b79b">CMD_MATCH</a> = 0x55,</div><div class="line"><a name="l00300"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a8b35a329e022c103b9fac49711bfb268afb3bb5319151b723cc9f84cc79fe8243"> 300</a></span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a8aba49759413e945e43c6114f60a6617">CMD_OVDR_MATCH</a> = 0x69,</div><div class="line"><a name="l00301"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a8b35a329e022c103b9fac49711bfb268acaf6f1b98add4a78888c1a6df8888c29"> 301</a></span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a440008f9edb49be5eca22c50302dff44">CMD_SKIP</a> = 0xCC,</div><div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a8b35a329e022c103b9fac49711bfb268a93bb90282121f6cda0ebff1b0444daff"> 302</a></span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614aab6cb0f1201ca9efeaef8899dab0a637">CMD_ALARM_SEARCH</a> = 0xEC,</div><div class="line"><a name="l00303"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a8b35a329e022c103b9fac49711bfb268abe017fdaf8516b58894a146229de14de"> 303</a></span>&#160; <a class="code" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a8eb4090d17ac88370c93f3246c146e75">CMD_SEARCH_ROM</a> = 0xF0</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160; };</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keyword">friend</span> <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">_1wire_i_det::_touch</a> (_T&amp;, <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a>, <span class="keyword">typename</span> _T::Speed);</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keyword">friend</span> <span class="keywordtype">void</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1b07e623a39ce82f1514846169f3a954">_1wire_i_det::_match</a> (_T&amp; obj, <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a>&amp; <span class="keywordtype">id</span>, <span class="keyword">typename</span> _T::Speed s);</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keyword">friend</span> <span class="keywordtype">void</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1e14f734d5e232c914be6ea97982aa40">_1wire_i_det::_match_n_ovdr</a> (_T&amp; obj, <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a>&amp; <span class="keywordtype">id</span>);</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keyword">friend</span> <span class="keywordtype">void</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a9ea80f4ef2422a7fd71788c42b228053">_1wire_i_det::_skip</a> (_T&amp; obj, <span class="keyword">typename</span> _T::Speed s);</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keyword">friend</span> <span class="keywordtype">void</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#ace224a4d329166bfd9f3448e492baf2b">_1wire_i_det::_skip_n_ovdr</a> (_T&amp; obj);</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keyword">friend</span> <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a237719ffa105f988cb175d6720712a4a">_1wire_i_det::_first</a> (_T&amp;, <span class="keyword">typename</span> _T::Speed, <span class="keywordtype">bool</span>);</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt; <span class="keyword">friend</span> <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1f7b692a40769ebe59343613b147e01d">_1wire_i_det::_next</a> (_T&amp;, <span class="keyword">typename</span> _T::Speed, <span class="keywordtype">bool</span>);</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160;</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00327"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a735ed5cb622a1478c57537c131ede7a7"> 327</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a735ed5cb622a1478c57537c131ede7a7">reset</a> (<a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a2abb8c6344d17269c55ae0cba63ec512">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>) {</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classutl_1_1__1wire__i.html#a39d0afaf58820696acad93cf98a6b321">_reset</a> (s);</div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160; }</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160;</div><div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a9fbf69bafc3b697d3cf5ab09055540c8"> 337</a></span>&#160; <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a9fbf69bafc3b697d3cf5ab09055540c8">tx_data</a> (<a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> out, <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a2abb8c6344d17269c55ae0cba63ec512">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>) {</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">_1wire_i_det::_touch</a> (*<span class="keyword">this</span>, out, s);</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; }</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160;</div><div class="line"><a name="l00349"></a><span class="lineno"> 349</span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1__1wire__i.html#a59e7196e10e53467b62ed369ff78f07d">tx_data</a> (<span class="keyword">const</span> <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> *out, <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> *in, <span class="keywordtype">size_t</span> n, <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>);</div><div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a525b58c7a1110d39f1eb594f12edb16c"> 355</a></span>&#160; <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a525b58c7a1110d39f1eb594f12edb16c">rx_data</a> (<a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a2abb8c6344d17269c55ae0cba63ec512">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>) {</div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">_1wire_i_det::_touch</a> (*<span class="keyword">this</span>, 0xFF, s);</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; }</div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1__1wire__i.html#a2585e7166d14b7f36bd47db2e43cc0b1">rx_data</a> (<a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> *in, <span class="keywordtype">size_t</span> n, <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>);</div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160;</div><div class="line"><a name="l00372"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#ac9c4e6123eee9b0af8d94fc8b22af04a"> 372</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#ac9c4e6123eee9b0af8d94fc8b22af04a">match</a> (<a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a>&amp; <span class="keywordtype">id</span>, <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a2abb8c6344d17269c55ae0cba63ec512">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>) {</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160; <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1b07e623a39ce82f1514846169f3a954">_1wire_i_det::_match</a> (*<span class="keyword">this</span>, <span class="keywordtype">id</span>, s);</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>&#160; }</div><div class="line"><a name="l00380"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a9a3e64459e7fddc89d160a3a379552b6"> 380</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a9a3e64459e7fddc89d160a3a379552b6">match_n_ovdr</a> (<a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a>&amp; <span class="keywordtype">id</span>) {</div><div class="line"><a name="l00381"></a><span class="lineno"> 381</span>&#160; <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1e14f734d5e232c914be6ea97982aa40">_1wire_i_det::_match_n_ovdr</a> (*<span class="keyword">this</span>, <span class="keywordtype">id</span>);</div><div class="line"><a name="l00382"></a><span class="lineno"> 382</span>&#160; }</div><div class="line"><a name="l00387"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#ad480b5053884e51e8089cdc691017e4d"> 387</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#ad480b5053884e51e8089cdc691017e4d">skip</a> (<a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a2abb8c6344d17269c55ae0cba63ec512">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>) {</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a9ea80f4ef2422a7fd71788c42b228053">_1wire_i_det::_skip</a> (*<span class="keyword">this</span>, s);</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160; }</div><div class="line"><a name="l00393"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a8d45e55f347c35e77ec55b905516f8fd"> 393</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a8d45e55f347c35e77ec55b905516f8fd">skip_n_ovdr</a> () {</div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160; <a class="code" href="namespaceutl_1_1__1wire__i__det.html#ace224a4d329166bfd9f3448e492baf2b">_1wire_i_det::_skip_n_ovdr</a> (*<span class="keyword">this</span>);</div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160; }</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160;</div><div class="line"><a name="l00406"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a0fb2e35eb9c244640014f69808ae2758"> 406</a></span>&#160; <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a0fb2e35eb9c244640014f69808ae2758">first</a> (<a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a2abb8c6344d17269c55ae0cba63ec512">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>, <span class="keywordtype">bool</span> alarm =<span class="keyword">false</span>) {</div><div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a237719ffa105f988cb175d6720712a4a">_1wire_i_det::_first</a> (*<span class="keyword">this</span>, s, alarm);</div><div class="line"><a name="l00408"></a><span class="lineno"> 408</span>&#160; }</div><div class="line"><a name="l00419"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a6a3b511a6f7c20bae1e8c7af9f50a0ff"> 419</a></span>&#160; <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a6a3b511a6f7c20bae1e8c7af9f50a0ff">next</a> (<a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a2abb8c6344d17269c55ae0cba63ec512">Speed</a> s = <a class="code" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>, <span class="keywordtype">bool</span> alarm =<span class="keyword">false</span>) {</div><div class="line"><a name="l00420"></a><span class="lineno"> 420</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1f7b692a40769ebe59343613b147e01d">_1wire_i_det::_next</a> (*<span class="keyword">this</span>, s, alarm);</div><div class="line"><a name="l00421"></a><span class="lineno"> 421</span>&#160; }</div><div class="line"><a name="l00423"></a><span class="lineno"> 423</span>&#160;</div><div class="line"><a name="l00424"></a><span class="lineno"> 424</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00425"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a6afd1b2d7901b29ed686d7fdeaee5d58"> 425</a></span>&#160; <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="classutl_1_1__1wire__i.html#acb00f6ded645dffafe56ea5e8502511a">dec_</a> {<a class="code" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>()}; </div><div class="line"><a name="l00431"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#aaa7389458c2969170dc0678f27b9ea83"> 431</a></span>&#160; <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="classutl_1_1__1wire__i.html#a51ed80ef816ea8a4f5a3cdb4d87b0875">pos_</a> {<a class="code" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>()}; </div><div class="line"><a name="l00436"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a36d3c8a53b0759d8578a9065914f8d28"> 436</a></span>&#160; <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="classutl_1_1__1wire__i.html#af9adb646cdda935d9a5a26656669e785">cur_</a> {<a class="code" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>()}; </div><div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160; };</div><div class="line"><a name="l00438"></a><span class="lineno"> 438</span>&#160;</div><div class="line"><a name="l00439"></a><span class="lineno"> 439</span>&#160;</div><div class="line"><a name="l00440"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a2fe8eabe2f67410123913b240f039b33"> 440</a></span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1__1wire__i.html#a59e7196e10e53467b62ed369ff78f07d">_1wire_i&lt;virtual_tag&gt;::tx_data</a> (<span class="keyword">const</span> <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> *out, <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> *in, <span class="keywordtype">size_t</span> n, <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a2abb8c6344d17269c55ae0cba63ec512">Speed</a> s){</div><div class="line"><a name="l00441"></a><span class="lineno"> 441</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> nn {n} ; nn ; --nn)</div><div class="line"><a name="l00442"></a><span class="lineno"> 442</span>&#160; *in++ = <a class="code" href="classutl_1_1__1wire__i.html#a59e7196e10e53467b62ed369ff78f07d">tx_data</a> (*out++, s);</div><div class="line"><a name="l00443"></a><span class="lineno"> 443</span>&#160; <span class="keywordflow">return</span> n;</div><div class="line"><a name="l00444"></a><span class="lineno"> 444</span>&#160; }</div><div class="line"><a name="l00445"></a><span class="lineno"> 445</span>&#160;</div><div class="line"><a name="l00446"></a><span class="lineno"><a class="line" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a5f3c707157c571d07a8a3d882900de95"> 446</a></span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classutl_1_1__1wire__i.html#a2585e7166d14b7f36bd47db2e43cc0b1">_1wire_i&lt;virtual_tag&gt;::rx_data</a>(<a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> *in, <span class="keywordtype">size_t</span> n, <a class="code" href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a2abb8c6344d17269c55ae0cba63ec512">Speed</a> s) {</div><div class="line"><a name="l00447"></a><span class="lineno"> 447</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> nn {n} ; nn ; --nn)</div><div class="line"><a name="l00448"></a><span class="lineno"> 448</span>&#160; *in++ = <a class="code" href="classutl_1_1__1wire__i.html#a59e7196e10e53467b62ed369ff78f07d">tx_data</a> (0xFF, s);</div><div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160; <span class="keywordflow">return</span> n;</div><div class="line"><a name="l00450"></a><span class="lineno"> 450</span>&#160; }</div><div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160;</div><div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160;<span class="keyword">namespace </span>_1wire_i_det {</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160;</div><div class="line"><a name="l00466"></a><span class="lineno"> 466</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt;</div><div class="line"><a name="l00467"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494"> 467</a></span>&#160; <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">_touch</a> (_T&amp; obj, <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> out, <span class="keyword">typename</span> _T::Speed s) {</div><div class="line"><a name="l00468"></a><span class="lineno"> 468</span>&#160; <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> ret {0};</div><div class="line"><a name="l00469"></a><span class="lineno"> 469</span>&#160;</div><div class="line"><a name="l00470"></a><span class="lineno"> 470</span>&#160; <span class="comment">// Select speed once</span></div><div class="line"><a name="l00471"></a><span class="lineno"> 471</span>&#160; <span class="keywordflow">if</span> (obj.speed () != s)</div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span>&#160; obj.speed (s);</div><div class="line"><a name="l00473"></a><span class="lineno"> 473</span>&#160; <span class="keywordflow">for</span> (uint8_t i =8; i&gt;0 ; --i) {</div><div class="line"><a name="l00474"></a><span class="lineno"> 474</span>&#160; ret &gt;&gt;= 1;</div><div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160; ret |= (obj.bit (out &amp; 0x01)) ? 0x80 : 0x00;</div><div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160; out &gt;&gt;= 1;</div><div class="line"><a name="l00477"></a><span class="lineno"> 477</span>&#160; <span class="comment">/*^</span></div><div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160;<span class="comment"> * We shift bits to right as LSB comes first and mask it to MSB</span></div><div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160;<span class="comment"> * If we need to read we have to write 1</span></div><div class="line"><a name="l00480"></a><span class="lineno"> 480</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00481"></a><span class="lineno"> 481</span>&#160; }</div><div class="line"><a name="l00482"></a><span class="lineno"> 482</span>&#160; <span class="keywordflow">return</span> ret;</div><div class="line"><a name="l00483"></a><span class="lineno"> 483</span>&#160; }</div><div class="line"><a name="l00484"></a><span class="lineno"> 484</span>&#160;</div><div class="line"><a name="l00485"></a><span class="lineno"> 485</span>&#160;</div><div class="line"><a name="l00492"></a><span class="lineno"> 492</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt;</div><div class="line"><a name="l00493"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html#a1b07e623a39ce82f1514846169f3a954"> 493</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1b07e623a39ce82f1514846169f3a954">_match</a> (_T&amp; obj, <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a>&amp; <span class="keywordtype">id</span>, <span class="keyword">typename</span> _T::Speed s) {</div><div class="line"><a name="l00494"></a><span class="lineno"> 494</span>&#160; <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">_touch</a> (obj, (s == _T::Speed::STD) ? _T::CMD_MATCH : _T::CMD_OVDR_MATCH, s);</div><div class="line"><a name="l00495"></a><span class="lineno"> 495</span>&#160; <span class="keywordflow">for</span> (uint8_t&amp; b : <span class="keywordtype">id</span>)</div><div class="line"><a name="l00496"></a><span class="lineno"> 496</span>&#160; <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">_touch</a> (obj, b, s);</div><div class="line"><a name="l00497"></a><span class="lineno"> 497</span>&#160; }</div><div class="line"><a name="l00498"></a><span class="lineno"> 498</span>&#160;</div><div class="line"><a name="l00504"></a><span class="lineno"> 504</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt;</div><div class="line"><a name="l00505"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html#a1e14f734d5e232c914be6ea97982aa40"> 505</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1e14f734d5e232c914be6ea97982aa40">_match_n_ovdr</a> (_T&amp; obj, <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a>&amp; <span class="keywordtype">id</span>) {</div><div class="line"><a name="l00506"></a><span class="lineno"> 506</span>&#160; <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">_touch</a> (obj, _T::CMD_MATCH, _T::Speed::STD);</div><div class="line"><a name="l00507"></a><span class="lineno"> 507</span>&#160; <span class="keywordflow">for</span> (uint8_t&amp; b : <span class="keywordtype">id</span>)</div><div class="line"><a name="l00508"></a><span class="lineno"> 508</span>&#160; <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">_touch</a> (obj, b, _T::Speed::OVDR);</div><div class="line"><a name="l00509"></a><span class="lineno"> 509</span>&#160; }</div><div class="line"><a name="l00510"></a><span class="lineno"> 510</span>&#160;</div><div class="line"><a name="l00516"></a><span class="lineno"> 516</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt;</div><div class="line"><a name="l00517"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html#a9ea80f4ef2422a7fd71788c42b228053"> 517</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a9ea80f4ef2422a7fd71788c42b228053">_skip</a> (_T&amp; obj, <span class="keyword">typename</span> _T::Speed s) {</div><div class="line"><a name="l00518"></a><span class="lineno"> 518</span>&#160; <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">_touch</a> (obj, (s == _T::Speed::STD) ? _T::CMD_SKIP : _T::CMD_SKIP, s);</div><div class="line"><a name="l00519"></a><span class="lineno"> 519</span>&#160; }</div><div class="line"><a name="l00520"></a><span class="lineno"> 520</span>&#160;</div><div class="line"><a name="l00525"></a><span class="lineno"> 525</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt;</div><div class="line"><a name="l00526"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html#ace224a4d329166bfd9f3448e492baf2b"> 526</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#ace224a4d329166bfd9f3448e492baf2b">_skip_n_ovdr</a> (_T&amp; obj) {</div><div class="line"><a name="l00527"></a><span class="lineno"> 527</span>&#160; <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">_touch</a> (obj, _T::CMD_OVDR_SKIP, _T::Speed::STD);</div><div class="line"><a name="l00528"></a><span class="lineno"> 528</span>&#160; }</div><div class="line"><a name="l00529"></a><span class="lineno"> 529</span>&#160;</div><div class="line"><a name="l00539"></a><span class="lineno"> 539</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt;</div><div class="line"><a name="l00540"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html#a237719ffa105f988cb175d6720712a4a"> 540</a></span>&#160; <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a237719ffa105f988cb175d6720712a4a">_first</a> (_T&amp; obj, <span class="keyword">typename</span> _T::Speed s, <span class="keywordtype">bool</span> alarm) {</div><div class="line"><a name="l00541"></a><span class="lineno"> 541</span>&#160; obj.dec_ = obj.pos_ = obj.cur_ = <a class="code" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>();</div><div class="line"><a name="l00542"></a><span class="lineno"> 542</span>&#160; <span class="keywordflow">return</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1f7b692a40769ebe59343613b147e01d">_next</a> (obj, s, alarm);</div><div class="line"><a name="l00543"></a><span class="lineno"> 543</span>&#160; }</div><div class="line"><a name="l00544"></a><span class="lineno"> 544</span>&#160;</div><div class="line"><a name="l00555"></a><span class="lineno"> 555</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _T&gt;</div><div class="line"><a name="l00556"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html#a1f7b692a40769ebe59343613b147e01d"> 556</a></span>&#160; <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a1f7b692a40769ebe59343613b147e01d">_next</a> (_T&amp; obj, <span class="keyword">typename</span> _T::Speed s, <span class="keywordtype">bool</span> alarm) {</div><div class="line"><a name="l00557"></a><span class="lineno"> 557</span>&#160; uint8_t b, bxx; <span class="comment">// bit helper vars</span></div><div class="line"><a name="l00558"></a><span class="lineno"> 558</span>&#160; uint8_t i;</div><div class="line"><a name="l00559"></a><span class="lineno"> 559</span>&#160; <a class="code" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> ID;</div><div class="line"><a name="l00560"></a><span class="lineno"> 560</span>&#160;</div><div class="line"><a name="l00561"></a><span class="lineno"> 561</span>&#160; <span class="keywordflow">do</span> {</div><div class="line"><a name="l00562"></a><span class="lineno"> 562</span>&#160; <span class="keywordflow">if</span> ((obj.pos_ != <a class="code" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>()) &amp;&amp; (obj.dec_ &gt;= obj.pos_)) {</div><div class="line"><a name="l00563"></a><span class="lineno"> 563</span>&#160; <span class="comment">// dec_ == pos_: We have found all the leafs, already</span></div><div class="line"><a name="l00564"></a><span class="lineno"> 564</span>&#160; <span class="comment">// dec_ &gt; pos_ : Error</span></div><div class="line"><a name="l00565"></a><span class="lineno"> 565</span>&#160; ID = <a class="code" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>();</div><div class="line"><a name="l00566"></a><span class="lineno"> 566</span>&#160; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00567"></a><span class="lineno"> 567</span>&#160; }</div><div class="line"><a name="l00568"></a><span class="lineno"> 568</span>&#160; <span class="keywordflow">if</span> (!obj.reset (s)) {</div><div class="line"><a name="l00569"></a><span class="lineno"> 569</span>&#160; ID = <a class="code" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>();</div><div class="line"><a name="l00570"></a><span class="lineno"> 570</span>&#160; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00571"></a><span class="lineno"> 571</span>&#160; }</div><div class="line"><a name="l00572"></a><span class="lineno"> 572</span>&#160; <span class="comment">// Issue search command</span></div><div class="line"><a name="l00573"></a><span class="lineno"> 573</span>&#160; <span class="keywordflow">if</span> (alarm) obj.tx_data (_T::CMD_ALARM_SEARCH, s);</div><div class="line"><a name="l00574"></a><span class="lineno"> 574</span>&#160; <span class="keywordflow">else</span> obj.tx_data (_T::CMD_SEARCH_ROM, s);</div><div class="line"><a name="l00575"></a><span class="lineno"> 575</span>&#160;</div><div class="line"><a name="l00576"></a><span class="lineno"> 576</span>&#160; <span class="comment">// Select speed once</span></div><div class="line"><a name="l00577"></a><span class="lineno"> 577</span>&#160; <span class="keywordflow">if</span> (obj.speed () != s)</div><div class="line"><a name="l00578"></a><span class="lineno"> 578</span>&#160; obj.speed (s);</div><div class="line"><a name="l00579"></a><span class="lineno"> 579</span>&#160;</div><div class="line"><a name="l00580"></a><span class="lineno"> 580</span>&#160; <span class="comment">// traverse entire RomID from LSB to MSB</span></div><div class="line"><a name="l00581"></a><span class="lineno"> 581</span>&#160; <span class="keywordflow">for</span> (i =0 ; i&lt;64 ; ++i) {</div><div class="line"><a name="l00582"></a><span class="lineno"> 582</span>&#160; <span class="comment">// Get response pair bits</span></div><div class="line"><a name="l00583"></a><span class="lineno"> 583</span>&#160; bxx = obj.bit (1); <span class="comment">// bit</span></div><div class="line"><a name="l00584"></a><span class="lineno"> 584</span>&#160; bxx &lt;&lt;= 1;</div><div class="line"><a name="l00585"></a><span class="lineno"> 585</span>&#160; bxx |= obj.bit (1); <span class="comment">// complementary bit</span></div><div class="line"><a name="l00586"></a><span class="lineno"> 586</span>&#160;</div><div class="line"><a name="l00587"></a><span class="lineno"> 587</span>&#160; <span class="keywordflow">if</span> (bxx == 0x00) {</div><div class="line"><a name="l00588"></a><span class="lineno"> 588</span>&#160; <span class="comment">// 00 - We have discrepancy</span></div><div class="line"><a name="l00589"></a><span class="lineno"> 589</span>&#160; obj.cur_.bit (i, 1);</div><div class="line"><a name="l00590"></a><span class="lineno"> 590</span>&#160; <span class="keywordflow">switch</span> (<a class="code" href="classutl_1_1__1wire__id__t.html#aef89950aeb9d40ca058fabcc5532e01d">_1wire_id_t::compare</a> (obj.pos_, obj.cur_)) {</div><div class="line"><a name="l00591"></a><span class="lineno"> 591</span>&#160; <span class="keywordflow">default</span>:</div><div class="line"><a name="l00592"></a><span class="lineno"> 592</span>&#160; <span class="keywordflow">case</span> -1:</div><div class="line"><a name="l00593"></a><span class="lineno"> 593</span>&#160; <span class="comment">// pos_ &lt; cur_: This discrepancy is the most far for now. Mark position and select 0.</span></div><div class="line"><a name="l00594"></a><span class="lineno"> 594</span>&#160; b = 0;</div><div class="line"><a name="l00595"></a><span class="lineno"> 595</span>&#160; <span class="comment">//dec_.bit (i, (b = 0)); //&lt;-- Its already 0</span></div><div class="line"><a name="l00596"></a><span class="lineno"> 596</span>&#160; obj.pos_.bit (i, 1);</div><div class="line"><a name="l00597"></a><span class="lineno"> 597</span>&#160; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00598"></a><span class="lineno"> 598</span>&#160; <span class="keywordflow">case</span> 0:</div><div class="line"><a name="l00599"></a><span class="lineno"> 599</span>&#160; <span class="comment">// pos_ == cur_: This was the last discrepancy in the last pass.</span></div><div class="line"><a name="l00600"></a><span class="lineno"> 600</span>&#160; <span class="comment">// Select the other branch this time (1)</span></div><div class="line"><a name="l00601"></a><span class="lineno"> 601</span>&#160; obj.dec_.bit (i, (b = 1));</div><div class="line"><a name="l00602"></a><span class="lineno"> 602</span>&#160; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00603"></a><span class="lineno"> 603</span>&#160; <span class="keywordflow">case</span> 1:</div><div class="line"><a name="l00604"></a><span class="lineno"> 604</span>&#160; <span class="comment">// pos_ &gt; cur_: We had a discrepancy in a MSB than that, in a previous pass.</span></div><div class="line"><a name="l00605"></a><span class="lineno"> 605</span>&#160; <span class="comment">// Continue with the last pass decision.</span></div><div class="line"><a name="l00606"></a><span class="lineno"> 606</span>&#160; b = obj.dec_.bit (i);</div><div class="line"><a name="l00607"></a><span class="lineno"> 607</span>&#160; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00608"></a><span class="lineno"> 608</span>&#160; }</div><div class="line"><a name="l00609"></a><span class="lineno"> 609</span>&#160; <span class="comment">// Send selection and update romid</span></div><div class="line"><a name="l00610"></a><span class="lineno"> 610</span>&#160; obj.bit (b);</div><div class="line"><a name="l00611"></a><span class="lineno"> 611</span>&#160; ID.<a class="code" href="structutl_1_1id__t.html#a870b1c8cc468c8b9d7e76fd4d4fb8b2d">bit</a> (i, b);</div><div class="line"><a name="l00612"></a><span class="lineno"> 612</span>&#160; }</div><div class="line"><a name="l00613"></a><span class="lineno"> 613</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (bxx == 0x01) {</div><div class="line"><a name="l00614"></a><span class="lineno"> 614</span>&#160; <span class="comment">// 01 - All bits of all ROMs are 0s</span></div><div class="line"><a name="l00615"></a><span class="lineno"> 615</span>&#160; obj.bit (0);</div><div class="line"><a name="l00616"></a><span class="lineno"> 616</span>&#160; ID.<a class="code" href="structutl_1_1id__t.html#a870b1c8cc468c8b9d7e76fd4d4fb8b2d">bit</a> (i, 0);</div><div class="line"><a name="l00617"></a><span class="lineno"> 617</span>&#160;</div><div class="line"><a name="l00618"></a><span class="lineno"> 618</span>&#160; }</div><div class="line"><a name="l00619"></a><span class="lineno"> 619</span>&#160; <span class="keywordflow">else</span> <span class="keywordflow">if</span> (bxx == 0x02) {</div><div class="line"><a name="l00620"></a><span class="lineno"> 620</span>&#160; <span class="comment">// 10 - All bits of all ROMs are 1s</span></div><div class="line"><a name="l00621"></a><span class="lineno"> 621</span>&#160; obj.bit (1);</div><div class="line"><a name="l00622"></a><span class="lineno"> 622</span>&#160; ID.<a class="code" href="structutl_1_1id__t.html#a870b1c8cc468c8b9d7e76fd4d4fb8b2d">bit</a> (i, 1);</div><div class="line"><a name="l00623"></a><span class="lineno"> 623</span>&#160; }</div><div class="line"><a name="l00624"></a><span class="lineno"> 624</span>&#160; <span class="keywordflow">else</span> {</div><div class="line"><a name="l00625"></a><span class="lineno"> 625</span>&#160; <span class="comment">// 11 - No device on the bus</span></div><div class="line"><a name="l00626"></a><span class="lineno"> 626</span>&#160; ID = <a class="code" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>();</div><div class="line"><a name="l00627"></a><span class="lineno"> 627</span>&#160; <span class="keywordflow">break</span>;</div><div class="line"><a name="l00628"></a><span class="lineno"> 628</span>&#160; }</div><div class="line"><a name="l00629"></a><span class="lineno"> 629</span>&#160; } <span class="comment">// for</span></div><div class="line"><a name="l00630"></a><span class="lineno"> 630</span>&#160;</div><div class="line"><a name="l00631"></a><span class="lineno"> 631</span>&#160; <span class="keywordflow">if</span> (i == 64 &amp;&amp; obj.pos_ == <a class="code" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>()) {</div><div class="line"><a name="l00632"></a><span class="lineno"> 632</span>&#160; <span class="comment">// Mark done with only one device</span></div><div class="line"><a name="l00633"></a><span class="lineno"> 633</span>&#160; obj.pos_.bit (0, 1);</div><div class="line"><a name="l00634"></a><span class="lineno"> 634</span>&#160; obj.dec_.bit (0, 1);</div><div class="line"><a name="l00635"></a><span class="lineno"> 635</span>&#160; }</div><div class="line"><a name="l00636"></a><span class="lineno"> 636</span>&#160; } <span class="keywordflow">while</span> (0);</div><div class="line"><a name="l00637"></a><span class="lineno"> 637</span>&#160;</div><div class="line"><a name="l00638"></a><span class="lineno"> 638</span>&#160; <span class="keywordflow">return</span> ID;</div><div class="line"><a name="l00639"></a><span class="lineno"> 639</span>&#160; }</div><div class="line"><a name="l00640"></a><span class="lineno"> 640</span>&#160;} <span class="comment">// namespace _1wire_i_det</span></div><div class="line"><a name="l00642"></a><span class="lineno"> 642</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00643"></a><span class="lineno"> 643</span>&#160;</div><div class="line"><a name="l00644"></a><span class="lineno"> 644</span>&#160;<span class="preprocessor">#if defined _utl_have_concepts</span></div><div class="line"><a name="l00645"></a><span class="lineno"> 645</span>&#160;</div><div class="line"><a name="l00648"></a><span class="lineno"> 648</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00649"></a><span class="lineno"> 649</span>&#160; concept <span class="keywordtype">bool</span> _1Wire_i = requires (T t, <span class="keyword">typename</span> T::Speed s, _1wire_id_t <span class="keywordtype">id</span>) {</div><div class="line"><a name="l00650"></a><span class="lineno"> 650</span>&#160; <span class="comment">// Object type</span></div><div class="line"><a name="l00651"></a><span class="lineno"> 651</span>&#160; requires not_&lt;std::is_copy_constructible&lt;T&gt;::value&gt;::value;</div><div class="line"><a name="l00652"></a><span class="lineno"> 652</span>&#160; requires not_&lt;std::is_copy_assignable&lt;T&gt;::value&gt;::value;</div><div class="line"><a name="l00653"></a><span class="lineno"> 653</span>&#160; <span class="comment">// Members</span></div><div class="line"><a name="l00654"></a><span class="lineno"> 654</span>&#160;<span class="comment">// typename T::Speed;</span></div><div class="line"><a name="l00655"></a><span class="lineno"> 655</span>&#160;<span class="comment">// typename T::Command;</span></div><div class="line"><a name="l00656"></a><span class="lineno"> 656</span>&#160; <span class="comment">// Methods</span></div><div class="line"><a name="l00657"></a><span class="lineno"> 657</span>&#160; {t.reset(s)} -&gt; bool;</div><div class="line"><a name="l00658"></a><span class="lineno"> 658</span>&#160; {t.tx_data(1)} -&gt; <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a>;</div><div class="line"><a name="l00659"></a><span class="lineno"> 659</span>&#160; {t.rx_data(s)} -&gt; <a class="code" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a>;</div><div class="line"><a name="l00660"></a><span class="lineno"> 660</span>&#160; t.match(<span class="keywordtype">id</span>, s);</div><div class="line"><a name="l00661"></a><span class="lineno"> 661</span>&#160; t.match_n_ovdr(<span class="keywordtype">id</span>);</div><div class="line"><a name="l00662"></a><span class="lineno"> 662</span>&#160; t.skip(s);</div><div class="line"><a name="l00663"></a><span class="lineno"> 663</span>&#160; t.skip_n_ovdr();</div><div class="line"><a name="l00664"></a><span class="lineno"> 664</span>&#160; {t.first(s)} -&gt; _1wire_id_t;</div><div class="line"><a name="l00665"></a><span class="lineno"> 665</span>&#160; {t.next(s)} -&gt; _1wire_id_t;</div><div class="line"><a name="l00666"></a><span class="lineno"> 666</span>&#160; };</div><div class="line"><a name="l00667"></a><span class="lineno"> 667</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00668"></a><span class="lineno"> 668</span>&#160; <span class="keyword">namespace </span>_1wire_i_det {</div><div class="line"><a name="l00669"></a><span class="lineno"> 669</span>&#160; <span class="keyword">using</span> std::declval;</div><div class="line"><a name="l00670"></a><span class="lineno"> 670</span>&#160;</div><div class="line"><a name="l00671"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html#a502fff2c967d26334aa3c2fcf0b037ba"> 671</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">class</span> _Tp&gt; <span class="keyword">using</span> <a class="code" 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;()));</div><div class="line"><a name="l00672"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html#a303cf58468da38ceeaa2477570f82948"> 672</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">class</span> _Tp&gt; <span class="keyword">using</span> <a class="code" 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;()));</div><div class="line"><a name="l00673"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html#ac6a2b551bcf51b426c2e8506ab2473fe"> 673</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">class</span> _Tp&gt; <span class="keyword">using</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#ac6a2b551bcf51b426c2e8506ab2473fe">try_tx1_t</a> = decltype (declval&lt;_Tp&gt;().tx_data (declval&lt;byte_t&gt;(), declval&lt;typename _Tp::Speed&gt;()));</div><div class="line"><a name="l00674"></a><span class="lineno"> 674</span>&#160;</div><div class="line"><a name="l00675"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html#a3416ddb06e089a5c191d356dd358ff00"> 675</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">class</span> _Tp&gt; <span class="keyword">using</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#a3416ddb06e089a5c191d356dd358ff00">try_match_t</a> = decltype (declval&lt;_Tp&gt;().match (declval&lt;_1wire_id_t&amp;&gt;(), declval&lt;typename _Tp::Speed&gt;()));</div><div class="line"><a name="l00676"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html#aa85f59a97c388dc259589cb517824233"> 676</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">class</span> _Tp&gt; <span class="keyword">using</span> <a class="code" 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;_1wire_id_t&amp;&gt;()));</div><div class="line"><a name="l00677"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html#a9d0825a40484e7868bf41fc4825b4f7d"> 677</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">class</span> _Tp&gt; <span class="keyword">using</span> <a class="code" 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;()));</div><div class="line"><a name="l00678"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html#af6c9df3cb6bf2479e8d30a5d36ab71cb"> 678</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">class</span> _Tp&gt; <span class="keyword">using</span> <a class="code" href="namespaceutl_1_1__1wire__i__det.html#af6c9df3cb6bf2479e8d30a5d36ab71cb">try_skip_n_ovdr_t</a> = decltype (declval&lt;_Tp&gt;().skip_n_ovdr ());</div><div class="line"><a name="l00679"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html#a3dc7b4df37cebf753556ba527306cf9f"> 679</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">class</span> _Tp&gt; <span class="keyword">using</span> <a class="code" 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;()));</div><div class="line"><a name="l00680"></a><span class="lineno"><a class="line" href="namespaceutl_1_1__1wire__i__det.html#a67a086b8e4e3ee051ccb0351e6456630"> 680</a></span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">class</span> _Tp&gt; <span class="keyword">using</span> <a class="code" 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;()));</div><div class="line"><a name="l00681"></a><span class="lineno"> 681</span>&#160;</div><div class="line"><a name="l00683"></a><span class="lineno"> 683</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _Tp, <span class="keyword">typename</span> =<span class="keywordtype">void</span>&gt;</div><div class="line"><a name="l00684"></a><span class="lineno"><a class="line" href="structutl_1_1__1wire__i__det_1_1is__1wire__.html"> 684</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structutl_1_1__1wire__i__det_1_1is__1wire__.html">is_1wire_</a> : <a class="code" href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">meta::false_</a> {};</div><div class="line"><a name="l00685"></a><span class="lineno"> 685</span>&#160;</div><div class="line"><a name="l00687"></a><span class="lineno"> 687</span>&#160; <span class="keyword">template</span> &lt;<span class="keyword">typename</span> _Tp&gt;</div><div class="line"><a name="l00688"></a><span class="lineno"><a class="line" 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"> 688</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structutl_1_1__1wire__i__det_1_1is__1wire__.html">is_1wire_</a> &lt;_Tp,</div><div class="line"><a name="l00689"></a><span class="lineno"> 689</span>&#160; meta::<a class="code" href="group__detection.html#gae7373c997420d16cf37e542eb3cfa3ad">void_t</a> &lt;</div><div class="line"><a name="l00690"></a><span class="lineno"> 690</span>&#160;<span class="comment">// typename _Tp::Speed,</span></div><div class="line"><a name="l00691"></a><span class="lineno"> 691</span>&#160;<span class="comment">// typename _Tp::Command,</span></div><div class="line"><a name="l00692"></a><span class="lineno"> 692</span>&#160;<span class="comment">// meta::use_if_same_t &lt;try_reset_t &lt;_Tp&gt;, bool&gt;,</span></div><div class="line"><a name="l00693"></a><span class="lineno"> 693</span>&#160;<span class="comment">// meta::use_if_same_t &lt;try_rx1_t &lt;_Tp&gt;, byte_t&gt;,</span></div><div class="line"><a name="l00694"></a><span class="lineno"> 694</span>&#160;<span class="comment">// //meta::use_if_same_t &lt;try_rx2_t &lt;_Tp&gt;, size_t&gt;,</span></div><div class="line"><a name="l00695"></a><span class="lineno"> 695</span>&#160;<span class="comment">// meta::use_if_same_t &lt;try_tx1_t &lt;_Tp&gt;, byte_t&gt;,</span></div><div class="line"><a name="l00696"></a><span class="lineno"> 696</span>&#160;<span class="comment">// //meta::use_if_same_t &lt;try_tx2_t &lt;_Tp&gt;, size_t&gt;,</span></div><div class="line"><a name="l00697"></a><span class="lineno"> 697</span>&#160;<span class="comment">// meta::use_if_same_t &lt;try_match_t&lt;_Tp&gt;, void&gt;,</span></div><div class="line"><a name="l00698"></a><span class="lineno"> 698</span>&#160;<span class="comment">// meta::use_if_same_t &lt;try_match_n_ovdr_t&lt;_Tp&gt;, void&gt;,</span></div><div class="line"><a name="l00699"></a><span class="lineno"> 699</span>&#160;<span class="comment">// meta::use_if_same_t &lt;try_skip_t&lt;_Tp&gt;, void&gt;,</span></div><div class="line"><a name="l00700"></a><span class="lineno"> 700</span>&#160;<span class="comment">// meta::use_if_same_t &lt;try_skip_n_ovdr_t&lt;_Tp&gt;, void&gt;,</span></div><div class="line"><a name="l00701"></a><span class="lineno"> 701</span>&#160;<span class="comment">// meta::use_if_same_t &lt;try_first_t &lt;_Tp&gt;, _1wire_id_t&gt;,</span></div><div class="line"><a name="l00702"></a><span class="lineno"> 702</span>&#160;<span class="comment">// meta::use_if_same_t &lt;try_next_t &lt;_Tp&gt;, _1wire_id_t&gt;</span></div><div class="line"><a name="l00703"></a><span class="lineno"> 703</span>&#160; void</div><div class="line"><a name="l00704"></a><span class="lineno"> 704</span>&#160; &gt; </div><div class="line"><a name="l00705"></a><span class="lineno"> 705</span>&#160; &gt; : <a class="code" href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">meta::true_</a> {};</div><div class="line"><a name="l00706"></a><span class="lineno"> 706</span>&#160; } <span class="comment">// namespace _1wire_i_det</span></div><div class="line"><a name="l00707"></a><span class="lineno"> 707</span>&#160;</div><div class="line"><a name="l00713"></a><span class="lineno"> 713</span>&#160;<span class="comment">// template &lt;typename _Tp&gt;</span></div><div class="line"><a name="l00714"></a><span class="lineno"> 714</span>&#160;<span class="comment">// constexpr bool _1Wire_i = _1wire_i_det::is_1wire_&lt;_Tp&gt;::value;</span></div><div class="line"><a name="l00715"></a><span class="lineno"> 715</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00716"></a><span class="lineno"> 716</span>&#160;</div><div class="line"><a name="l00718"></a><span class="lineno"> 718</span>&#160;} <span class="comment">//namespace utl</span></div><div class="line"><a name="l00719"></a><span class="lineno"> 719</span>&#160;</div><div class="line"><a name="l00720"></a><span class="lineno"> 720</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* __utl_com_1wire_h__ */</span><span class="preprocessor"></span></div><div class="ttc" id="classutl_1_1__1wire__i_html_a4b6d225963095d36eda832a1e0adba55"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a4b6d225963095d36eda832a1e0adba55">utl::_1wire_i::first</a></div><div class="ttdeci">_1wire_id_t first(Speed s=Speed::STD, bool alarm=false)</div><div class="ttdoc">&amp;#39;first&amp;#39; operation, to search on the 1-Wire for the first device. This is performed by setting dec_...</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00207">_1wire.h:207</a></div></div>
  92. <div class="ttc" id="classutl_1_1__1wire__i_html_a915f13cf9dbb891eeac73b527a5b9614aab6cb0f1201ca9efeaef8899dab0a637"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614aab6cb0f1201ca9efeaef8899dab0a637">utl::_1wire_i::CMD_ALARM_SEARCH</a></div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00103">_1wire.h:103</a></div></div>
  93. <div class="ttc" id="classutl_1_1__1wire__i_html_a915f13cf9dbb891eeac73b527a5b9614a07e40db0f36ce4354babe1809f31e20b"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a07e40db0f36ce4354babe1809f31e20b">utl::_1wire_i::CMD_READ_ROM</a></div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00098">_1wire.h:98</a></div></div>
  94. <div class="ttc" id="meta_8h_html"><div class="ttname"><a href="meta_8h.html">meta.h</a></div><div class="ttdoc">Include all meta library. </div></div>
  95. <div class="ttc" id="classutl_1_1__1wire__i_html_a197e062037f88871de9205519ec78122"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a197e062037f88871de9205519ec78122">utl::_1wire_i::bit</a></div><div class="ttdeci">bool bit(bool b)</div><div class="ttdoc">Write a bit to the 1-Wire bus, return response/write status and provide the recovery time...</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00088">_1wire.h:88</a></div></div>
  96. <div class="ttc" id="group__detection_html_gae7373c997420d16cf37e542eb3cfa3ad"><div class="ttname"><a href="group__detection.html#gae7373c997420d16cf37e542eb3cfa3ad">utl::meta::void_t</a></div><div class="ttdeci">void void_t</div><div class="ttdoc">void_t type alias </div><div class="ttdef"><b>Definition:</b> <a href="detection_8h_source.html#l00055">detection.h:55</a></div></div>
  97. <div class="ttc" id="classutl_1_1__1wire__i_html_ac88f67dd75dc23d39123ac584dce6b40"><div class="ttname"><a href="classutl_1_1__1wire__i.html#ac88f67dd75dc23d39123ac584dce6b40">utl::_1wire_i::match_n_ovdr</a></div><div class="ttdeci">void match_n_ovdr(_1wire_id_t &amp;id)</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00181">_1wire.h:181</a></div></div>
  98. <div class="ttc" id="namespaceutl_1_1__1wire__i__det_html_aa85f59a97c388dc259589cb517824233"><div class="ttname"><a href="namespaceutl_1_1__1wire__i__det.html#aa85f59a97c388dc259589cb517824233">utl::_1wire_i_det::try_match_n_ovdr_t</a></div><div class="ttdeci">decltype(declval&lt; _Tp &gt;().match_n_ovdr(declval&lt; _1wire_id_t &amp; &gt;())) try_match_n_ovdr_t</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00676">_1wire.h:676</a></div></div>
  99. <div class="ttc" id="structutl_1_1__1wire__i__det_1_1is__1wire___html"><div class="ttname"><a href="structutl_1_1__1wire__i__det_1_1is__1wire__.html">utl::_1wire_i_det::is_1wire_</a></div><div class="ttdoc">Primary template to catch any non 1-wire interface types. </div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00684">_1wire.h:684</a></div></div>
  100. <div class="ttc" id="classutl_1_1__1wire__i_html_aa2d87a149c4e5dcfefc5a8cde6eaefb2"><div class="ttname"><a href="classutl_1_1__1wire__i.html#aa2d87a149c4e5dcfefc5a8cde6eaefb2">utl::_1wire_i::match</a></div><div class="ttdeci">void match(_1wire_id_t &amp;id, Speed s=Speed::STD)</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00173">_1wire.h:173</a></div></div>
  101. <div class="ttc" id="classutl_1_1__1wire__i_html_a39d0afaf58820696acad93cf98a6b321"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a39d0afaf58820696acad93cf98a6b321">utl::_1wire_i::_reset</a></div><div class="ttdeci">bool _reset(Speed s)</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00089">_1wire.h:89</a></div></div>
  102. <div class="ttc" id="namespaceutl_1_1meta_html_ae9a5a8fbe8202785f059935af219fb97"><div class="ttname"><a href="namespaceutl_1_1meta.html#ae9a5a8fbe8202785f059935af219fb97">utl::meta::true_</a></div><div class="ttdeci">bool_&lt; true &gt; true_</div><div class="ttdoc">The type used as a compile-time boolean with true value. </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00068">integral.h:68</a></div></div>
  103. <div class="ttc" id="classutl_1_1__1wire__id__t_html_aef89950aeb9d40ca058fabcc5532e01d"><div class="ttname"><a href="classutl_1_1__1wire__id__t.html#aef89950aeb9d40ca058fabcc5532e01d">utl::_1wire_id_t::compare</a></div><div class="ttdeci">static int compare(const _1wire_id_t &amp;lhs, const _1wire_id_t &amp;rhs) noexcept</div><div class="ttdoc">Full compare two dev_ids. </div><div class="ttdef"><b>Definition:</b> <a href="__1wire__id_8h_source.html#l00072">_1wire_id.h:72</a></div></div>
  104. <div class="ttc" id="crtp_8h_html"><div class="ttname"><a href="crtp_8h.html">crtp.h</a></div></div>
  105. <div class="ttc" id="classutl_1_1__1wire__i_html_a915f13cf9dbb891eeac73b527a5b9614a15131061d5cc629dbd1f2b7c2ff1b79b"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a15131061d5cc629dbd1f2b7c2ff1b79b">utl::_1wire_i::CMD_MATCH</a></div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00100">_1wire.h:100</a></div></div>
  106. <div class="ttc" id="classutl_1_1__1wire__i_html_a56bb736aa3620d7795b5914cac5f25cca1cbf38b04c4249d8ec27d1ec96aaff68"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cca1cbf38b04c4249d8ec27d1ec96aaff68">utl::_1wire_i::Speed::OVDR</a></div></div>
  107. <div class="ttc" id="namespaceutl_1_1__1wire__i__det_html_a3416ddb06e089a5c191d356dd358ff00"><div class="ttname"><a href="namespaceutl_1_1__1wire__i__det.html#a3416ddb06e089a5c191d356dd358ff00">utl::_1wire_i_det::try_match_t</a></div><div class="ttdeci">decltype(declval&lt; _Tp &gt;().match(declval&lt; _1wire_id_t &amp; &gt;(), declval&lt; typename _Tp::Speed &gt;())) try_match_t</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00675">_1wire.h:675</a></div></div>
  108. <div class="ttc" id="classutl_1_1__1wire__i_3_01virtual__tag_01_4_html_ac9c4e6123eee9b0af8d94fc8b22af04a"><div class="ttname"><a href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#ac9c4e6123eee9b0af8d94fc8b22af04a">utl::_1wire_i&lt; virtual_tag &gt;::match</a></div><div class="ttdeci">void match(_1wire_id_t &amp;id, Speed s=Speed::STD)</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00372">_1wire.h:372</a></div></div>
  109. <div class="ttc" id="classutl_1_1__1wire__i_html_adc5c34170794ae99562211faea68a4a6"><div class="ttname"><a href="classutl_1_1__1wire__i.html#adc5c34170794ae99562211faea68a4a6">utl::_1wire_i::speed</a></div><div class="ttdeci">void speed(Speed s)</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00086">_1wire.h:86</a></div></div>
  110. <div class="ttc" id="namespaceutl_1_1__1wire__i__det_html_a1e14f734d5e232c914be6ea97982aa40"><div class="ttname"><a href="namespaceutl_1_1__1wire__i__det.html#a1e14f734d5e232c914be6ea97982aa40">utl::_1wire_i_det::_match_n_ovdr</a></div><div class="ttdeci">void _match_n_ovdr(_T &amp;obj, _1wire_id_t &amp;id)</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00505">_1wire.h:505</a></div></div>
  111. <div class="ttc" id="classutl_1_1__1wire__i_html_a56bb736aa3620d7795b5914cac5f25cc"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">utl::_1wire_i&lt; type &gt;::Speed</a></div><div class="ttdeci">Speed</div><div class="ttdoc">1-wire bus speed </div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00064">_1wire.h:64</a></div></div>
  112. <div class="ttc" id="classutl_1_1__1wire__i_html_a59e7196e10e53467b62ed369ff78f07d"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a59e7196e10e53467b62ed369ff78f07d">utl::_1wire_i::tx_data</a></div><div class="ttdeci">byte_t tx_data(byte_t out, Speed s=Speed::STD)</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00138">_1wire.h:138</a></div></div>
  113. <div class="ttc" id="classutl_1_1__1wire__i_html_a2585e7166d14b7f36bd47db2e43cc0b1"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a2585e7166d14b7f36bd47db2e43cc0b1">utl::_1wire_i::rx_data</a></div><div class="ttdeci">byte_t rx_data(Speed s=Speed::STD)</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00156">_1wire.h:156</a></div></div>
  114. <div class="ttc" id="namespaceutl_1_1__1wire__i__det_html_a237719ffa105f988cb175d6720712a4a"><div class="ttname"><a href="namespaceutl_1_1__1wire__i__det.html#a237719ffa105f988cb175d6720712a4a">utl::_1wire_i_det::_first</a></div><div class="ttdeci">_1wire_id_t _first(_T &amp;obj, typename _T::Speed s, bool alarm)</div><div class="ttdoc">&amp;#39;first&amp;#39; operation, to search on the 1-Wire for the first device. This is performed by setting dec_...</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00540">_1wire.h:540</a></div></div>
  115. <div class="ttc" id="classutl_1_1__1wire__i_html_a915f13cf9dbb891eeac73b527a5b9614a8aba49759413e945e43c6114f60a6617"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a8aba49759413e945e43c6114f60a6617">utl::_1wire_i::CMD_OVDR_MATCH</a></div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00101">_1wire.h:101</a></div></div>
  116. <div class="ttc" id="classutl_1_1__1wire__i_html_a0a7ef731162e81e0e2e07ae9cb9e6ffa"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a0a7ef731162e81e0e2e07ae9cb9e6ffa">utl::_1wire_i::reset</a></div><div class="ttdeci">bool reset(Speed s=Speed::STD)</div><div class="ttdoc">Generate a 1-wire reset. </div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00128">_1wire.h:128</a></div></div>
  117. <div class="ttc" id="classutl_1_1__1wire__i_html_ad8858b769d4cd8da78e1cb4669992da2"><div class="ttname"><a href="classutl_1_1__1wire__i.html#ad8858b769d4cd8da78e1cb4669992da2">utl::_1wire_i::_CRTP_IMPL</a></div><div class="ttdeci">_CRTP_IMPL(impl_t)</div></div>
  118. <div class="ttc" id="classutl_1_1__1wire__id__t_html"><div class="ttname"><a href="classutl_1_1__1wire__id__t.html">utl::_1wire_id_t</a></div><div class="ttdef"><b>Definition:</b> <a href="__1wire__id_8h_source.html#l00032">_1wire_id.h:32</a></div></div>
  119. <div class="ttc" id="namespaceutl_1_1__1wire__i__det_html_a1f7b692a40769ebe59343613b147e01d"><div class="ttname"><a href="namespaceutl_1_1__1wire__i__det.html#a1f7b692a40769ebe59343613b147e01d">utl::_1wire_i_det::_next</a></div><div class="ttdeci">_1wire_id_t _next(_T &amp;obj, typename _T::Speed s, bool alarm)</div><div class="ttdoc">&amp;#39;next&amp;#39; operation, to search on the 1-Wire for the next device. This search is usually performed after...</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00556">_1wire.h:556</a></div></div>
  120. <div class="ttc" id="classutl_1_1__1wire__i_3_01virtual__tag_01_4_html_a6a3b511a6f7c20bae1e8c7af9f50a0ff"><div class="ttname"><a href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a6a3b511a6f7c20bae1e8c7af9f50a0ff">utl::_1wire_i&lt; virtual_tag &gt;::next</a></div><div class="ttdeci">_1wire_id_t next(Speed s=Speed::STD, bool alarm=false)</div><div class="ttdoc">&amp;#39;next&amp;#39; operation, to search on the 1-Wire for the next device. This search is usually performed after...</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00419">_1wire.h:419</a></div></div>
  121. <div class="ttc" id="namespaceutl_1_1meta_html_a55511dbaa0adb605ce22dcec11f8d22d"><div class="ttname"><a href="namespaceutl_1_1meta.html#a55511dbaa0adb605ce22dcec11f8d22d">utl::meta::false_</a></div><div class="ttdeci">bool_&lt; false &gt; false_</div><div class="ttdoc">The type used as a compile-time boolean with false value. </div><div class="ttdef"><b>Definition:</b> <a href="integral_8h_source.html#l00069">integral.h:69</a></div></div>
  122. <div class="ttc" id="__1wire__id_8h_html"><div class="ttname"><a href="__1wire__id_8h.html">_1wire_id.h</a></div><div class="ttdoc">An 1-wire Rom ID type. </div></div>
  123. <div class="ttc" id="classutl_1_1__1wire__i_3_01virtual__tag_01_4_html"><div class="ttname"><a href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html">utl::_1wire_i&lt; virtual_tag &gt;</a></div><div class="ttdoc">A virtual base class implementation. </div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00260">_1wire.h:260</a></div></div>
  124. <div class="ttc" id="classutl_1_1__1wire__i_3_01virtual__tag_01_4_html_a735ed5cb622a1478c57537c131ede7a7"><div class="ttname"><a href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a735ed5cb622a1478c57537c131ede7a7">utl::_1wire_i&lt; virtual_tag &gt;::reset</a></div><div class="ttdeci">bool reset(Speed s=Speed::STD)</div><div class="ttdoc">Generate a 1-wire reset. </div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00327">_1wire.h:327</a></div></div>
  125. <div class="ttc" id="classutl_1_1__1wire__i_3_01virtual__tag_01_4_html_a0fb2e35eb9c244640014f69808ae2758"><div class="ttname"><a href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a0fb2e35eb9c244640014f69808ae2758">utl::_1wire_i&lt; virtual_tag &gt;::first</a></div><div class="ttdeci">_1wire_id_t first(Speed s=Speed::STD, bool alarm=false)</div><div class="ttdoc">&amp;#39;first&amp;#39; operation, to search on the 1-Wire for the first device. This is performed by setting dec_...</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00406">_1wire.h:406</a></div></div>
  126. <div class="ttc" id="namespaceutl_html"><div class="ttname"><a href="namespaceutl.html">utl</a></div><div class="ttdoc">STL&amp;#39;s core language concepts. </div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00030">_1wire.h:30</a></div></div>
  127. <div class="ttc" id="classutl_1_1__1wire__i_3_01virtual__tag_01_4_html_a8d45e55f347c35e77ec55b905516f8fd"><div class="ttname"><a href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a8d45e55f347c35e77ec55b905516f8fd">utl::_1wire_i&lt; virtual_tag &gt;::skip_n_ovdr</a></div><div class="ttdeci">void skip_n_ovdr()</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00393">_1wire.h:393</a></div></div>
  128. <div class="ttc" id="namespaceutl_1_1__1wire__i__det_html_a9d0825a40484e7868bf41fc4825b4f7d"><div class="ttname"><a href="namespaceutl_1_1__1wire__i__det.html#a9d0825a40484e7868bf41fc4825b4f7d">utl::_1wire_i_det::try_skip_t</a></div><div class="ttdeci">decltype(declval&lt; _Tp &gt;().skip(declval&lt; typename _Tp::Speed &gt;())) try_skip_t</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00677">_1wire.h:677</a></div></div>
  129. <div class="ttc" id="classutl_1_1__1wire__i_3_01virtual__tag_01_4_html_a9a3e64459e7fddc89d160a3a379552b6"><div class="ttname"><a href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a9a3e64459e7fddc89d160a3a379552b6">utl::_1wire_i&lt; virtual_tag &gt;::match_n_ovdr</a></div><div class="ttdeci">void match_n_ovdr(_1wire_id_t &amp;id)</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00380">_1wire.h:380</a></div></div>
  130. <div class="ttc" id="classutl_1_1__1wire__i_html_a51ed80ef816ea8a4f5a3cdb4d87b0875"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a51ed80ef816ea8a4f5a3cdb4d87b0875">utl::_1wire_i::pos_</a></div><div class="ttdeci">_1wire_id_t pos_</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00232">_1wire.h:232</a></div></div>
  131. <div class="ttc" id="classutl_1_1__1wire__i_3_01virtual__tag_01_4_html_a525b58c7a1110d39f1eb594f12edb16c"><div class="ttname"><a href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a525b58c7a1110d39f1eb594f12edb16c">utl::_1wire_i&lt; virtual_tag &gt;::rx_data</a></div><div class="ttdeci">byte_t rx_data(Speed s=Speed::STD)</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00355">_1wire.h:355</a></div></div>
  132. <div class="ttc" id="namespaceutl_1_1__1wire__i__det_html_ac6a2b551bcf51b426c2e8506ab2473fe"><div class="ttname"><a href="namespaceutl_1_1__1wire__i__det.html#ac6a2b551bcf51b426c2e8506ab2473fe">utl::_1wire_i_det::try_tx1_t</a></div><div class="ttdeci">decltype(declval&lt; _Tp &gt;().tx_data(declval&lt; byte_t &gt;(), declval&lt; typename _Tp::Speed &gt;())) try_tx1_t</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00673">_1wire.h:673</a></div></div>
  133. <div class="ttc" id="namespaceutl_1_1__1wire__i__det_html_ace224a4d329166bfd9f3448e492baf2b"><div class="ttname"><a href="namespaceutl_1_1__1wire__i__det.html#ace224a4d329166bfd9f3448e492baf2b">utl::_1wire_i_det::_skip_n_ovdr</a></div><div class="ttdeci">void _skip_n_ovdr(_T &amp;obj)</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00526">_1wire.h:526</a></div></div>
  134. <div class="ttc" id="classutl_1_1__1wire__i_html_afb63e64403924897a8277eb4159ebd44"><div class="ttname"><a href="classutl_1_1__1wire__i.html#afb63e64403924897a8277eb4159ebd44">utl::_1wire_i::type</a></div><div class="ttdeci">_1wire_i type</div><div class="ttdoc">Export type as identity meta-function. </div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00061">_1wire.h:61</a></div></div>
  135. <div class="ttc" id="classutl_1_1__1wire__i_html_a0a405f818fd45eb2799e6b4477021a0a"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a0a405f818fd45eb2799e6b4477021a0a">utl::_1wire_i::skip</a></div><div class="ttdeci">void skip(Speed s=Speed::STD)</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00188">_1wire.h:188</a></div></div>
  136. <div class="ttc" id="namespaceutl_1_1__1wire__i__det_html_af6c9df3cb6bf2479e8d30a5d36ab71cb"><div class="ttname"><a href="namespaceutl_1_1__1wire__i__det.html#af6c9df3cb6bf2479e8d30a5d36ab71cb">utl::_1wire_i_det::try_skip_n_ovdr_t</a></div><div class="ttdeci">decltype(declval&lt; _Tp &gt;().skip_n_ovdr()) try_skip_n_ovdr_t</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00678">_1wire.h:678</a></div></div>
  137. <div class="ttc" id="classutl_1_1__1wire__i_html_ae770650b54374721e04f96994385c570"><div class="ttname"><a href="classutl_1_1__1wire__i.html#ae770650b54374721e04f96994385c570">utl::_1wire_i::speed</a></div><div class="ttdeci">Speed speed() const</div><div class="ttdoc">Get the 1-wire bus speed. </div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00085">_1wire.h:85</a></div></div>
  138. <div class="ttc" id="namespaceutl_1_1__1wire__i__det_html_a3dc7b4df37cebf753556ba527306cf9f"><div class="ttname"><a href="namespaceutl_1_1__1wire__i__det.html#a3dc7b4df37cebf753556ba527306cf9f">utl::_1wire_i_det::try_first_t</a></div><div class="ttdeci">decltype(declval&lt; _Tp &gt;().first(declval&lt; typename _Tp::Speed &gt;())) try_first_t</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00679">_1wire.h:679</a></div></div>
  139. <div class="ttc" id="classutl_1_1__1wire__i_3_01virtual__tag_01_4_html_a9fbf69bafc3b697d3cf5ab09055540c8"><div class="ttname"><a href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a9fbf69bafc3b697d3cf5ab09055540c8">utl::_1wire_i&lt; virtual_tag &gt;::tx_data</a></div><div class="ttdeci">byte_t tx_data(byte_t out, Speed s=Speed::STD)</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00337">_1wire.h:337</a></div></div>
  140. <div class="ttc" id="classutl_1_1__1wire__i_html_a96222b5bd731c2b242e428aabda40642"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a96222b5bd731c2b242e428aabda40642">utl::_1wire_i::operator=</a></div><div class="ttdeci">_1wire_i &amp; operator=(const _1wire_i &amp;)=delete</div></div>
  141. <div class="ttc" id="classutl_1_1__1wire__i_3_01virtual__tag_01_4_html_ad480b5053884e51e8089cdc691017e4d"><div class="ttname"><a href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#ad480b5053884e51e8089cdc691017e4d">utl::_1wire_i&lt; virtual_tag &gt;::skip</a></div><div class="ttdeci">void skip(Speed s=Speed::STD)</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00387">_1wire.h:387</a></div></div>
  142. <div class="ttc" id="classutl_1_1__1wire__id__t_html_adad08aa5ce38e1a87800de57a91db81b"><div class="ttname"><a href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">utl::_1wire_id_t::nullDev</a></div><div class="ttdeci">static constexpr const _1wire_id_t &amp; nullDev()</div><div class="ttdoc">Return nullDev reference. </div><div class="ttdef"><b>Definition:</b> <a href="__1wire__id_8h_source.html#l00050">_1wire_id.h:50</a></div></div>
  143. <div class="ttc" id="classutl_1_1__1wire__i_html_afb146fda251b25c9fc812718f6c5b3e1"><div class="ttname"><a href="classutl_1_1__1wire__i.html#afb146fda251b25c9fc812718f6c5b3e1">utl::_1wire_i::~_1wire_i</a></div><div class="ttdeci">~_1wire_i()=default</div><div class="ttdoc">Allow destructor from derived only. </div></div>
  144. <div class="ttc" id="classutl_1_1__1wire__i_html_a915f13cf9dbb891eeac73b527a5b9614a440008f9edb49be5eca22c50302dff44"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a440008f9edb49be5eca22c50302dff44">utl::_1wire_i::CMD_SKIP</a></div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00102">_1wire.h:102</a></div></div>
  145. <div class="ttc" id="classutl_1_1__1wire__i_html_a3e302085f12a39fef8a378e1dac42f45"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a3e302085f12a39fef8a378e1dac42f45">utl::_1wire_i::next</a></div><div class="ttdeci">_1wire_id_t next(Speed s=Speed::STD, bool alarm=false)</div><div class="ttdoc">&amp;#39;next&amp;#39; operation, to search on the 1-Wire for the next device. This search is usually performed after...</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00220">_1wire.h:220</a></div></div>
  146. <div class="ttc" id="classutl_1_1__1wire__i_html_a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">utl::_1wire_i::Speed::STD</a></div></div>
  147. <div class="ttc" id="classutl_1_1__1wire__i_html_a915f13cf9dbb891eeac73b527a5b9614"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614">utl::_1wire_i&lt; type &gt;::Command</a></div><div class="ttdeci">Command</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00097">_1wire.h:97</a></div></div>
  148. <div class="ttc" id="classutl_1_1__1wire__i_html_a915f13cf9dbb891eeac73b527a5b9614af450a6ccd821f0c2e769e67b99df4cc7"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614af450a6ccd821f0c2e769e67b99df4cc7">utl::_1wire_i::CMD_OVDR_SKIP</a></div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00099">_1wire.h:99</a></div></div>
  149. <div class="ttc" id="namespaceutl_1_1__1wire__i__det_html_a303cf58468da38ceeaa2477570f82948"><div class="ttname"><a href="namespaceutl_1_1__1wire__i__det.html#a303cf58468da38ceeaa2477570f82948">utl::_1wire_i_det::try_rx1_t</a></div><div class="ttdeci">decltype(declval&lt; _Tp &gt;().rx_data(declval&lt; typename _Tp::Speed &gt;())) try_rx1_t</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00672">_1wire.h:672</a></div></div>
  150. <div class="ttc" id="classutl_1_1__1wire__i_html"><div class="ttname"><a href="classutl_1_1__1wire__i.html">utl::_1wire_i</a></div><div class="ttdoc">Template base class for 1-wire communication interface using CRTP. </div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00057">_1wire.h:57</a></div></div>
  151. <div class="ttc" id="namespaceutl_html_a1427cb5a2b13313147a902173b91e3c1"><div class="ttname"><a href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">utl::byte_t</a></div><div class="ttdeci">uint8_t byte_t</div><div class="ttdoc">8 bits wide </div><div class="ttdef"><b>Definition:</b> <a href="types_8h_source.html#l00031">types.h:31</a></div></div>
  152. <div class="ttc" id="structutl_1_1virtual__tag_html"><div class="ttname"><a href="structutl_1_1virtual__tag.html">utl::virtual_tag</a></div><div class="ttdoc">virtual support tag type </div><div class="ttdef"><b>Definition:</b> <a href="crtp_8h_source.html#l00040">crtp.h:40</a></div></div>
  153. <div class="ttc" id="classutl_1_1__1wire__i_html_a8b0b0ea95c02a40721f1e159119b3506"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a8b0b0ea95c02a40721f1e159119b3506">utl::_1wire_i::skip_n_ovdr</a></div><div class="ttdeci">void skip_n_ovdr()</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00194">_1wire.h:194</a></div></div>
  154. <div class="ttc" id="namespaceutl_1_1__1wire__i__det_html_a502fff2c967d26334aa3c2fcf0b037ba"><div class="ttname"><a href="namespaceutl_1_1__1wire__i__det.html#a502fff2c967d26334aa3c2fcf0b037ba">utl::_1wire_i_det::try_reset_t</a></div><div class="ttdeci">decltype(declval&lt; _Tp &gt;().reset(declval&lt; typename _Tp::Speed &gt;())) try_reset_t</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00671">_1wire.h:671</a></div></div>
  155. <div class="ttc" id="namespaceutl_1_1__1wire__i__det_html_a9ea80f4ef2422a7fd71788c42b228053"><div class="ttname"><a href="namespaceutl_1_1__1wire__i__det.html#a9ea80f4ef2422a7fd71788c42b228053">utl::_1wire_i_det::_skip</a></div><div class="ttdeci">void _skip(_T &amp;obj, typename _T::Speed s)</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00517">_1wire.h:517</a></div></div>
  156. <div class="ttc" id="classutl_1_1__1wire__i_3_01virtual__tag_01_4_html_a8b35a329e022c103b9fac49711bfb268"><div class="ttname"><a href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a8b35a329e022c103b9fac49711bfb268">utl::_1wire_i&lt; virtual_tag &gt;::Command</a></div><div class="ttdeci">Command</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00296">_1wire.h:296</a></div></div>
  157. <div class="ttc" id="namespaceutl_1_1__1wire__i__det_html_a67a086b8e4e3ee051ccb0351e6456630"><div class="ttname"><a href="namespaceutl_1_1__1wire__i__det.html#a67a086b8e4e3ee051ccb0351e6456630">utl::_1wire_i_det::try_next_t</a></div><div class="ttdeci">decltype(declval&lt; _Tp &gt;().next(declval&lt; typename _Tp::Speed &gt;())) try_next_t</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00680">_1wire.h:680</a></div></div>
  158. <div class="ttc" id="classutl_1_1__1wire__i_html_a915f13cf9dbb891eeac73b527a5b9614a8eb4090d17ac88370c93f3246c146e75"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a8eb4090d17ac88370c93f3246c146e75">utl::_1wire_i::CMD_SEARCH_ROM</a></div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00104">_1wire.h:104</a></div></div>
  159. <div class="ttc" id="impl_8h_html"><div class="ttname"><a href="impl_8h.html">impl.h</a></div><div class="ttdoc">Implementation detail main forward header. </div></div>
  160. <div class="ttc" id="classutl_1_1__1wire__i_html_af9adb646cdda935d9a5a26656669e785"><div class="ttname"><a href="classutl_1_1__1wire__i.html#af9adb646cdda935d9a5a26656669e785">utl::_1wire_i::cur_</a></div><div class="ttdeci">_1wire_id_t cur_</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00237">_1wire.h:237</a></div></div>
  161. <div class="ttc" id="namespaceutl_1_1__1wire__i__det_html_a1b07e623a39ce82f1514846169f3a954"><div class="ttname"><a href="namespaceutl_1_1__1wire__i__det.html#a1b07e623a39ce82f1514846169f3a954">utl::_1wire_i_det::_match</a></div><div class="ttdeci">void _match(_T &amp;obj, _1wire_id_t &amp;id, typename _T::Speed s)</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00493">_1wire.h:493</a></div></div>
  162. <div class="ttc" id="classutl_1_1__1wire__i_html_acb00f6ded645dffafe56ea5e8502511a"><div class="ttname"><a href="classutl_1_1__1wire__i.html#acb00f6ded645dffafe56ea5e8502511a">utl::_1wire_i::dec_</a></div><div class="ttdeci">_1wire_id_t dec_</div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00226">_1wire.h:226</a></div></div>
  163. <div class="ttc" id="classutl_1_1__1wire__i_3_01virtual__tag_01_4_html_a2abb8c6344d17269c55ae0cba63ec512"><div class="ttname"><a href="classutl_1_1__1wire__i_3_01virtual__tag_01_4.html#a2abb8c6344d17269c55ae0cba63ec512">utl::_1wire_i&lt; virtual_tag &gt;::Speed</a></div><div class="ttdeci">Speed</div><div class="ttdoc">1-wire bus speed </div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00265">_1wire.h:265</a></div></div>
  164. <div class="ttc" id="classutl_1_1__1wire__i_html_a4839577d00fdcefb51ac8d4cd91f0f1a"><div class="ttname"><a href="classutl_1_1__1wire__i.html#a4839577d00fdcefb51ac8d4cd91f0f1a">utl::_1wire_i::_1wire_i</a></div><div class="ttdeci">_1wire_i()=default</div><div class="ttdoc">Allow constructor from derived only. </div></div>
  165. <div class="ttc" id="structutl_1_1id__t_html_a870b1c8cc468c8b9d7e76fd4d4fb8b2d"><div class="ttname"><a href="structutl_1_1id__t.html#a870b1c8cc468c8b9d7e76fd4d4fb8b2d">utl::id_t::bit</a></div><div class="ttdeci">constexpr bool bit(uint8_t bit) const noexcept</div><div class="ttdef"><b>Definition:</b> <a href="id_8h_source.html#l00159">id.h:159</a></div></div>
  166. <div class="ttc" id="namespaceutl_1_1__1wire__i__det_html_a85a3a19778edb037f6341f37135a5494"><div class="ttname"><a href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">utl::_1wire_i_det::_touch</a></div><div class="ttdeci">byte_t _touch(_T &amp;obj, byte_t out, typename _T::Speed s)</div><div class="ttdoc">Write a byte to 1-Wire bus and read the response. </div><div class="ttdef"><b>Definition:</b> <a href="__1wire_8h_source.html#l00467">_1wire.h:467</a></div></div>
  167. </div><!-- fragment --></div><!-- contents -->
  168. </div><!-- doc-content -->
  169. <!-- start footer part -->
  170. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  171. <ul>
  172. <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_82754f54d9380477ef02477185c1f103.html">utl</a></li><li class="navelem"><a class="el" href="dir_b2ad3c1a6521a4924fa9194d98c323e2.html">com</a></li><li class="navelem"><a class="el" href="__1wire_8h.html">_1wire.h</a></li>
  173. <li class="footer">Generated by
  174. <a href="http://www.doxygen.org/index.html">
  175. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  176. </ul>
  177. </div>
  178. </body>
  179. </html>