|
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.14"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>uTL: utl::_1wire_i< impl_t > Class Template Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="navtree.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="resize.js"></script>
- <script type="text/javascript" src="navtreedata.js"></script>
- <script type="text/javascript" src="navtree.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(initResizable);
- /* @license-end */</script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">uTL
- </div>
- <div id="projectbrief">micro Template library</div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.14 -->
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- /* @license-end */
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- /* @license-end */</script>
- <div id="main-nav"></div>
- </div><!-- top -->
- <div id="side-nav" class="ui-resizable side-nav-resizable">
- <div id="nav-tree">
- <div id="nav-tree-contents">
- <div id="nav-sync" class="sync"></div>
- </div>
- </div>
- <div id="splitbar" style="-moz-user-select:none;"
- class="ui-resizable-handle">
- </div>
- </div>
- <script type="text/javascript">
- /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
- $(document).ready(function(){initNavTree('classutl_1_1__1wire__i.html','');});
- /* @license-end */
- </script>
- <div id="doc-content">
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
-
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
-
- <div class="header">
- <div class="summary">
- <a href="#pub-types">Public Types</a> |
- <a href="#pri-methods">Private Member Functions</a> |
- <a href="#pri-attribs">Private Attributes</a> |
- <a href="classutl_1_1__1wire__i-members.html">List of all members</a> </div>
- <div class="headertitle">
- <div class="title">utl::_1wire_i< impl_t > Class Template Reference</div> </div>
- </div><!--header-->
- <div class="contents">
-
- <p>Template base class for 1-wire communication interface using CRTP.
- <a href="classutl_1_1__1wire__i.html#details">More...</a></p>
-
- <p><code>#include <<a class="el" href="__1wire_8h_source.html">_1wire.h</a>></code></p>
- <div class="dynheader">
- Inheritance diagram for utl::_1wire_i< impl_t >:</div>
- <div class="dyncontent">
- <div class="center">
- <img src="classutl_1_1__1wire__i.png" usemap="#utl::_5F1wire_5Fi_3C_20impl_5Ft_20_3E_map" alt=""/>
- <map id="utl::_5F1wire_5Fi_3C_20impl_5Ft_20_3E_map" name="utl::_5F1wire_5Fi_3C_20impl_5Ft_20_3E_map">
- <area href="classutl_1_1__1wire__uart__i.html" title="1-wire UART interface template class using CRTP Using the private virtual interface we provide the in..." alt="utl::_1wire_uart_i< Impl_t >" shape="rect" coords="0,56,164,80"/>
- </map>
- </div></div>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
- Public Types</h2></td></tr>
- <tr class="memitem:a56bb736aa3620d7795b5914cac5f25cc"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> { <a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a> =0,
- <a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cca1cbf38b04c4249d8ec27d1ec96aaff68">Speed::OVDR</a>
- }</td></tr>
- <tr class="memdesc:a56bb736aa3620d7795b5914cac5f25cc"><td class="mdescLeft"> </td><td class="mdescRight">1-wire bus speed <a href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">More...</a><br /></td></tr>
- <tr class="separator:a56bb736aa3620d7795b5914cac5f25cc"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:afb63e64403924897a8277eb4159ebd44"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#afb63e64403924897a8277eb4159ebd44">type</a> = <a class="el" href="classutl_1_1__1wire__i.html">_1wire_i</a></td></tr>
- <tr class="memdesc:afb63e64403924897a8277eb4159ebd44"><td class="mdescLeft"> </td><td class="mdescRight">Export type as identity meta-function. <a href="#afb63e64403924897a8277eb4159ebd44">More...</a><br /></td></tr>
- <tr class="separator:afb63e64403924897a8277eb4159ebd44"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
- Public Member Functions</h2></td></tr>
- <tr><td colspan="2"><div class="groupHeader">User functionality provided by the interface</div></td></tr>
- <tr class="memitem:a0a7ef731162e81e0e2e07ae9cb9e6ffa"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a0a7ef731162e81e0e2e07ae9cb9e6ffa">reset</a> (<a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s=<a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>)</td></tr>
- <tr class="memdesc:a0a7ef731162e81e0e2e07ae9cb9e6ffa"><td class="mdescLeft"> </td><td class="mdescRight">Generate a 1-wire reset. <a href="#a0a7ef731162e81e0e2e07ae9cb9e6ffa">More...</a><br /></td></tr>
- <tr class="separator:a0a7ef731162e81e0e2e07ae9cb9e6ffa"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a59e7196e10e53467b62ed369ff78f07d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a59e7196e10e53467b62ed369ff78f07d">tx_data</a> (<a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> out, <a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s=<a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>)</td></tr>
- <tr class="separator:a59e7196e10e53467b62ed369ff78f07d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab3bd112ff66074bdaf7357b91ca692a8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#ab3bd112ff66074bdaf7357b91ca692a8">tx_data</a> (const <a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> *out, <a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> *in, <a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> n, <a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s=<a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>)</td></tr>
- <tr class="separator:ab3bd112ff66074bdaf7357b91ca692a8"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a2585e7166d14b7f36bd47db2e43cc0b1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a2585e7166d14b7f36bd47db2e43cc0b1">rx_data</a> (<a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s=<a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>)</td></tr>
- <tr class="separator:a2585e7166d14b7f36bd47db2e43cc0b1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad20382d5d50ee7d457bc4079b9c38a2a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#ad20382d5d50ee7d457bc4079b9c38a2a">rx_data</a> (<a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> *in, <a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> n, <a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s=<a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>)</td></tr>
- <tr class="separator:ad20382d5d50ee7d457bc4079b9c38a2a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa2d87a149c4e5dcfefc5a8cde6eaefb2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#aa2d87a149c4e5dcfefc5a8cde6eaefb2">match</a> (<a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> &id, <a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s=<a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>)</td></tr>
- <tr class="separator:aa2d87a149c4e5dcfefc5a8cde6eaefb2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac88f67dd75dc23d39123ac584dce6b40"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#ac88f67dd75dc23d39123ac584dce6b40">match_n_ovdr</a> (<a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> &id)</td></tr>
- <tr class="separator:ac88f67dd75dc23d39123ac584dce6b40"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0a405f818fd45eb2799e6b4477021a0a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a0a405f818fd45eb2799e6b4477021a0a">skip</a> (<a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s=<a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>)</td></tr>
- <tr class="separator:a0a405f818fd45eb2799e6b4477021a0a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8b0b0ea95c02a40721f1e159119b3506"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a8b0b0ea95c02a40721f1e159119b3506">skip_n_ovdr</a> ()</td></tr>
- <tr class="separator:a8b0b0ea95c02a40721f1e159119b3506"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4b6d225963095d36eda832a1e0adba55"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a4b6d225963095d36eda832a1e0adba55">first</a> (<a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s=<a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>, bool alarm=false)</td></tr>
- <tr class="memdesc:a4b6d225963095d36eda832a1e0adba55"><td class="mdescLeft"> </td><td class="mdescRight">'first' operation, to search on the 1-Wire for the first device. This is performed by setting dec_, pos_ and cur_ to zero and then doing the search. <a href="#a4b6d225963095d36eda832a1e0adba55">More...</a><br /></td></tr>
- <tr class="separator:a4b6d225963095d36eda832a1e0adba55"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3e302085f12a39fef8a378e1dac42f45"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a3e302085f12a39fef8a378e1dac42f45">next</a> (<a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s=<a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a>, bool alarm=false)</td></tr>
- <tr class="memdesc:a3e302085f12a39fef8a378e1dac42f45"><td class="mdescLeft"> </td><td class="mdescRight">'next' operation, to search on the 1-Wire for the next device. This search is usually performed after a 'first' operation or another 'next' operation. Based on maxim-ic application note 187. <a href="#a3e302085f12a39fef8a378e1dac42f45">More...</a><br /></td></tr>
- <tr class="separator:a3e302085f12a39fef8a378e1dac42f45"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
- Protected Member Functions</h2></td></tr>
- <tr><td colspan="2"><div class="groupHeader">Object lifetime</div></td></tr>
- <tr class="memitem:a4839577d00fdcefb51ac8d4cd91f0f1a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a4839577d00fdcefb51ac8d4cd91f0f1a">_1wire_i</a> ()=default</td></tr>
- <tr class="memdesc:a4839577d00fdcefb51ac8d4cd91f0f1a"><td class="mdescLeft"> </td><td class="mdescRight">Allow constructor from derived only. <a href="#a4839577d00fdcefb51ac8d4cd91f0f1a">More...</a><br /></td></tr>
- <tr class="separator:a4839577d00fdcefb51ac8d4cd91f0f1a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:afb146fda251b25c9fc812718f6c5b3e1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#afb146fda251b25c9fc812718f6c5b3e1">~_1wire_i</a> ()=default</td></tr>
- <tr class="memdesc:afb146fda251b25c9fc812718f6c5b3e1"><td class="mdescLeft"> </td><td class="mdescRight">Allow destructor from derived only. <a href="#afb146fda251b25c9fc812718f6c5b3e1">More...</a><br /></td></tr>
- <tr class="separator:afb146fda251b25c9fc812718f6c5b3e1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:adc539ccd0e41f8f830bd96c362094c14"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#adc539ccd0e41f8f830bd96c362094c14">_1wire_i</a> (const <a class="el" href="classutl_1_1__1wire__i.html">_1wire_i</a> &)=delete</td></tr>
- <tr class="memdesc:adc539ccd0e41f8f830bd96c362094c14"><td class="mdescLeft"> </td><td class="mdescRight">No copies. <a href="#adc539ccd0e41f8f830bd96c362094c14">More...</a><br /></td></tr>
- <tr class="separator:adc539ccd0e41f8f830bd96c362094c14"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a96222b5bd731c2b242e428aabda40642"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1__1wire__i.html">_1wire_i</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a96222b5bd731c2b242e428aabda40642">operator=</a> (const <a class="el" href="classutl_1_1__1wire__i.html">_1wire_i</a> &)=delete</td></tr>
- <tr class="separator:a96222b5bd731c2b242e428aabda40642"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
- Private Member Functions</h2></td></tr>
- <tr class="memitem:ad8858b769d4cd8da78e1cb4669992da2"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#ad8858b769d4cd8da78e1cb4669992da2">_CRTP_IMPL</a> (impl_t)</td></tr>
- <tr class="separator:ad8858b769d4cd8da78e1cb4669992da2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr><td colspan="2"><div class="groupHeader">Implementation requirements</div></td></tr>
- <tr><td colspan="2"><div class="groupText"><dl class="section note"><dt>Note</dt><dd>In order for the implementation to have the following as private members too it need to declare this class as friend </dd></dl>
- </div></td></tr>
- <tr class="memitem:ae770650b54374721e04f96994385c570"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#ae770650b54374721e04f96994385c570">speed</a> () const</td></tr>
- <tr class="memdesc:ae770650b54374721e04f96994385c570"><td class="mdescLeft"> </td><td class="mdescRight">Get the 1-wire bus speed. <a href="#ae770650b54374721e04f96994385c570">More...</a><br /></td></tr>
- <tr class="separator:ae770650b54374721e04f96994385c570"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:adc5c34170794ae99562211faea68a4a6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#adc5c34170794ae99562211faea68a4a6">speed</a> (<a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s)</td></tr>
- <tr class="separator:adc5c34170794ae99562211faea68a4a6"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a197e062037f88871de9205519ec78122"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a197e062037f88871de9205519ec78122">bit</a> (bool b)</td></tr>
- <tr class="memdesc:a197e062037f88871de9205519ec78122"><td class="mdescLeft"> </td><td class="mdescRight">Write a bit to the 1-Wire bus, return response/write status and provide the recovery time. <a href="#a197e062037f88871de9205519ec78122">More...</a><br /></td></tr>
- <tr class="separator:a197e062037f88871de9205519ec78122"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a39d0afaf58820696acad93cf98a6b321"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a39d0afaf58820696acad93cf98a6b321">_reset</a> (<a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> s)</td></tr>
- <tr class="separator:a39d0afaf58820696acad93cf98a6b321"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
- Private Attributes</h2></td></tr>
- <tr class="memitem:acb00f6ded645dffafe56ea5e8502511a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#acb00f6ded645dffafe56ea5e8502511a">dec_</a> {<a class="el" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>()}</td></tr>
- <tr class="separator:acb00f6ded645dffafe56ea5e8502511a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a51ed80ef816ea8a4f5a3cdb4d87b0875"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a51ed80ef816ea8a4f5a3cdb4d87b0875">pos_</a> {<a class="el" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>()}</td></tr>
- <tr class="separator:a51ed80ef816ea8a4f5a3cdb4d87b0875"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af9adb646cdda935d9a5a26656669e785"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#af9adb646cdda935d9a5a26656669e785">cur_</a> {<a class="el" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>()}</td></tr>
- <tr class="separator:af9adb646cdda935d9a5a26656669e785"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
- Friends api to provide functionality to all class specializations</h2></td></tr>
- <tr class="memitem:a915f13cf9dbb891eeac73b527a5b9614"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614">Command</a> { <br />
-   <a class="el" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a07e40db0f36ce4354babe1809f31e20b">CMD_READ_ROM</a> = 0x33,
- <a class="el" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614af450a6ccd821f0c2e769e67b99df4cc7">CMD_OVDR_SKIP</a> = 0x3C,
- <a class="el" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a15131061d5cc629dbd1f2b7c2ff1b79b">CMD_MATCH</a> = 0x55,
- <a class="el" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a8aba49759413e945e43c6114f60a6617">CMD_OVDR_MATCH</a> = 0x69,
- <br />
-   <a class="el" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a440008f9edb49be5eca22c50302dff44">CMD_SKIP</a> = 0xCC,
- <a class="el" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614aab6cb0f1201ca9efeaef8899dab0a637">CMD_ALARM_SEARCH</a> = 0xEC,
- <a class="el" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614a8eb4090d17ac88370c93f3246c146e75">CMD_SEARCH_ROM</a> = 0xF0
- <br />
- }</td></tr>
- <tr class="separator:a915f13cf9dbb891eeac73b527a5b9614"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aedee6f129425833a172784ec3c6e21e9"><td class="memTemplParams" colspan="2">template<typename _T > </td></tr>
- <tr class="memitem:aedee6f129425833a172784ec3c6e21e9"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#aedee6f129425833a172784ec3c6e21e9">_1wire_i_det::_touch</a> (_T &, <a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a>, typename _T::Speed)</td></tr>
- <tr class="separator:aedee6f129425833a172784ec3c6e21e9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6deca63bf5935ba3c3aa07f6ca23e33a"><td class="memTemplParams" colspan="2">template<typename _T > </td></tr>
- <tr class="memitem:a6deca63bf5935ba3c3aa07f6ca23e33a"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a6deca63bf5935ba3c3aa07f6ca23e33a">_1wire_i_det::_match</a> (_T &obj, <a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> &id, typename _T::Speed s)</td></tr>
- <tr class="separator:a6deca63bf5935ba3c3aa07f6ca23e33a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6b70d3457970aa791dd68e20800b6d0d"><td class="memTemplParams" colspan="2">template<typename _T > </td></tr>
- <tr class="memitem:a6b70d3457970aa791dd68e20800b6d0d"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a6b70d3457970aa791dd68e20800b6d0d">_1wire_i_det::_match_n_ovdr</a> (_T &obj, <a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> &id)</td></tr>
- <tr class="separator:a6b70d3457970aa791dd68e20800b6d0d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9041b1220dfa52b4f4b161b718c3d33a"><td class="memTemplParams" colspan="2">template<typename _T > </td></tr>
- <tr class="memitem:a9041b1220dfa52b4f4b161b718c3d33a"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a9041b1220dfa52b4f4b161b718c3d33a">_1wire_i_det::_skip</a> (_T &obj, typename _T::Speed s)</td></tr>
- <tr class="separator:a9041b1220dfa52b4f4b161b718c3d33a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af4dfbd90b0d5606f1f2e515d38a43d66"><td class="memTemplParams" colspan="2">template<typename _T > </td></tr>
- <tr class="memitem:af4dfbd90b0d5606f1f2e515d38a43d66"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#af4dfbd90b0d5606f1f2e515d38a43d66">_1wire_i_det::_skip_n_ovdr</a> (_T &obj)</td></tr>
- <tr class="separator:af4dfbd90b0d5606f1f2e515d38a43d66"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a05f0872f43d7b305269904d1522fa437"><td class="memTemplParams" colspan="2">template<typename _T > </td></tr>
- <tr class="memitem:a05f0872f43d7b305269904d1522fa437"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#a05f0872f43d7b305269904d1522fa437">_1wire_i_det::_first</a> (_T &, typename _T::Speed, bool)</td></tr>
- <tr class="separator:a05f0872f43d7b305269904d1522fa437"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af9a6a28b49cd3f51736f7c1f8e67327a"><td class="memTemplParams" colspan="2">template<typename _T > </td></tr>
- <tr class="memitem:af9a6a28b49cd3f51736f7c1f8e67327a"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classutl_1_1__1wire__i.html#af9a6a28b49cd3f51736f7c1f8e67327a">_1wire_i_det::_next</a> (_T &, typename _T::Speed, bool)</td></tr>
- <tr class="separator:af9a6a28b49cd3f51736f7c1f8e67327a"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <div class="textblock"><h3>template<typename impl_t><br />
- class utl::_1wire_i< impl_t ></h3>
-
- <p>Template base class for 1-wire communication interface using CRTP. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">impl_t</td><td>The CRTP type (the derived/implementation class typename). </td></tr>
- </table>
- </dd>
- </dl>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00057">57</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
- </div><h2 class="groupheader">Member Typedef Documentation</h2>
- <a id="afb63e64403924897a8277eb4159ebd44"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#afb63e64403924897a8277eb4159ebd44">◆ </a></span>type</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="memname">
- <tr>
- <td class="memname">using <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::<a class="el" href="classutl_1_1__1wire__i.html#afb63e64403924897a8277eb4159ebd44">type</a> = <a class="el" href="classutl_1_1__1wire__i.html">_1wire_i</a></td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Export type as identity meta-function. </p>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00061">61</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <h2 class="groupheader">Member Enumeration Documentation</h2>
- <a id="a915f13cf9dbb891eeac73b527a5b9614"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a915f13cf9dbb891eeac73b527a5b9614">◆ </a></span>Command</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="classutl_1_1__1wire__i.html#a915f13cf9dbb891eeac73b527a5b9614">utl::_1wire_i::Command</a></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <table class="fieldtable">
- <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a915f13cf9dbb891eeac73b527a5b9614a07e40db0f36ce4354babe1809f31e20b"></a>CMD_READ_ROM </td><td class="fielddoc"></td></tr>
- <tr><td class="fieldname"><a id="a915f13cf9dbb891eeac73b527a5b9614af450a6ccd821f0c2e769e67b99df4cc7"></a>CMD_OVDR_SKIP </td><td class="fielddoc"></td></tr>
- <tr><td class="fieldname"><a id="a915f13cf9dbb891eeac73b527a5b9614a15131061d5cc629dbd1f2b7c2ff1b79b"></a>CMD_MATCH </td><td class="fielddoc"></td></tr>
- <tr><td class="fieldname"><a id="a915f13cf9dbb891eeac73b527a5b9614a8aba49759413e945e43c6114f60a6617"></a>CMD_OVDR_MATCH </td><td class="fielddoc"></td></tr>
- <tr><td class="fieldname"><a id="a915f13cf9dbb891eeac73b527a5b9614a440008f9edb49be5eca22c50302dff44"></a>CMD_SKIP </td><td class="fielddoc"></td></tr>
- <tr><td class="fieldname"><a id="a915f13cf9dbb891eeac73b527a5b9614aab6cb0f1201ca9efeaef8899dab0a637"></a>CMD_ALARM_SEARCH </td><td class="fielddoc"></td></tr>
- <tr><td class="fieldname"><a id="a915f13cf9dbb891eeac73b527a5b9614a8eb4090d17ac88370c93f3246c146e75"></a>CMD_SEARCH_ROM </td><td class="fielddoc"></td></tr>
- </table>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00097">97</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="a56bb736aa3620d7795b5914cac5f25cc"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a56bb736aa3620d7795b5914cac5f25cc">◆ </a></span>Speed</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">utl::_1wire_i::Speed</a></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">strong</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>1-wire bus speed </p>
- <table class="fieldtable">
- <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7"></a>STD </td><td class="fielddoc"></td></tr>
- <tr><td class="fieldname"><a id="a56bb736aa3620d7795b5914cac5f25cca1cbf38b04c4249d8ec27d1ec96aaff68"></a>OVDR </td><td class="fielddoc"></td></tr>
- </table>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00064">64</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <h2 class="groupheader">Constructor & Destructor Documentation</h2>
- <a id="a4839577d00fdcefb51ac8d4cd91f0f1a"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a4839577d00fdcefb51ac8d4cd91f0f1a">◆ </a></span>_1wire_i() <span class="overload">[1/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::<a class="el" href="classutl_1_1__1wire__i.html">_1wire_i</a> </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">default</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Allow constructor from derived only. </p>
-
- </div>
- </div>
- <a id="afb146fda251b25c9fc812718f6c5b3e1"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#afb146fda251b25c9fc812718f6c5b3e1">◆ </a></span>~_1wire_i()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::~<a class="el" href="classutl_1_1__1wire__i.html">_1wire_i</a> </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">default</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Allow destructor from derived only. </p>
-
- </div>
- </div>
- <a id="adc539ccd0e41f8f830bd96c362094c14"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#adc539ccd0e41f8f830bd96c362094c14">◆ </a></span>_1wire_i() <span class="overload">[2/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::<a class="el" href="classutl_1_1__1wire__i.html">_1wire_i</a> </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classutl_1_1__1wire__i.html">_1wire_i</a>< impl_t > & </td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">delete</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>No copies. </p>
-
- </div>
- </div>
- <h2 class="groupheader">Member Function Documentation</h2>
- <a id="ad8858b769d4cd8da78e1cb4669992da2"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ad8858b769d4cd8da78e1cb4669992da2">◆ </a></span>_CRTP_IMPL()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::_CRTP_IMPL </td>
- <td>(</td>
- <td class="paramtype">impl_t </td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- </div>
- </div>
- <a id="a39d0afaf58820696acad93cf98a6b321"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a39d0afaf58820696acad93cf98a6b321">◆ </a></span>_reset()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">bool <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::_reset </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> </td>
- <td class="paramname"><em>s</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Generate a 1-wire reset and return the operation status </p>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00089">89</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="a197e062037f88871de9205519ec78122"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a197e062037f88871de9205519ec78122">◆ </a></span>bit()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">bool <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::bit </td>
- <td>(</td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>b</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Write a bit to the 1-Wire bus, return response/write status and provide the recovery time. </p>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00088">88</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="a4b6d225963095d36eda832a1e0adba55"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a4b6d225963095d36eda832a1e0adba55">◆ </a></span>first()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::first </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> </td>
- <td class="paramname"><em>s</em> = <code><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a></code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>alarm</em> = <code>false</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>'first' operation, to search on the 1-Wire for the first device. This is performed by setting dec_, pos_ and cur_ to zero and then doing the search. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">s</td><td>The bus speed </td></tr>
- <tr><td class="paramname">alarm</td><td>If set, search for alarm devices </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>ID The romID <ul>
- <li>nullDev Indicate no [more] device[s] </li>
- </ul>
- </dd></dl>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00207">207</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="aa2d87a149c4e5dcfefc5a8cde6eaefb2"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aa2d87a149c4e5dcfefc5a8cde6eaefb2">◆ </a></span>match()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::match </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> & </td>
- <td class="paramname"><em>id</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> </td>
- <td class="paramname"><em>s</em> = <code><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a></code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Send match rom command </p><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">id</td><td>The ID to select on the bus </td></tr>
- <tr><td class="paramname">s</td><td>The speed to use for the command </td></tr>
- </table>
- </dd>
- </dl>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00173">173</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="ac88f67dd75dc23d39123ac584dce6b40"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ac88f67dd75dc23d39123ac584dce6b40">◆ </a></span>match_n_ovdr()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::match_n_ovdr </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> & </td>
- <td class="paramname"><em>id</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Match and overdrive sequence </p><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">obj</td><td>The object from which we call private members </td></tr>
- <tr><td class="paramname">id</td><td>The ID to select on the bus </td></tr>
- </table>
- </dd>
- </dl>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00181">181</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="a3e302085f12a39fef8a378e1dac42f45"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a3e302085f12a39fef8a378e1dac42f45">◆ </a></span>next()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::next </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> </td>
- <td class="paramname"><em>s</em> = <code><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a></code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>alarm</em> = <code>false</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>'next' operation, to search on the 1-Wire for the next device. This search is usually performed after a 'first' operation or another 'next' operation. Based on maxim-ic application note 187. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">s</td><td>The bus speed </td></tr>
- <tr><td class="paramname">alarm</td><td>If set, search for alarm devices </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>ID The romID <ul>
- <li>nullDev Indicate no [more] device[s] </li>
- </ul>
- </dd></dl>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00220">220</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="a96222b5bd731c2b242e428aabda40642"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a96222b5bd731c2b242e428aabda40642">◆ </a></span>operator=()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1__1wire__i.html">_1wire_i</a>& <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::operator= </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="classutl_1_1__1wire__i.html">_1wire_i</a>< impl_t > & </td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">delete</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- </div>
- </div>
- <a id="a0a7ef731162e81e0e2e07ae9cb9e6ffa"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a0a7ef731162e81e0e2e07ae9cb9e6ffa">◆ </a></span>reset()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">bool <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::reset </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> </td>
- <td class="paramname"><em>s</em> = <code><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a></code></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Generate a 1-wire reset. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">s</td><td>Bus speed </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>The status of the operation <ul>
- <li>0 Fail </li>
- <li>1 Success </li>
- </ul>
- </dd></dl>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00128">128</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="a2585e7166d14b7f36bd47db2e43cc0b1"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a2585e7166d14b7f36bd47db2e43cc0b1">◆ </a></span>rx_data() <span class="overload">[1/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::rx_data </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> </td>
- <td class="paramname"><em>s</em> = <code><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a></code></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Receive a byte from 1-Wire bus while transmitting 0xFF </p><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">s</td><td>Bus speed to use </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>The byte received. </dd></dl>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00156">156</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="ad20382d5d50ee7d457bc4079b9c38a2a"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ad20382d5d50ee7d457bc4079b9c38a2a">◆ </a></span>rx_data() <span class="overload">[2/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename _I > </div>
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< _I >::rx_data </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> * </td>
- <td class="paramname"><em>in</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> </td>
- <td class="paramname"><em>n</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> </td>
- <td class="paramname"><em>s</em> = <code><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a></code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Receive a number of bytes from 1-wire bus while transmitting 0xFFs </p><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">in</td><td>Pointer to data to store </td></tr>
- <tr><td class="paramname">n</td><td>Number of bytes </td></tr>
- <tr><td class="paramname">s</td><td>Speed to use </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>The number of transmitted bytes </dd></dl>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00248">248</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="a0a405f818fd45eb2799e6b4477021a0a"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a0a405f818fd45eb2799e6b4477021a0a">◆ </a></span>skip()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::skip </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> </td>
- <td class="paramname"><em>s</em> = <code><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a></code></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Send skip command to the bus </p><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">id</td><td>The ID to select on the bus </td></tr>
- </table>
- </dd>
- </dl>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00188">188</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="a8b0b0ea95c02a40721f1e159119b3506"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a8b0b0ea95c02a40721f1e159119b3506">◆ </a></span>skip_n_ovdr()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::skip_n_ovdr </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Send the Skip and Overdrive sequence </p>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00194">194</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="ae770650b54374721e04f96994385c570"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ae770650b54374721e04f96994385c570">◆ </a></span>speed() <span class="overload">[1/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::speed </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p>Get the 1-wire bus speed. </p>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00085">85</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="adc5c34170794ae99562211faea68a4a6"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#adc5c34170794ae99562211faea68a4a6">◆ </a></span>speed() <span class="overload">[2/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::speed </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> </td>
- <td class="paramname"><em>s</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Set the 1-wire bus speed </p>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00086">86</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="a59e7196e10e53467b62ed369ff78f07d"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a59e7196e10e53467b62ed369ff78f07d">◆ </a></span>tx_data() <span class="overload">[1/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::tx_data </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> </td>
- <td class="paramname"><em>out</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> </td>
- <td class="paramname"><em>s</em> = <code><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a></code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Transmit a byte to 1-Wire bus and read the response </p><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">out</td><td>The byte to write </td></tr>
- <tr><td class="paramname">s</td><td>Bus speed to use </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>The byte received. </dd></dl>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00138">138</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="ab3bd112ff66074bdaf7357b91ca692a8"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ab3bd112ff66074bdaf7357b91ca692a8">◆ </a></span>tx_data() <span class="overload">[2/2]</span></h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename _I > </div>
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< _I >::tx_data </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> * </td>
- <td class="paramname"><em>out</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> * </td>
- <td class="paramname"><em>in</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> </td>
- <td class="paramname"><em>n</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25cc">Speed</a> </td>
- <td class="paramname"><em>s</em> = <code><a class="el" href="classutl_1_1__1wire__i.html#a56bb736aa3620d7795b5914cac5f25ccac6ce23be5d350ce18a665427d2d950f7">Speed::STD</a></code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Transmit a number of bytes to 1-wire bus and read the response </p><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">out</td><td>Pointer to data to transmit </td></tr>
- <tr><td class="paramname">in</td><td>Pointer to data to store </td></tr>
- <tr><td class="paramname">n</td><td>Number of bytes </td></tr>
- <tr><td class="paramname">s</td><td>Speed to use </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>The number of transmitted bytes </dd></dl>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00241">241</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <h2 class="groupheader">Friends And Related Function Documentation</h2>
- <a id="a05f0872f43d7b305269904d1522fa437"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a05f0872f43d7b305269904d1522fa437">◆ </a></span>_1wire_i_det::_first</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <div class="memtemplate">
- template<typename _T > </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="el" href="namespaceutl_1_1__1wire__i__det.html#a237719ffa105f988cb175d6720712a4a">_1wire_i_det::_first</a> </td>
- <td>(</td>
- <td class="paramtype">_T & </td>
- <td class="paramname">, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">typename _T::Speed </td>
- <td class="paramname">, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">friend</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- </div>
- </div>
- <a id="a6deca63bf5935ba3c3aa07f6ca23e33a"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a6deca63bf5935ba3c3aa07f6ca23e33a">◆ </a></span>_1wire_i_det::_match</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <div class="memtemplate">
- template<typename _T > </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void <a class="el" href="namespaceutl_1_1__1wire__i__det.html#a1b07e623a39ce82f1514846169f3a954">_1wire_i_det::_match</a> </td>
- <td>(</td>
- <td class="paramtype">_T & </td>
- <td class="paramname"><em>obj</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> & </td>
- <td class="paramname"><em>id</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">typename _T::Speed </td>
- <td class="paramname"><em>s</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">friend</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- </div>
- </div>
- <a id="a6b70d3457970aa791dd68e20800b6d0d"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a6b70d3457970aa791dd68e20800b6d0d">◆ </a></span>_1wire_i_det::_match_n_ovdr</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <div class="memtemplate">
- template<typename _T > </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void <a class="el" href="namespaceutl_1_1__1wire__i__det.html#a1e14f734d5e232c914be6ea97982aa40">_1wire_i_det::_match_n_ovdr</a> </td>
- <td>(</td>
- <td class="paramtype">_T & </td>
- <td class="paramname"><em>obj</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> & </td>
- <td class="paramname"><em>id</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">friend</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- </div>
- </div>
- <a id="af9a6a28b49cd3f51736f7c1f8e67327a"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#af9a6a28b49cd3f51736f7c1f8e67327a">◆ </a></span>_1wire_i_det::_next</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <div class="memtemplate">
- template<typename _T > </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="el" href="namespaceutl_1_1__1wire__i__det.html#a1f7b692a40769ebe59343613b147e01d">_1wire_i_det::_next</a> </td>
- <td>(</td>
- <td class="paramtype">_T & </td>
- <td class="paramname">, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">typename _T::Speed </td>
- <td class="paramname">, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">friend</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- </div>
- </div>
- <a id="a9041b1220dfa52b4f4b161b718c3d33a"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a9041b1220dfa52b4f4b161b718c3d33a">◆ </a></span>_1wire_i_det::_skip</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <div class="memtemplate">
- template<typename _T > </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void <a class="el" href="namespaceutl_1_1__1wire__i__det.html#a9ea80f4ef2422a7fd71788c42b228053">_1wire_i_det::_skip</a> </td>
- <td>(</td>
- <td class="paramtype">_T & </td>
- <td class="paramname"><em>obj</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">typename _T::Speed </td>
- <td class="paramname"><em>s</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">friend</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- </div>
- </div>
- <a id="af4dfbd90b0d5606f1f2e515d38a43d66"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#af4dfbd90b0d5606f1f2e515d38a43d66">◆ </a></span>_1wire_i_det::_skip_n_ovdr</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <div class="memtemplate">
- template<typename _T > </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void <a class="el" href="namespaceutl_1_1__1wire__i__det.html#ace224a4d329166bfd9f3448e492baf2b">_1wire_i_det::_skip_n_ovdr</a> </td>
- <td>(</td>
- <td class="paramtype">_T & </td>
- <td class="paramname"><em>obj</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">friend</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- </div>
- </div>
- <a id="aedee6f129425833a172784ec3c6e21e9"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#aedee6f129425833a172784ec3c6e21e9">◆ </a></span>_1wire_i_det::_touch</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <div class="memtemplate">
- template<typename _T > </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> <a class="el" href="namespaceutl_1_1__1wire__i__det.html#a85a3a19778edb037f6341f37135a5494">_1wire_i_det::_touch</a> </td>
- <td>(</td>
- <td class="paramtype">_T & </td>
- <td class="paramname">, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="namespaceutl.html#a1427cb5a2b13313147a902173b91e3c1">byte_t</a> </td>
- <td class="paramname">, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">typename _T::Speed </td>
- <td class="paramname"> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">friend</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- </div>
- </div>
- <h2 class="groupheader">Member Data Documentation</h2>
- <a id="af9adb646cdda935d9a5a26656669e785"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#af9adb646cdda935d9a5a26656669e785">◆ </a></span>cur_</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::cur_ {<a class="el" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>()}</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00237">237</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="acb00f6ded645dffafe56ea5e8502511a"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#acb00f6ded645dffafe56ea5e8502511a">◆ </a></span>dec_</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::dec_ {<a class="el" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>()}</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Hold the algorithm's select bit when a discrepancy is detected. We use this variable to navigate to the ROM tree as we store the path we take each time (0-1). Each bit represent a bit position in the ROM ID. </p>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00226">226</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <a id="a51ed80ef816ea8a4f5a3cdb4d87b0875"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a51ed80ef816ea8a4f5a3cdb4d87b0875">◆ </a></span>pos_</h2>
-
- <div class="memitem">
- <div class="memproto">
- <div class="memtemplate">
- template<typename impl_t> </div>
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classutl_1_1__1wire__id__t.html">_1wire_id_t</a> <a class="el" href="classutl_1_1__1wire__i.html">utl::_1wire_i</a>< impl_t >::pos_ {<a class="el" href="classutl_1_1__1wire__id__t.html#adad08aa5ce38e1a87800de57a91db81b">_1wire_id_t::nullDev</a>()}</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">private</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Hold the discrepancy position. We use this variable to navigate to the ROM tree as we store the crossroads(1) we encounter. Each bit represent a bit position in the ROM ID. </p>
-
- <p class="definition">Definition at line <a class="el" href="__1wire_8h_source.html#l00232">232</a> of file <a class="el" href="__1wire_8h_source.html">_1wire.h</a>.</p>
-
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following file:<ul>
- <li>include/utl/com/<a class="el" href="__1wire_8h_source.html">_1wire.h</a></li>
- </ul>
- </div><!-- contents -->
- </div><!-- doc-content -->
- <!-- start footer part -->
- <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
- <ul>
- <li class="navelem"><a class="el" href="namespaceutl.html">utl</a></li><li class="navelem"><a class="el" href="classutl_1_1__1wire__i.html">_1wire_i</a></li>
- <li class="footer">Generated by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
- </ul>
- </div>
- </body>
- </html>
|