mirror of
https://github.com/taigrr/arduinolibs
synced 2025-01-18 04:33:12 -08:00
Update docs
This commit is contained in:
@@ -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> <span class="preprocessor"></span><span class="preprocessor">#include <WProgram.h></span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor"></span></div>
|
||||
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <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> <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> </div>
|
||||
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <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> {</div>
|
||||
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  receiver->handleInterrupt();</div>
|
||||
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> }</div>
|
||||
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span> </div>
|
||||
<div class="line"><a name="l00176"></a><span class="lineno"><a class="code" href="classIRreceiver.html#a06eccb8b8311eac395e4b20c4e0163e3"> 176</a></span> <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> <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>  : _system(0)</div>
|
||||
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  , _systemFilter(-1)</div>
|
||||
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  , 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>  attachInterrupt(interruptNumber, _IR_receive_interrupt, CHANGE);</div>
|
||||
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> }</div>
|
||||
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span> </div>
|
||||
<div class="line"><a name="l00220"></a><span class="lineno"><a class="code" href="classIRreceiver.html#a4b021592a2b089dc2f1e138a38506fda"> 220</a></span> <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> <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> {</div>
|
||||
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordtype">unsigned</span> buf;</div>
|
||||
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </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>  <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>  <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>  <span class="keywordflow">if</span> (lastBuffer == buf)</div>
|
||||
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  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>  cmd += <a class="code" href="classIRreceiver.html#a9c37631cc1291dc47cabcfef2f631cf9">AUTO_REPEAT</a>;</div>
|
||||
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <span class="keywordflow">else</span></div>
|
||||
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  lastBuffer = buf;</div>
|
||||
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  _system = (buf >> 6) & 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>  }</div>
|
||||
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  }</div>
|
||||
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span> }</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  <a href="http://www.doxygen.org/index.html">
|
||||
Generated on Thu Mar 12 2015 19:02:05 for ArduinoLibs by  <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>
|
||||
|
||||
Reference in New Issue
Block a user