1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>w1_reset_resume_command</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="W1: Dallas' 1-wire bus"><link rel="up" href="w1_internal.html#w1_io.c" title="drivers/w1/w1_io.c"><link rel="prev" href="API-w1-reset-select-slave.html" title="w1_reset_select_slave"><link rel="next" href="API-w1-next-pullup.html" title="w1_next_pullup"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">w1_reset_resume_command</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-w1-reset-select-slave.html">Prev</a>&#160;</td><th width="60%" align="center">drivers/w1/w1_io.c</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-w1-next-pullup.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-w1-reset-resume-command"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>w1_reset_resume_command &#8212; 
2     resume instead of another match ROM
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">int <b class="fsfunc">w1_reset_resume_command </b>(</code></td><td>struct w1_master * <var class="pdparam">dev</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer">&#160;</div></div></div><div class="refsect1"><a name="idp1113508972"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>dev</code></em></span></dt><dd><p>
4     the master device
5    </p></dd></dl></div></div><div class="refsect1"><a name="idp1113510540"></a><h2>Description</h2><p>
6   When the workflow with a slave amongst many requires several
7   successive commands a reset between each, this function is similar
8   to doing a reset then a match ROM for the last matched ROM. The
9   advantage being that the matched ROM step is skipped in favor of the
10   resume command. The slave must support the command of course.
11   </p><p>
12
13   If the bus has only one slave, traditionnaly the match ROM is skipped
14   and a <span class="quote">&#8220;<span class="quote">SKIP ROM</span>&#8221;</span> is done for efficiency. On multi-slave busses, this
15   doesn't work of course, but the resume command is the next best thing.
16   </p><p>
17
18   The w1 master lock must be held.
19</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-w1-reset-select-slave.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="w1_internal.html#w1_io.c">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-w1-next-pullup.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">w1_reset_select_slave</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">w1_next_pullup</span></td></tr></table></div></body></html>
20