1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00

Update docs

This commit is contained in:
Rhys Weatherley
2015-03-12 19:03:15 +10:00
parent 083448f195
commit c6206e4216
493 changed files with 35310 additions and 3018 deletions

View File

@@ -3,6 +3,7 @@
<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.6"/>
<title>ArduinoLibs: IRreceiver.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
@@ -29,7 +30,7 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.2 -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
@@ -116,14 +117,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;WProgram.h&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;<span class="keyword">static</span> <a class="code" href="classIRreceiver.html" title="Manages the reception of RC-5 commands from an infrared remote control.">IRreceiver</a> *receiver = 0;</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;<span class="keyword">static</span> <a class="code" href="classIRreceiver.html">IRreceiver</a> *receiver = 0;</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;<span class="keywordtype">void</span> _IR_receive_interrupt(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;{</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; receiver-&gt;handleInterrupt();</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;}</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;</div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="code" href="classIRreceiver.html#a06eccb8b8311eac395e4b20c4e0163e3"> 176</a></span>&#160;<a class="code" href="classIRreceiver.html#a06eccb8b8311eac395e4b20c4e0163e3" title="Constructs a new infrared remote control receiver that is attached to interruptNumber.">IRreceiver::IRreceiver</a>(<span class="keywordtype">int</span> interruptNumber)</div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="classIRreceiver.html#a06eccb8b8311eac395e4b20c4e0163e3"> 176</a></span>&#160;<a class="code" href="classIRreceiver.html#a06eccb8b8311eac395e4b20c4e0163e3">IRreceiver::IRreceiver</a>(<span class="keywordtype">int</span> interruptNumber)</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; : _system(0)</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; , _systemFilter(-1)</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; , started(false)</div>
@@ -146,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; attachInterrupt(interruptNumber, _IR_receive_interrupt, CHANGE);</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;}</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160;</div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="code" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda"> 220</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda" title="Returns the next command from the remote control.">IRreceiver::command</a>()</div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda"> 220</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda">IRreceiver::command</a>()</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;{</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <span class="keywordtype">unsigned</span> buf;</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160;</div>
@@ -176,7 +177,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160; <span class="comment">// Is this a new command or an auto-repeat of the previous command?</span></div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160; <span class="comment">// Bit 11 will toggle whenever a new button press is started.</span></div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160; <span class="keywordflow">if</span> (lastBuffer == buf)</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; cmd += <a class="code" href="classIRreceiver.html#a9c37631cc1291dc47cabcfef2f631cf9" title="Flag that is added to the output of command() when the command is an auto-repeated button press rathe...">AUTO_REPEAT</a>;</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; cmd += <a class="code" href="classIRreceiver.html#a9c37631cc1291dc47cabcfef2f631cf9">AUTO_REPEAT</a>;</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; lastBuffer = buf;</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; _system = (buf &gt;&gt; 6) &amp; 0x1F;</div>
@@ -253,12 +254,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160; }</div>
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160; }</div>
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160;}</div>
<div class="ttc" id="classIRreceiver_html_a06eccb8b8311eac395e4b20c4e0163e3"><div class="ttname"><a href="classIRreceiver.html#a06eccb8b8311eac395e4b20c4e0163e3">IRreceiver::IRreceiver</a></div><div class="ttdeci">IRreceiver(int interruptNumber=0)</div><div class="ttdoc">Constructs a new infrared remote control receiver that is attached to interruptNumber. </div><div class="ttdef"><b>Definition:</b> <a href="IRreceiver_8cpp_source.html#l00176">IRreceiver.cpp:176</a></div></div>
<div class="ttc" id="classIRreceiver_html"><div class="ttname"><a href="classIRreceiver.html">IRreceiver</a></div><div class="ttdoc">Manages the reception of RC-5 commands from an infrared remote control. </div><div class="ttdef"><b>Definition:</b> <a href="IRreceiver_8h_source.html#l00029">IRreceiver.h:29</a></div></div>
<div class="ttc" id="classIRreceiver_html_a4b021592a2b089dc2f1e138a38506fda"><div class="ttname"><a href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda">IRreceiver::command</a></div><div class="ttdeci">int command()</div><div class="ttdoc">Returns the next command from the remote control. </div><div class="ttdef"><b>Definition:</b> <a href="IRreceiver_8cpp_source.html#l00220">IRreceiver.cpp:220</a></div></div>
<div class="ttc" id="classIRreceiver_html_a9c37631cc1291dc47cabcfef2f631cf9"><div class="ttname"><a href="classIRreceiver.html#a9c37631cc1291dc47cabcfef2f631cf9">IRreceiver::AUTO_REPEAT</a></div><div class="ttdeci">static const int AUTO_REPEAT</div><div class="ttdoc">Flag that is added to the output of command() when the command is an auto-repeated button press rathe...</div><div class="ttdef"><b>Definition:</b> <a href="IRreceiver_8h_source.html#l00034">IRreceiver.h:34</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Sep 29 2013 09:30:46 for ArduinoLibs by &#160;<a href="http://www.doxygen.org/index.html">
Generated on Thu Mar 12 2015 19:02:05 for ArduinoLibs by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.2
</a> 1.8.6
</small></address>
</body>
</html>