\hypertarget{namespaceutl_1_1__1wire__i__det}{}\section{utl\+:\+:\+\_\+1wire\+\_\+i\+\_\+det Namespace Reference} \label{namespaceutl_1_1__1wire__i__det}\index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsection*{Classes} \begin{DoxyCompactItemize} \item struct \mbox{\hyperlink{structutl_1_1__1wire__i__det_1_1is__1wire__}{is\+\_\+1wire\+\_\+}} \begin{DoxyCompactList}\small\item\em Primary template to catch any non 1-\/wire interface types. \end{DoxyCompactList}\item struct \mbox{\hyperlink{structutl_1_1__1wire__i__det_1_1is__1wire___3_01___tp_00_01meta_1_1void__t_3_01void_01_4_01_4}{is\+\_\+1wire\+\_\+$<$ \+\_\+\+Tp, meta\+::void\+\_\+t$<$ void $>$ $>$}} \begin{DoxyCompactList}\small\item\em template to catch a proper 1-\/wire interface type \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Typedefs} \begin{DoxyCompactItemize} \item {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a502fff2c967d26334aa3c2fcf0b037ba}{try\+\_\+reset\+\_\+t}} = decltype(declval$<$ \+\_\+\+Tp $>$().reset(declval$<$ typename \+\_\+\+Tp\+::\+Speed $>$())) \item {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a303cf58468da38ceeaa2477570f82948}{try\+\_\+rx1\+\_\+t}} = decltype(declval$<$ \+\_\+\+Tp $>$().rx\+\_\+data(declval$<$ typename \+\_\+\+Tp\+::\+Speed $>$())) \item {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_ac6a2b551bcf51b426c2e8506ab2473fe}{try\+\_\+tx1\+\_\+t}} = decltype(declval$<$ \+\_\+\+Tp $>$().tx\+\_\+data(declval$<$ \mbox{\hyperlink{namespaceutl_a1427cb5a2b13313147a902173b91e3c1}{byte\+\_\+t}} $>$(), declval$<$ typename \+\_\+\+Tp\+::\+Speed $>$())) \item {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a3416ddb06e089a5c191d356dd358ff00}{try\+\_\+match\+\_\+t}} = decltype(declval$<$ \+\_\+\+Tp $>$().match(declval$<$ \mbox{\hyperlink{classutl_1_1__1wire__id__t}{\+\_\+1wire\+\_\+id\+\_\+t}} \& $>$(), declval$<$ typename \+\_\+\+Tp\+::\+Speed $>$())) \item {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_aa85f59a97c388dc259589cb517824233}{try\+\_\+match\+\_\+n\+\_\+ovdr\+\_\+t}} = decltype(declval$<$ \+\_\+\+Tp $>$().match\+\_\+n\+\_\+ovdr(declval$<$ \mbox{\hyperlink{classutl_1_1__1wire__id__t}{\+\_\+1wire\+\_\+id\+\_\+t}} \& $>$())) \item {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a9d0825a40484e7868bf41fc4825b4f7d}{try\+\_\+skip\+\_\+t}} = decltype(declval$<$ \+\_\+\+Tp $>$().skip(declval$<$ typename \+\_\+\+Tp\+::\+Speed $>$())) \item {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_af6c9df3cb6bf2479e8d30a5d36ab71cb}{try\+\_\+skip\+\_\+n\+\_\+ovdr\+\_\+t}} = decltype(declval$<$ \+\_\+\+Tp $>$().skip\+\_\+n\+\_\+ovdr()) \item {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a3dc7b4df37cebf753556ba527306cf9f}{try\+\_\+first\+\_\+t}} = decltype(declval$<$ \+\_\+\+Tp $>$().first(declval$<$ typename \+\_\+\+Tp\+::\+Speed $>$())) \item {\footnotesize template$<$class \+\_\+\+Tp $>$ }\\using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a67a086b8e4e3ee051ccb0351e6456630}{try\+\_\+next\+\_\+t}} = decltype(declval$<$ \+\_\+\+Tp $>$().next(declval$<$ typename \+\_\+\+Tp\+::\+Speed $>$())) \end{DoxyCompactItemize} \subsection*{Functions} \begin{DoxyCompactItemize} \item {\footnotesize template$<$typename \+\_\+T $>$ }\\\mbox{\hyperlink{namespaceutl_a1427cb5a2b13313147a902173b91e3c1}{byte\+\_\+t}} \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a85a3a19778edb037f6341f37135a5494}{\+\_\+touch}} (\+\_\+T \&obj, \mbox{\hyperlink{namespaceutl_a1427cb5a2b13313147a902173b91e3c1}{byte\+\_\+t}} out, typename \+\_\+\+T\+::\+Speed s) \begin{DoxyCompactList}\small\item\em Write a byte to 1-\/\+Wire bus and read the response. \end{DoxyCompactList}\item {\footnotesize template$<$typename \+\_\+T $>$ }\\void \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a1b07e623a39ce82f1514846169f3a954}{\+\_\+match}} (\+\_\+T \&obj, \mbox{\hyperlink{classutl_1_1__1wire__id__t}{\+\_\+1wire\+\_\+id\+\_\+t}} \&id, typename \+\_\+\+T\+::\+Speed s) \item {\footnotesize template$<$typename \+\_\+T $>$ }\\void \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a1e14f734d5e232c914be6ea97982aa40}{\+\_\+match\+\_\+n\+\_\+ovdr}} (\+\_\+T \&obj, \mbox{\hyperlink{classutl_1_1__1wire__id__t}{\+\_\+1wire\+\_\+id\+\_\+t}} \&id) \item {\footnotesize template$<$typename \+\_\+T $>$ }\\void \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a9ea80f4ef2422a7fd71788c42b228053}{\+\_\+skip}} (\+\_\+T \&obj, typename \+\_\+\+T\+::\+Speed s) \item {\footnotesize template$<$typename \+\_\+T $>$ }\\void \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_ace224a4d329166bfd9f3448e492baf2b}{\+\_\+skip\+\_\+n\+\_\+ovdr}} (\+\_\+T \&obj) \item {\footnotesize template$<$typename \+\_\+T $>$ }\\\mbox{\hyperlink{classutl_1_1__1wire__id__t}{\+\_\+1wire\+\_\+id\+\_\+t}} \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a237719ffa105f988cb175d6720712a4a}{\+\_\+first}} (\+\_\+T \&obj, typename \+\_\+\+T\+::\+Speed s, bool alarm) \begin{DoxyCompactList}\small\item\em \textquotesingle{}first\textquotesingle{} 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. \end{DoxyCompactList}\item {\footnotesize template$<$typename \+\_\+T $>$ }\\\mbox{\hyperlink{classutl_1_1__1wire__id__t}{\+\_\+1wire\+\_\+id\+\_\+t}} \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a1f7b692a40769ebe59343613b147e01d}{\+\_\+next}} (\+\_\+T \&obj, typename \+\_\+\+T\+::\+Speed s, bool alarm) \begin{DoxyCompactList}\small\item\em \textquotesingle{}next\textquotesingle{} operation, to search on the 1-\/\+Wire for the next device. This search is usually performed after a \textquotesingle{}first\textquotesingle{} operation or another \textquotesingle{}next\textquotesingle{} operation. Based on maxim-\/ic application note 187. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Typedef Documentation} \mbox{\Hypertarget{namespaceutl_1_1__1wire__i__det_a3dc7b4df37cebf753556ba527306cf9f}\label{namespaceutl_1_1__1wire__i__det_a3dc7b4df37cebf753556ba527306cf9f}} \index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}!try\+\_\+first\+\_\+t@{try\+\_\+first\+\_\+t}} \index{try\+\_\+first\+\_\+t@{try\+\_\+first\+\_\+t}!utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsubsection{\texorpdfstring{try\+\_\+first\+\_\+t}{try\_first\_t}} {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\ using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a3dc7b4df37cebf753556ba527306cf9f}{utl\+::\+\_\+1wire\+\_\+i\+\_\+det\+::try\+\_\+first\+\_\+t}} = typedef decltype (declval$<$\+\_\+\+Tp$>$().first (declval$<$typename \+\_\+\+Tp\+::\+Speed$>$()))} Definition at line 679 of file \+\_\+1wire.\+h. \mbox{\Hypertarget{namespaceutl_1_1__1wire__i__det_aa85f59a97c388dc259589cb517824233}\label{namespaceutl_1_1__1wire__i__det_aa85f59a97c388dc259589cb517824233}} \index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}!try\+\_\+match\+\_\+n\+\_\+ovdr\+\_\+t@{try\+\_\+match\+\_\+n\+\_\+ovdr\+\_\+t}} \index{try\+\_\+match\+\_\+n\+\_\+ovdr\+\_\+t@{try\+\_\+match\+\_\+n\+\_\+ovdr\+\_\+t}!utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsubsection{\texorpdfstring{try\+\_\+match\+\_\+n\+\_\+ovdr\+\_\+t}{try\_match\_n\_ovdr\_t}} {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\ using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_aa85f59a97c388dc259589cb517824233}{utl\+::\+\_\+1wire\+\_\+i\+\_\+det\+::try\+\_\+match\+\_\+n\+\_\+ovdr\+\_\+t}} = typedef decltype (declval$<$\+\_\+\+Tp$>$().match\+\_\+n\+\_\+ovdr (declval$<$\mbox{\hyperlink{classutl_1_1__1wire__id__t}{\+\_\+1wire\+\_\+id\+\_\+t}}\&$>$()))} Definition at line 676 of file \+\_\+1wire.\+h. \mbox{\Hypertarget{namespaceutl_1_1__1wire__i__det_a3416ddb06e089a5c191d356dd358ff00}\label{namespaceutl_1_1__1wire__i__det_a3416ddb06e089a5c191d356dd358ff00}} \index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}!try\+\_\+match\+\_\+t@{try\+\_\+match\+\_\+t}} \index{try\+\_\+match\+\_\+t@{try\+\_\+match\+\_\+t}!utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsubsection{\texorpdfstring{try\+\_\+match\+\_\+t}{try\_match\_t}} {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\ using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a3416ddb06e089a5c191d356dd358ff00}{utl\+::\+\_\+1wire\+\_\+i\+\_\+det\+::try\+\_\+match\+\_\+t}} = typedef decltype (declval$<$\+\_\+\+Tp$>$().match (declval$<$\mbox{\hyperlink{classutl_1_1__1wire__id__t}{\+\_\+1wire\+\_\+id\+\_\+t}}\&$>$(), declval$<$typename \+\_\+\+Tp\+::\+Speed$>$()))} Definition at line 675 of file \+\_\+1wire.\+h. \mbox{\Hypertarget{namespaceutl_1_1__1wire__i__det_a67a086b8e4e3ee051ccb0351e6456630}\label{namespaceutl_1_1__1wire__i__det_a67a086b8e4e3ee051ccb0351e6456630}} \index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}!try\+\_\+next\+\_\+t@{try\+\_\+next\+\_\+t}} \index{try\+\_\+next\+\_\+t@{try\+\_\+next\+\_\+t}!utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsubsection{\texorpdfstring{try\+\_\+next\+\_\+t}{try\_next\_t}} {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\ using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a67a086b8e4e3ee051ccb0351e6456630}{utl\+::\+\_\+1wire\+\_\+i\+\_\+det\+::try\+\_\+next\+\_\+t}} = typedef decltype (declval$<$\+\_\+\+Tp$>$().next (declval$<$typename \+\_\+\+Tp\+::\+Speed$>$()))} Definition at line 680 of file \+\_\+1wire.\+h. \mbox{\Hypertarget{namespaceutl_1_1__1wire__i__det_a502fff2c967d26334aa3c2fcf0b037ba}\label{namespaceutl_1_1__1wire__i__det_a502fff2c967d26334aa3c2fcf0b037ba}} \index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}!try\+\_\+reset\+\_\+t@{try\+\_\+reset\+\_\+t}} \index{try\+\_\+reset\+\_\+t@{try\+\_\+reset\+\_\+t}!utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsubsection{\texorpdfstring{try\+\_\+reset\+\_\+t}{try\_reset\_t}} {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\ using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a502fff2c967d26334aa3c2fcf0b037ba}{utl\+::\+\_\+1wire\+\_\+i\+\_\+det\+::try\+\_\+reset\+\_\+t}} = typedef decltype (declval$<$\+\_\+\+Tp$>$().reset (declval$<$typename \+\_\+\+Tp\+::\+Speed$>$()))} Definition at line 671 of file \+\_\+1wire.\+h. \mbox{\Hypertarget{namespaceutl_1_1__1wire__i__det_a303cf58468da38ceeaa2477570f82948}\label{namespaceutl_1_1__1wire__i__det_a303cf58468da38ceeaa2477570f82948}} \index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}!try\+\_\+rx1\+\_\+t@{try\+\_\+rx1\+\_\+t}} \index{try\+\_\+rx1\+\_\+t@{try\+\_\+rx1\+\_\+t}!utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsubsection{\texorpdfstring{try\+\_\+rx1\+\_\+t}{try\_rx1\_t}} {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\ using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a303cf58468da38ceeaa2477570f82948}{utl\+::\+\_\+1wire\+\_\+i\+\_\+det\+::try\+\_\+rx1\+\_\+t}} = typedef decltype (declval$<$\+\_\+\+Tp$>$().rx\+\_\+data (declval$<$typename \+\_\+\+Tp\+::\+Speed$>$()))} Definition at line 672 of file \+\_\+1wire.\+h. \mbox{\Hypertarget{namespaceutl_1_1__1wire__i__det_af6c9df3cb6bf2479e8d30a5d36ab71cb}\label{namespaceutl_1_1__1wire__i__det_af6c9df3cb6bf2479e8d30a5d36ab71cb}} \index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}!try\+\_\+skip\+\_\+n\+\_\+ovdr\+\_\+t@{try\+\_\+skip\+\_\+n\+\_\+ovdr\+\_\+t}} \index{try\+\_\+skip\+\_\+n\+\_\+ovdr\+\_\+t@{try\+\_\+skip\+\_\+n\+\_\+ovdr\+\_\+t}!utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsubsection{\texorpdfstring{try\+\_\+skip\+\_\+n\+\_\+ovdr\+\_\+t}{try\_skip\_n\_ovdr\_t}} {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\ using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_af6c9df3cb6bf2479e8d30a5d36ab71cb}{utl\+::\+\_\+1wire\+\_\+i\+\_\+det\+::try\+\_\+skip\+\_\+n\+\_\+ovdr\+\_\+t}} = typedef decltype (declval$<$\+\_\+\+Tp$>$().skip\+\_\+n\+\_\+ovdr ())} Definition at line 678 of file \+\_\+1wire.\+h. \mbox{\Hypertarget{namespaceutl_1_1__1wire__i__det_a9d0825a40484e7868bf41fc4825b4f7d}\label{namespaceutl_1_1__1wire__i__det_a9d0825a40484e7868bf41fc4825b4f7d}} \index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}!try\+\_\+skip\+\_\+t@{try\+\_\+skip\+\_\+t}} \index{try\+\_\+skip\+\_\+t@{try\+\_\+skip\+\_\+t}!utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsubsection{\texorpdfstring{try\+\_\+skip\+\_\+t}{try\_skip\_t}} {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\ using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_a9d0825a40484e7868bf41fc4825b4f7d}{utl\+::\+\_\+1wire\+\_\+i\+\_\+det\+::try\+\_\+skip\+\_\+t}} = typedef decltype (declval$<$\+\_\+\+Tp$>$().skip (declval$<$typename \+\_\+\+Tp\+::\+Speed$>$()))} Definition at line 677 of file \+\_\+1wire.\+h. \mbox{\Hypertarget{namespaceutl_1_1__1wire__i__det_ac6a2b551bcf51b426c2e8506ab2473fe}\label{namespaceutl_1_1__1wire__i__det_ac6a2b551bcf51b426c2e8506ab2473fe}} \index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}!try\+\_\+tx1\+\_\+t@{try\+\_\+tx1\+\_\+t}} \index{try\+\_\+tx1\+\_\+t@{try\+\_\+tx1\+\_\+t}!utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsubsection{\texorpdfstring{try\+\_\+tx1\+\_\+t}{try\_tx1\_t}} {\footnotesize\ttfamily template$<$class \+\_\+\+Tp $>$ \\ using \mbox{\hyperlink{namespaceutl_1_1__1wire__i__det_ac6a2b551bcf51b426c2e8506ab2473fe}{utl\+::\+\_\+1wire\+\_\+i\+\_\+det\+::try\+\_\+tx1\+\_\+t}} = typedef decltype (declval$<$\+\_\+\+Tp$>$().tx\+\_\+data (declval$<$\mbox{\hyperlink{namespaceutl_a1427cb5a2b13313147a902173b91e3c1}{byte\+\_\+t}}$>$(), declval$<$typename \+\_\+\+Tp\+::\+Speed$>$()))} Definition at line 673 of file \+\_\+1wire.\+h. \subsection{Function Documentation} \mbox{\Hypertarget{namespaceutl_1_1__1wire__i__det_a237719ffa105f988cb175d6720712a4a}\label{namespaceutl_1_1__1wire__i__det_a237719ffa105f988cb175d6720712a4a}} \index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}!\+\_\+first@{\+\_\+first}} \index{\+\_\+first@{\+\_\+first}!utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsubsection{\texorpdfstring{\+\_\+first()}{\_first()}} {\footnotesize\ttfamily template$<$typename \+\_\+T $>$ \\ \mbox{\hyperlink{classutl_1_1__1wire__id__t}{\+\_\+1wire\+\_\+id\+\_\+t}} utl\+::\+\_\+1wire\+\_\+i\+\_\+det\+::\+\_\+first (\begin{DoxyParamCaption}\item[{\+\_\+T \&}]{obj, }\item[{typename \+\_\+\+T\+::\+Speed}]{s, }\item[{bool}]{alarm }\end{DoxyParamCaption})} \textquotesingle{}first\textquotesingle{} 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. \begin{DoxyParams}{Parameters} {\em obj} & The object from which we call private members \\ \hline {\em s} & The bus speed \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} ID The rom\+ID \begin{DoxyItemize} \item null\+Dev Indicate no \mbox{[}more\mbox{]} device\mbox{[}s\mbox{]} \end{DoxyItemize} \end{DoxyReturn} Definition at line 540 of file \+\_\+1wire.\+h. \mbox{\Hypertarget{namespaceutl_1_1__1wire__i__det_a1b07e623a39ce82f1514846169f3a954}\label{namespaceutl_1_1__1wire__i__det_a1b07e623a39ce82f1514846169f3a954}} \index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}!\+\_\+match@{\+\_\+match}} \index{\+\_\+match@{\+\_\+match}!utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsubsection{\texorpdfstring{\+\_\+match()}{\_match()}} {\footnotesize\ttfamily template$<$typename \+\_\+T $>$ \\ void utl\+::\+\_\+1wire\+\_\+i\+\_\+det\+::\+\_\+match (\begin{DoxyParamCaption}\item[{\+\_\+T \&}]{obj, }\item[{\mbox{\hyperlink{classutl_1_1__1wire__id__t}{\+\_\+1wire\+\_\+id\+\_\+t}} \&}]{id, }\item[{typename \+\_\+\+T\+::\+Speed}]{s }\end{DoxyParamCaption})} Send match rom command \begin{DoxyParams}{Parameters} {\em obj} & The object from which we call private members \\ \hline {\em id} & The ID to select on the bus \\ \hline {\em s} & The speed to use for the command \\ \hline \end{DoxyParams} Definition at line 493 of file \+\_\+1wire.\+h. \mbox{\Hypertarget{namespaceutl_1_1__1wire__i__det_a1e14f734d5e232c914be6ea97982aa40}\label{namespaceutl_1_1__1wire__i__det_a1e14f734d5e232c914be6ea97982aa40}} \index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}!\+\_\+match\+\_\+n\+\_\+ovdr@{\+\_\+match\+\_\+n\+\_\+ovdr}} \index{\+\_\+match\+\_\+n\+\_\+ovdr@{\+\_\+match\+\_\+n\+\_\+ovdr}!utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsubsection{\texorpdfstring{\+\_\+match\+\_\+n\+\_\+ovdr()}{\_match\_n\_ovdr()}} {\footnotesize\ttfamily template$<$typename \+\_\+T $>$ \\ void utl\+::\+\_\+1wire\+\_\+i\+\_\+det\+::\+\_\+match\+\_\+n\+\_\+ovdr (\begin{DoxyParamCaption}\item[{\+\_\+T \&}]{obj, }\item[{\mbox{\hyperlink{classutl_1_1__1wire__id__t}{\+\_\+1wire\+\_\+id\+\_\+t}} \&}]{id }\end{DoxyParamCaption})} Match and overdrive sequence \begin{DoxyParams}{Parameters} {\em obj} & The object from which we call private members \\ \hline {\em id} & The ID to select on the bus \\ \hline \end{DoxyParams} Definition at line 505 of file \+\_\+1wire.\+h. \mbox{\Hypertarget{namespaceutl_1_1__1wire__i__det_a1f7b692a40769ebe59343613b147e01d}\label{namespaceutl_1_1__1wire__i__det_a1f7b692a40769ebe59343613b147e01d}} \index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}!\+\_\+next@{\+\_\+next}} \index{\+\_\+next@{\+\_\+next}!utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsubsection{\texorpdfstring{\+\_\+next()}{\_next()}} {\footnotesize\ttfamily template$<$typename \+\_\+T $>$ \\ \mbox{\hyperlink{classutl_1_1__1wire__id__t}{\+\_\+1wire\+\_\+id\+\_\+t}} utl\+::\+\_\+1wire\+\_\+i\+\_\+det\+::\+\_\+next (\begin{DoxyParamCaption}\item[{\+\_\+T \&}]{obj, }\item[{typename \+\_\+\+T\+::\+Speed}]{s, }\item[{bool}]{alarm }\end{DoxyParamCaption})} \textquotesingle{}next\textquotesingle{} operation, to search on the 1-\/\+Wire for the next device. This search is usually performed after a \textquotesingle{}first\textquotesingle{} operation or another \textquotesingle{}next\textquotesingle{} operation. Based on maxim-\/ic application note 187. \begin{DoxyParams}{Parameters} {\em obj} & The object from which we call private members \\ \hline {\em s} & The bus speed \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} The rom\+ID \begin{DoxyItemize} \item null\+Dev Indicate no \mbox{[}more\mbox{]} device\mbox{[}s\mbox{]} \end{DoxyItemize} \end{DoxyReturn} Definition at line 556 of file \+\_\+1wire.\+h. \mbox{\Hypertarget{namespaceutl_1_1__1wire__i__det_a9ea80f4ef2422a7fd71788c42b228053}\label{namespaceutl_1_1__1wire__i__det_a9ea80f4ef2422a7fd71788c42b228053}} \index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}!\+\_\+skip@{\+\_\+skip}} \index{\+\_\+skip@{\+\_\+skip}!utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsubsection{\texorpdfstring{\+\_\+skip()}{\_skip()}} {\footnotesize\ttfamily template$<$typename \+\_\+T $>$ \\ void utl\+::\+\_\+1wire\+\_\+i\+\_\+det\+::\+\_\+skip (\begin{DoxyParamCaption}\item[{\+\_\+T \&}]{obj, }\item[{typename \+\_\+\+T\+::\+Speed}]{s }\end{DoxyParamCaption})} Send skip command to the bus \begin{DoxyParams}{Parameters} {\em obj} & The object from which we call private members \\ \hline {\em id} & The ID to select on the bus \\ \hline \end{DoxyParams} Definition at line 517 of file \+\_\+1wire.\+h. \mbox{\Hypertarget{namespaceutl_1_1__1wire__i__det_ace224a4d329166bfd9f3448e492baf2b}\label{namespaceutl_1_1__1wire__i__det_ace224a4d329166bfd9f3448e492baf2b}} \index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}!\+\_\+skip\+\_\+n\+\_\+ovdr@{\+\_\+skip\+\_\+n\+\_\+ovdr}} \index{\+\_\+skip\+\_\+n\+\_\+ovdr@{\+\_\+skip\+\_\+n\+\_\+ovdr}!utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsubsection{\texorpdfstring{\+\_\+skip\+\_\+n\+\_\+ovdr()}{\_skip\_n\_ovdr()}} {\footnotesize\ttfamily template$<$typename \+\_\+T $>$ \\ void utl\+::\+\_\+1wire\+\_\+i\+\_\+det\+::\+\_\+skip\+\_\+n\+\_\+ovdr (\begin{DoxyParamCaption}\item[{\+\_\+T \&}]{obj }\end{DoxyParamCaption})} Send the Skip and Overdrive sequence \begin{DoxyParams}{Parameters} {\em obj} & The object from which we call private members \\ \hline \end{DoxyParams} Definition at line 526 of file \+\_\+1wire.\+h. \mbox{\Hypertarget{namespaceutl_1_1__1wire__i__det_a85a3a19778edb037f6341f37135a5494}\label{namespaceutl_1_1__1wire__i__det_a85a3a19778edb037f6341f37135a5494}} \index{utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}!\+\_\+touch@{\+\_\+touch}} \index{\+\_\+touch@{\+\_\+touch}!utl\+::\+\_\+1wire\+\_\+i\+\_\+det@{utl\+::\+\_\+1wire\+\_\+i\+\_\+det}} \subsubsection{\texorpdfstring{\+\_\+touch()}{\_touch()}} {\footnotesize\ttfamily template$<$typename \+\_\+T $>$ \\ \mbox{\hyperlink{namespaceutl_a1427cb5a2b13313147a902173b91e3c1}{byte\+\_\+t}} utl\+::\+\_\+1wire\+\_\+i\+\_\+det\+::\+\_\+touch (\begin{DoxyParamCaption}\item[{\+\_\+T \&}]{obj, }\item[{\mbox{\hyperlink{namespaceutl_a1427cb5a2b13313147a902173b91e3c1}{byte\+\_\+t}}}]{out, }\item[{typename \+\_\+\+T\+::\+Speed}]{s }\end{DoxyParamCaption})} Write a byte to 1-\/\+Wire bus and read the response. \begin{DoxyParams}{Parameters} {\em obj} & The object from which we call private members \\ \hline {\em b} & The byte to write \\ \hline {\em s} & Bus speed to use \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} The byte received. \end{DoxyReturn} Definition at line 467 of file \+\_\+1wire.\+h.