stripe_8h.html 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.10"/>
  7. <title>CoffeePi: stripe.h File Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td id="projectalign" style="padding-left: 0.5em;">
  26. <div id="projectname">CoffeePi
  27. </div>
  28. <div id="projectbrief">Coffee machine control for Raspberry Pi</div>
  29. </td>
  30. </tr>
  31. </tbody>
  32. </table>
  33. </div>
  34. <!-- end header part -->
  35. <!-- Generated by Doxygen 1.8.10 -->
  36. <script type="text/javascript">
  37. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  38. </script>
  39. <div id="navrow1" class="tabs">
  40. <ul class="tablist">
  41. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  42. <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
  43. <li class="current"><a href="files.html"><span>Files</span></a></li>
  44. <li>
  45. <div id="MSearchBox" class="MSearchBoxInactive">
  46. <span class="left">
  47. <img id="MSearchSelect" src="search/mag_sel.png"
  48. onmouseover="return searchBox.OnSearchSelectShow()"
  49. onmouseout="return searchBox.OnSearchSelectHide()"
  50. alt=""/>
  51. <input type="text" id="MSearchField" value="Search" accesskey="S"
  52. onfocus="searchBox.OnSearchFieldFocus(true)"
  53. onblur="searchBox.OnSearchFieldFocus(false)"
  54. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  55. </span><span class="right">
  56. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  57. </span>
  58. </div>
  59. </li>
  60. </ul>
  61. </div>
  62. <div id="navrow2" class="tabs2">
  63. <ul class="tablist">
  64. <li><a href="files.html"><span>File&#160;List</span></a></li>
  65. <li><a href="globals.html"><span>Globals</span></a></li>
  66. </ul>
  67. </div>
  68. <!-- window showing the filter options -->
  69. <div id="MSearchSelectWindow"
  70. onmouseover="return searchBox.OnSearchSelectShow()"
  71. onmouseout="return searchBox.OnSearchSelectHide()"
  72. onkeydown="return searchBox.OnSearchSelectKey(event)">
  73. </div>
  74. <!-- iframe showing the search results (closed by default) -->
  75. <div id="MSearchResultsWindow">
  76. <iframe src="javascript:void(0)" frameborder="0"
  77. name="MSearchResults" id="MSearchResults">
  78. </iframe>
  79. </div>
  80. </div><!-- top -->
  81. <div class="header">
  82. <div class="summary">
  83. <a href="#nested-classes">Data Structures</a> &#124;
  84. <a href="#define-members">Macros</a> &#124;
  85. <a href="#enum-members">Enumerations</a> &#124;
  86. <a href="#func-members">Functions</a> </div>
  87. <div class="headertitle">
  88. <div class="title">stripe.h File Reference</div> </div>
  89. </div><!--header-->
  90. <div class="contents">
  91. <p><a href="stripe_8h_source.html">Go to the source code of this file.</a></p>
  92. <table class="memberdecls">
  93. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  94. Data Structures</h2></td></tr>
  95. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structstripe__color.html">stripe_color</a></td></tr>
  96. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. </table><table class="memberdecls">
  98. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
  99. Macros</h2></td></tr>
  100. <tr class="memitem:a52f9fc93ce25c487d4f72b9f2f400545"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a52f9fc93ce25c487d4f72b9f2f400545">I2C_ADDRESS_STRIPE</a>&#160;&#160;&#160;0x69</td></tr>
  101. <tr class="separator:a52f9fc93ce25c487d4f72b9f2f400545"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:ad06bb775e1f72bc21a5f17a19eb62e80"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#ad06bb775e1f72bc21a5f17a19eb62e80">STRIPE_CMD_SETR</a>&#160;&#160;&#160;0x01</td></tr>
  103. <tr class="separator:ad06bb775e1f72bc21a5f17a19eb62e80"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:ac62893e9f8f3793a3f6de3338a9a93ff"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#ac62893e9f8f3793a3f6de3338a9a93ff">STRIPE_CMD_SETG</a>&#160;&#160;&#160;0x02</td></tr>
  105. <tr class="separator:ac62893e9f8f3793a3f6de3338a9a93ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:a25c93d4301c3ad1064adfb9eff952211"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a25c93d4301c3ad1064adfb9eff952211">STRIPE_CMD_SETB</a>&#160;&#160;&#160;0x03</td></tr>
  107. <tr class="separator:a25c93d4301c3ad1064adfb9eff952211"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:a3c5fd782e0479daf6bb272d5197c8877"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a3c5fd782e0479daf6bb272d5197c8877">STRIPE_CMD_SETW</a>&#160;&#160;&#160;0x04</td></tr>
  109. <tr class="separator:a3c5fd782e0479daf6bb272d5197c8877"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:aedb99f1c6b67c005f5a2cd6dea06c6b7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#aedb99f1c6b67c005f5a2cd6dea06c6b7">STRIPE_CMD_SETDIM</a>&#160;&#160;&#160;0x05</td></tr>
  111. <tr class="separator:aedb99f1c6b67c005f5a2cd6dea06c6b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:ab495a56c339e141ecbecfd9872f81fbb"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#ab495a56c339e141ecbecfd9872f81fbb">STRIPE_CMD_SET</a>&#160;&#160;&#160;0x06</td></tr>
  113. <tr class="separator:ab495a56c339e141ecbecfd9872f81fbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:aead1e6fe1bdc60cade5b071a293864cc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#aead1e6fe1bdc60cade5b071a293864cc">STRIPE_CMD_SET2</a>&#160;&#160;&#160;0x07</td></tr>
  115. <tr class="separator:aead1e6fe1bdc60cade5b071a293864cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a0a2c9ea1a805ca03af6c43c107c98e8e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a0a2c9ea1a805ca03af6c43c107c98e8e">STRIPE_CMD_RESET</a>&#160;&#160;&#160;0x09</td></tr>
  117. <tr class="separator:a0a2c9ea1a805ca03af6c43c107c98e8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:a14287ccb3789c724603c28910512a0b3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a14287ccb3789c724603c28910512a0b3">STRIPE_CMD_FADEOUT</a>&#160;&#160;&#160;0x0A</td></tr>
  119. <tr class="separator:a14287ccb3789c724603c28910512a0b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:a80ccf336e21703504faf1b3acba2c98b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a80ccf336e21703504faf1b3acba2c98b">STRIPE_CMD_FADETO</a>&#160;&#160;&#160;0x0B</td></tr>
  121. <tr class="separator:a80ccf336e21703504faf1b3acba2c98b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a2e4a6f31f6823ec2592e9216a51232f2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a2e4a6f31f6823ec2592e9216a51232f2">STRIPE_CMD_FADESTOP</a>&#160;&#160;&#160;0x0C</td></tr>
  123. <tr class="separator:a2e4a6f31f6823ec2592e9216a51232f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. </table><table class="memberdecls">
  125. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
  126. Enumerations</h2></td></tr>
  127. <tr class="memitem:aa761062faf633557e537e07a781965e9"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#aa761062faf633557e537e07a781965e9">stripe_transient_t</a> { <a class="el" href="stripe_8h.html#aa761062faf633557e537e07a781965e9ad41450786f0c8b404231dfaff4c14931">TRANS_DIRECT</a> = 0,
  128. <a class="el" href="stripe_8h.html#aa761062faf633557e537e07a781965e9a37991877080c17224eaa0268947a545c">TRANS_FAST</a> = 6,
  129. <a class="el" href="stripe_8h.html#aa761062faf633557e537e07a781965e9a26be047607e612751d1979597dd21185">TRANS_MEDIUM</a> = 35,
  130. <a class="el" href="stripe_8h.html#aa761062faf633557e537e07a781965e9ad1105b7089df16f505a8c28ef4e31f04">TRANS_SLOW</a> = 200
  131. }<tr class="separator:aa761062faf633557e537e07a781965e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. </td></tr>
  133. </table><table class="memberdecls">
  134. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  135. Functions</h2></td></tr>
  136. <tr class="memitem:a914baf734bc672a910769802c1e882c8"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a914baf734bc672a910769802c1e882c8">stripeThread</a> (void *threadid)</td></tr>
  137. <tr class="memdesc:a914baf734bc672a910769802c1e882c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Thread for the stripe control. <a href="#a914baf734bc672a910769802c1e882c8">More...</a><br /></td></tr>
  138. <tr class="separator:a914baf734bc672a910769802c1e882c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:a630b80b8bd1e8a0f535b21a720de76b8"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a630b80b8bd1e8a0f535b21a720de76b8">stripeTimerHandler</a> (void *threadid)</td></tr>
  140. <tr class="memdesc:a630b80b8bd1e8a0f535b21a720de76b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is the handler for time based stripe effects. <a href="#a630b80b8bd1e8a0f535b21a720de76b8">More...</a><br /></td></tr>
  141. <tr class="separator:a630b80b8bd1e8a0f535b21a720de76b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:aec214522cff28dc1b0f20c2ec2870189"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#aec214522cff28dc1b0f20c2ec2870189">stripeInit</a> (void)</td></tr>
  143. <tr class="memdesc:aec214522cff28dc1b0f20c2ec2870189"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes i2c communication to stripe controller. <a href="#aec214522cff28dc1b0f20c2ec2870189">More...</a><br /></td></tr>
  144. <tr class="separator:aec214522cff28dc1b0f20c2ec2870189"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:ab58f9b853bd6c2deb11f6b64e6275cd7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#ab58f9b853bd6c2deb11f6b64e6275cd7">stripeCommand</a> (int len, char *data)</td></tr>
  146. <tr class="memdesc:ab58f9b853bd6c2deb11f6b64e6275cd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends out command data to the stripe controller via i2c. <a href="#ab58f9b853bd6c2deb11f6b64e6275cd7">More...</a><br /></td></tr>
  147. <tr class="separator:ab58f9b853bd6c2deb11f6b64e6275cd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:a79a7d75b45ddbb2b3324ec450658136c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a79a7d75b45ddbb2b3324ec450658136c">stripeUpdate</a> (void)</td></tr>
  149. <tr class="memdesc:a79a7d75b45ddbb2b3324ec450658136c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the color data and prepares the stripe command. <a href="#a79a7d75b45ddbb2b3324ec450658136c">More...</a><br /></td></tr>
  150. <tr class="separator:a79a7d75b45ddbb2b3324ec450658136c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  151. <tr class="memitem:a849e5953dbdb82fb8405b1ab43067eed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a849e5953dbdb82fb8405b1ab43067eed">stripeUpdateDim</a> (void)</td></tr>
  152. <tr class="memdesc:a849e5953dbdb82fb8405b1ab43067eed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the dimmer value of the stripe. <a href="#a849e5953dbdb82fb8405b1ab43067eed">More...</a><br /></td></tr>
  153. <tr class="separator:a849e5953dbdb82fb8405b1ab43067eed"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <tr class="memitem:a405699059b25eae6001d1e989a1da5d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a405699059b25eae6001d1e989a1da5d6">stripeSetRGB</a> (int red, int green, int blue)</td></tr>
  155. <tr class="memdesc:a405699059b25eae6001d1e989a1da5d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the color of the stripe. <a href="#a405699059b25eae6001d1e989a1da5d6">More...</a><br /></td></tr>
  156. <tr class="separator:a405699059b25eae6001d1e989a1da5d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr class="memitem:a32197a6a1a75aaf54a2a19dbc31be4e0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a32197a6a1a75aaf54a2a19dbc31be4e0">stripeSetColor</a> (<a class="el" href="structstripe__color.html">stripe_color</a> color)</td></tr>
  158. <tr class="memdesc:a32197a6a1a75aaf54a2a19dbc31be4e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the color of the stripe. <a href="#a32197a6a1a75aaf54a2a19dbc31be4e0">More...</a><br /></td></tr>
  159. <tr class="separator:a32197a6a1a75aaf54a2a19dbc31be4e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. <tr class="memitem:a26524f75c9d72587489d20bba6c61da6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a26524f75c9d72587489d20bba6c61da6">stripeSetTransient</a> (<a class="el" href="stripe_8h.html#aa761062faf633557e537e07a781965e9">stripe_transient_t</a> transient)</td></tr>
  161. <tr class="memdesc:a26524f75c9d72587489d20bba6c61da6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the transient time for the stripe (fading) <a href="#a26524f75c9d72587489d20bba6c61da6">More...</a><br /></td></tr>
  162. <tr class="separator:a26524f75c9d72587489d20bba6c61da6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  163. <tr class="memitem:ade9bc3e5b3fabc99922d78df6ae96434"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#ade9bc3e5b3fabc99922d78df6ae96434">stripeSetDim</a> (int dim)</td></tr>
  164. <tr class="memdesc:ade9bc3e5b3fabc99922d78df6ae96434"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the dimmer value of the stripe. <a href="#ade9bc3e5b3fabc99922d78df6ae96434">More...</a><br /></td></tr>
  165. <tr class="separator:ade9bc3e5b3fabc99922d78df6ae96434"><td class="memSeparator" colspan="2">&#160;</td></tr>
  166. <tr class="memitem:a2ae73653f2098fdae40bb0916949e77e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a2ae73653f2098fdae40bb0916949e77e">stripeSetWhite</a> (int white)</td></tr>
  167. <tr class="memdesc:a2ae73653f2098fdae40bb0916949e77e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the white value of the stripe (4th channel) <a href="#a2ae73653f2098fdae40bb0916949e77e">More...</a><br /></td></tr>
  168. <tr class="separator:a2ae73653f2098fdae40bb0916949e77e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  169. <tr class="memitem:a9130dbeb208c1b9e5519834f7de6a530"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a9130dbeb208c1b9e5519834f7de6a530">stripeOn</a> (void)</td></tr>
  170. <tr class="memdesc:a9130dbeb208c1b9e5519834f7de6a530"><td class="mdescLeft">&#160;</td><td class="mdescRight">Turns the stripe on (Sets dimmer to 100%) <a href="#a9130dbeb208c1b9e5519834f7de6a530">More...</a><br /></td></tr>
  171. <tr class="separator:a9130dbeb208c1b9e5519834f7de6a530"><td class="memSeparator" colspan="2">&#160;</td></tr>
  172. <tr class="memitem:a40d444a306464fa8547feea96737ae0d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a40d444a306464fa8547feea96737ae0d">stripeOff</a> (void)</td></tr>
  173. <tr class="memdesc:a40d444a306464fa8547feea96737ae0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Turns the stripe on (Sets dimmer to 0%) <a href="#a40d444a306464fa8547feea96737ae0d">More...</a><br /></td></tr>
  174. <tr class="separator:a40d444a306464fa8547feea96737ae0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  175. <tr class="memitem:ac5379b3ade62c829d19654c22efd90de"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#ac5379b3ade62c829d19654c22efd90de">stripeGetRGB</a> (int *red, int *green, int *blue)</td></tr>
  176. <tr class="memdesc:ac5379b3ade62c829d19654c22efd90de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the current stripe color. <a href="#ac5379b3ade62c829d19654c22efd90de">More...</a><br /></td></tr>
  177. <tr class="separator:ac5379b3ade62c829d19654c22efd90de"><td class="memSeparator" colspan="2">&#160;</td></tr>
  178. <tr class="memitem:ab479c1db854476cf80b86d1fe33a908e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#ab479c1db854476cf80b86d1fe33a908e">stripeGetDim</a> (int *dim)</td></tr>
  179. <tr class="memdesc:ab479c1db854476cf80b86d1fe33a908e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the current stripe dimmer value. <a href="#ab479c1db854476cf80b86d1fe33a908e">More...</a><br /></td></tr>
  180. <tr class="separator:ab479c1db854476cf80b86d1fe33a908e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  181. <tr class="memitem:aa67941dfd018cc2e0ba62a76a3d9136d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#aa67941dfd018cc2e0ba62a76a3d9136d">stripeGetWhite</a> (int *white)</td></tr>
  182. <tr class="memdesc:aa67941dfd018cc2e0ba62a76a3d9136d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the current stripe white value (4th channel) <a href="#aa67941dfd018cc2e0ba62a76a3d9136d">More...</a><br /></td></tr>
  183. <tr class="separator:aa67941dfd018cc2e0ba62a76a3d9136d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  184. <tr class="memitem:a40cca6b9cc8aeca2f28442126528163b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a40cca6b9cc8aeca2f28442126528163b">stripeEffectDisable</a> (void)</td></tr>
  185. <tr class="memdesc:a40cca6b9cc8aeca2f28442126528163b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stops current running effects. <a href="#a40cca6b9cc8aeca2f28442126528163b">More...</a><br /></td></tr>
  186. <tr class="separator:a40cca6b9cc8aeca2f28442126528163b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  187. <tr class="memitem:a97c35798100bbf3208fd15cc5615cd97"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#a97c35798100bbf3208fd15cc5615cd97">stripeEffectHeating</a> (int percent)</td></tr>
  188. <tr class="memdesc:a97c35798100bbf3208fd15cc5615cd97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the stripe to a correspondending color to the heating status. <a href="#a97c35798100bbf3208fd15cc5615cd97">More...</a><br /></td></tr>
  189. <tr class="separator:a97c35798100bbf3208fd15cc5615cd97"><td class="memSeparator" colspan="2">&#160;</td></tr>
  190. <tr class="memitem:aea3ed8a6a2d07ed7f8f2ff59f6fa3a01"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="stripe_8h.html#aea3ed8a6a2d07ed7f8f2ff59f6fa3a01">stripeEffectPulse</a> (<a class="el" href="structstripe__color.html">stripe_color</a> color)</td></tr>
  191. <tr class="memdesc:aea3ed8a6a2d07ed7f8f2ff59f6fa3a01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables pulsing with a given color of the stripe. <a href="#aea3ed8a6a2d07ed7f8f2ff59f6fa3a01">More...</a><br /></td></tr>
  192. <tr class="separator:aea3ed8a6a2d07ed7f8f2ff59f6fa3a01"><td class="memSeparator" colspan="2">&#160;</td></tr>
  193. </table>
  194. <h2 class="groupheader">Macro Definition Documentation</h2>
  195. <a class="anchor" id="a52f9fc93ce25c487d4f72b9f2f400545"></a>
  196. <div class="memitem">
  197. <div class="memproto">
  198. <table class="memname">
  199. <tr>
  200. <td class="memname">#define I2C_ADDRESS_STRIPE&#160;&#160;&#160;0x69</td>
  201. </tr>
  202. </table>
  203. </div><div class="memdoc">
  204. </div>
  205. </div>
  206. <a class="anchor" id="a14287ccb3789c724603c28910512a0b3"></a>
  207. <div class="memitem">
  208. <div class="memproto">
  209. <table class="memname">
  210. <tr>
  211. <td class="memname">#define STRIPE_CMD_FADEOUT&#160;&#160;&#160;0x0A</td>
  212. </tr>
  213. </table>
  214. </div><div class="memdoc">
  215. </div>
  216. </div>
  217. <a class="anchor" id="a2e4a6f31f6823ec2592e9216a51232f2"></a>
  218. <div class="memitem">
  219. <div class="memproto">
  220. <table class="memname">
  221. <tr>
  222. <td class="memname">#define STRIPE_CMD_FADESTOP&#160;&#160;&#160;0x0C</td>
  223. </tr>
  224. </table>
  225. </div><div class="memdoc">
  226. </div>
  227. </div>
  228. <a class="anchor" id="a80ccf336e21703504faf1b3acba2c98b"></a>
  229. <div class="memitem">
  230. <div class="memproto">
  231. <table class="memname">
  232. <tr>
  233. <td class="memname">#define STRIPE_CMD_FADETO&#160;&#160;&#160;0x0B</td>
  234. </tr>
  235. </table>
  236. </div><div class="memdoc">
  237. </div>
  238. </div>
  239. <a class="anchor" id="a0a2c9ea1a805ca03af6c43c107c98e8e"></a>
  240. <div class="memitem">
  241. <div class="memproto">
  242. <table class="memname">
  243. <tr>
  244. <td class="memname">#define STRIPE_CMD_RESET&#160;&#160;&#160;0x09</td>
  245. </tr>
  246. </table>
  247. </div><div class="memdoc">
  248. </div>
  249. </div>
  250. <a class="anchor" id="ab495a56c339e141ecbecfd9872f81fbb"></a>
  251. <div class="memitem">
  252. <div class="memproto">
  253. <table class="memname">
  254. <tr>
  255. <td class="memname">#define STRIPE_CMD_SET&#160;&#160;&#160;0x06</td>
  256. </tr>
  257. </table>
  258. </div><div class="memdoc">
  259. </div>
  260. </div>
  261. <a class="anchor" id="aead1e6fe1bdc60cade5b071a293864cc"></a>
  262. <div class="memitem">
  263. <div class="memproto">
  264. <table class="memname">
  265. <tr>
  266. <td class="memname">#define STRIPE_CMD_SET2&#160;&#160;&#160;0x07</td>
  267. </tr>
  268. </table>
  269. </div><div class="memdoc">
  270. </div>
  271. </div>
  272. <a class="anchor" id="a25c93d4301c3ad1064adfb9eff952211"></a>
  273. <div class="memitem">
  274. <div class="memproto">
  275. <table class="memname">
  276. <tr>
  277. <td class="memname">#define STRIPE_CMD_SETB&#160;&#160;&#160;0x03</td>
  278. </tr>
  279. </table>
  280. </div><div class="memdoc">
  281. </div>
  282. </div>
  283. <a class="anchor" id="aedb99f1c6b67c005f5a2cd6dea06c6b7"></a>
  284. <div class="memitem">
  285. <div class="memproto">
  286. <table class="memname">
  287. <tr>
  288. <td class="memname">#define STRIPE_CMD_SETDIM&#160;&#160;&#160;0x05</td>
  289. </tr>
  290. </table>
  291. </div><div class="memdoc">
  292. </div>
  293. </div>
  294. <a class="anchor" id="ac62893e9f8f3793a3f6de3338a9a93ff"></a>
  295. <div class="memitem">
  296. <div class="memproto">
  297. <table class="memname">
  298. <tr>
  299. <td class="memname">#define STRIPE_CMD_SETG&#160;&#160;&#160;0x02</td>
  300. </tr>
  301. </table>
  302. </div><div class="memdoc">
  303. </div>
  304. </div>
  305. <a class="anchor" id="ad06bb775e1f72bc21a5f17a19eb62e80"></a>
  306. <div class="memitem">
  307. <div class="memproto">
  308. <table class="memname">
  309. <tr>
  310. <td class="memname">#define STRIPE_CMD_SETR&#160;&#160;&#160;0x01</td>
  311. </tr>
  312. </table>
  313. </div><div class="memdoc">
  314. </div>
  315. </div>
  316. <a class="anchor" id="a3c5fd782e0479daf6bb272d5197c8877"></a>
  317. <div class="memitem">
  318. <div class="memproto">
  319. <table class="memname">
  320. <tr>
  321. <td class="memname">#define STRIPE_CMD_SETW&#160;&#160;&#160;0x04</td>
  322. </tr>
  323. </table>
  324. </div><div class="memdoc">
  325. </div>
  326. </div>
  327. <h2 class="groupheader">Enumeration Type Documentation</h2>
  328. <a class="anchor" id="aa761062faf633557e537e07a781965e9"></a>
  329. <div class="memitem">
  330. <div class="memproto">
  331. <table class="memname">
  332. <tr>
  333. <td class="memname">enum <a class="el" href="stripe_8h.html#aa761062faf633557e537e07a781965e9">stripe_transient_t</a></td>
  334. </tr>
  335. </table>
  336. </div><div class="memdoc">
  337. <table class="fieldtable">
  338. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="aa761062faf633557e537e07a781965e9ad41450786f0c8b404231dfaff4c14931"></a>TRANS_DIRECT&#160;</td><td class="fielddoc">
  339. </td></tr>
  340. <tr><td class="fieldname"><a class="anchor" id="aa761062faf633557e537e07a781965e9a37991877080c17224eaa0268947a545c"></a>TRANS_FAST&#160;</td><td class="fielddoc">
  341. </td></tr>
  342. <tr><td class="fieldname"><a class="anchor" id="aa761062faf633557e537e07a781965e9a26be047607e612751d1979597dd21185"></a>TRANS_MEDIUM&#160;</td><td class="fielddoc">
  343. </td></tr>
  344. <tr><td class="fieldname"><a class="anchor" id="aa761062faf633557e537e07a781965e9ad1105b7089df16f505a8c28ef4e31f04"></a>TRANS_SLOW&#160;</td><td class="fielddoc">
  345. </td></tr>
  346. </table>
  347. </div>
  348. </div>
  349. <h2 class="groupheader">Function Documentation</h2>
  350. <a class="anchor" id="ab58f9b853bd6c2deb11f6b64e6275cd7"></a>
  351. <div class="memitem">
  352. <div class="memproto">
  353. <table class="memname">
  354. <tr>
  355. <td class="memname">int stripeCommand </td>
  356. <td>(</td>
  357. <td class="paramtype">int&#160;</td>
  358. <td class="paramname"><em>len</em>, </td>
  359. </tr>
  360. <tr>
  361. <td class="paramkey"></td>
  362. <td></td>
  363. <td class="paramtype">char *&#160;</td>
  364. <td class="paramname"><em>data</em>&#160;</td>
  365. </tr>
  366. <tr>
  367. <td></td>
  368. <td>)</td>
  369. <td></td><td></td>
  370. </tr>
  371. </table>
  372. </div><div class="memdoc">
  373. <p>Sends out command data to the stripe controller via i2c. </p>
  374. <dl class="params"><dt>Parameters</dt><dd>
  375. <table class="params">
  376. <tr><td class="paramname">len</td><td>Length of the data array </td></tr>
  377. <tr><td class="paramname">*data</td><td>Pointer to data array </td></tr>
  378. </table>
  379. </dd>
  380. </dl>
  381. <dl class="section return"><dt>Returns</dt><dd>Number of failed bytes, 0 if successful </dd></dl>
  382. </div>
  383. </div>
  384. <a class="anchor" id="a40cca6b9cc8aeca2f28442126528163b"></a>
  385. <div class="memitem">
  386. <div class="memproto">
  387. <table class="memname">
  388. <tr>
  389. <td class="memname">void stripeEffectDisable </td>
  390. <td>(</td>
  391. <td class="paramtype">void&#160;</td>
  392. <td class="paramname"></td><td>)</td>
  393. <td></td>
  394. </tr>
  395. </table>
  396. </div><div class="memdoc">
  397. <p>Stops current running effects. </p>
  398. </div>
  399. </div>
  400. <a class="anchor" id="a97c35798100bbf3208fd15cc5615cd97"></a>
  401. <div class="memitem">
  402. <div class="memproto">
  403. <table class="memname">
  404. <tr>
  405. <td class="memname">void stripeEffectHeating </td>
  406. <td>(</td>
  407. <td class="paramtype">int&#160;</td>
  408. <td class="paramname"><em>percent</em></td><td>)</td>
  409. <td></td>
  410. </tr>
  411. </table>
  412. </div><div class="memdoc">
  413. <p>Sets the stripe to a correspondending color to the heating status. </p>
  414. <dl class="params"><dt>Parameters</dt><dd>
  415. <table class="params">
  416. <tr><td class="paramname">percent</td><td>Heating level (0-100%) </td></tr>
  417. </table>
  418. </dd>
  419. </dl>
  420. </div>
  421. </div>
  422. <a class="anchor" id="aea3ed8a6a2d07ed7f8f2ff59f6fa3a01"></a>
  423. <div class="memitem">
  424. <div class="memproto">
  425. <table class="memname">
  426. <tr>
  427. <td class="memname">void stripeEffectPulse </td>
  428. <td>(</td>
  429. <td class="paramtype"><a class="el" href="structstripe__color.html">stripe_color</a>&#160;</td>
  430. <td class="paramname"><em>color</em></td><td>)</td>
  431. <td></td>
  432. </tr>
  433. </table>
  434. </div><div class="memdoc">
  435. <p>Enables pulsing with a given color of the stripe. </p>
  436. <dl class="params"><dt>Parameters</dt><dd>
  437. <table class="params">
  438. <tr><td class="paramname">color</td><td>Effect color </td></tr>
  439. </table>
  440. </dd>
  441. </dl>
  442. </div>
  443. </div>
  444. <a class="anchor" id="ab479c1db854476cf80b86d1fe33a908e"></a>
  445. <div class="memitem">
  446. <div class="memproto">
  447. <table class="memname">
  448. <tr>
  449. <td class="memname">void stripeGetDim </td>
  450. <td>(</td>
  451. <td class="paramtype">int *&#160;</td>
  452. <td class="paramname"><em>dim</em></td><td>)</td>
  453. <td></td>
  454. </tr>
  455. </table>
  456. </div><div class="memdoc">
  457. <p>Reads the current stripe dimmer value. </p>
  458. <dl class="params"><dt>Parameters</dt><dd>
  459. <table class="params">
  460. <tr><td class="paramname">*dim</td><td>Pointer to dimmer variable </td></tr>
  461. </table>
  462. </dd>
  463. </dl>
  464. </div>
  465. </div>
  466. <a class="anchor" id="ac5379b3ade62c829d19654c22efd90de"></a>
  467. <div class="memitem">
  468. <div class="memproto">
  469. <table class="memname">
  470. <tr>
  471. <td class="memname">void stripeGetRGB </td>
  472. <td>(</td>
  473. <td class="paramtype">int *&#160;</td>
  474. <td class="paramname"><em>red</em>, </td>
  475. </tr>
  476. <tr>
  477. <td class="paramkey"></td>
  478. <td></td>
  479. <td class="paramtype">int *&#160;</td>
  480. <td class="paramname"><em>green</em>, </td>
  481. </tr>
  482. <tr>
  483. <td class="paramkey"></td>
  484. <td></td>
  485. <td class="paramtype">int *&#160;</td>
  486. <td class="paramname"><em>blue</em>&#160;</td>
  487. </tr>
  488. <tr>
  489. <td></td>
  490. <td>)</td>
  491. <td></td><td></td>
  492. </tr>
  493. </table>
  494. </div><div class="memdoc">
  495. <p>Reads the current stripe color. </p>
  496. <dl class="params"><dt>Parameters</dt><dd>
  497. <table class="params">
  498. <tr><td class="paramname">*red</td><td>Pointer to red variable </td></tr>
  499. <tr><td class="paramname">*green</td><td>Pointer to green variable </td></tr>
  500. <tr><td class="paramname">*blue</td><td>Pointer to blue variable </td></tr>
  501. </table>
  502. </dd>
  503. </dl>
  504. </div>
  505. </div>
  506. <a class="anchor" id="aa67941dfd018cc2e0ba62a76a3d9136d"></a>
  507. <div class="memitem">
  508. <div class="memproto">
  509. <table class="memname">
  510. <tr>
  511. <td class="memname">void stripeGetWhite </td>
  512. <td>(</td>
  513. <td class="paramtype">int *&#160;</td>
  514. <td class="paramname"><em>white</em></td><td>)</td>
  515. <td></td>
  516. </tr>
  517. </table>
  518. </div><div class="memdoc">
  519. <p>Reads the current stripe white value (4th channel) </p>
  520. <dl class="params"><dt>Parameters</dt><dd>
  521. <table class="params">
  522. <tr><td class="paramname">*white</td><td>Pointer to white variable </td></tr>
  523. </table>
  524. </dd>
  525. </dl>
  526. </div>
  527. </div>
  528. <a class="anchor" id="aec214522cff28dc1b0f20c2ec2870189"></a>
  529. <div class="memitem">
  530. <div class="memproto">
  531. <table class="memname">
  532. <tr>
  533. <td class="memname">void stripeInit </td>
  534. <td>(</td>
  535. <td class="paramtype">void&#160;</td>
  536. <td class="paramname"></td><td>)</td>
  537. <td></td>
  538. </tr>
  539. </table>
  540. </div><div class="memdoc">
  541. <p>Initializes i2c communication to stripe controller. </p>
  542. </div>
  543. </div>
  544. <a class="anchor" id="a40d444a306464fa8547feea96737ae0d"></a>
  545. <div class="memitem">
  546. <div class="memproto">
  547. <table class="memname">
  548. <tr>
  549. <td class="memname">void stripeOff </td>
  550. <td>(</td>
  551. <td class="paramtype">void&#160;</td>
  552. <td class="paramname"></td><td>)</td>
  553. <td></td>
  554. </tr>
  555. </table>
  556. </div><div class="memdoc">
  557. <p>Turns the stripe on (Sets dimmer to 0%) </p>
  558. </div>
  559. </div>
  560. <a class="anchor" id="a9130dbeb208c1b9e5519834f7de6a530"></a>
  561. <div class="memitem">
  562. <div class="memproto">
  563. <table class="memname">
  564. <tr>
  565. <td class="memname">void stripeOn </td>
  566. <td>(</td>
  567. <td class="paramtype">void&#160;</td>
  568. <td class="paramname"></td><td>)</td>
  569. <td></td>
  570. </tr>
  571. </table>
  572. </div><div class="memdoc">
  573. <p>Turns the stripe on (Sets dimmer to 100%) </p>
  574. </div>
  575. </div>
  576. <a class="anchor" id="a32197a6a1a75aaf54a2a19dbc31be4e0"></a>
  577. <div class="memitem">
  578. <div class="memproto">
  579. <table class="memname">
  580. <tr>
  581. <td class="memname">void stripeSetColor </td>
  582. <td>(</td>
  583. <td class="paramtype"><a class="el" href="structstripe__color.html">stripe_color</a>&#160;</td>
  584. <td class="paramname"><em>color</em></td><td>)</td>
  585. <td></td>
  586. </tr>
  587. </table>
  588. </div><div class="memdoc">
  589. <p>Updates the color of the stripe. </p>
  590. <dl class="params"><dt>Parameters</dt><dd>
  591. <table class="params">
  592. <tr><td class="paramname">color</td><td>Color struct </td></tr>
  593. </table>
  594. </dd>
  595. </dl>
  596. </div>
  597. </div>
  598. <a class="anchor" id="ade9bc3e5b3fabc99922d78df6ae96434"></a>
  599. <div class="memitem">
  600. <div class="memproto">
  601. <table class="memname">
  602. <tr>
  603. <td class="memname">void stripeSetDim </td>
  604. <td>(</td>
  605. <td class="paramtype">int&#160;</td>
  606. <td class="paramname"><em>dim</em></td><td>)</td>
  607. <td></td>
  608. </tr>
  609. </table>
  610. </div><div class="memdoc">
  611. <p>Updates the dimmer value of the stripe. </p>
  612. <dl class="params"><dt>Parameters</dt><dd>
  613. <table class="params">
  614. <tr><td class="paramname">dim</td><td>Dimmer value </td></tr>
  615. </table>
  616. </dd>
  617. </dl>
  618. </div>
  619. </div>
  620. <a class="anchor" id="a405699059b25eae6001d1e989a1da5d6"></a>
  621. <div class="memitem">
  622. <div class="memproto">
  623. <table class="memname">
  624. <tr>
  625. <td class="memname">void stripeSetRGB </td>
  626. <td>(</td>
  627. <td class="paramtype">int&#160;</td>
  628. <td class="paramname"><em>red</em>, </td>
  629. </tr>
  630. <tr>
  631. <td class="paramkey"></td>
  632. <td></td>
  633. <td class="paramtype">int&#160;</td>
  634. <td class="paramname"><em>green</em>, </td>
  635. </tr>
  636. <tr>
  637. <td class="paramkey"></td>
  638. <td></td>
  639. <td class="paramtype">int&#160;</td>
  640. <td class="paramname"><em>blue</em>&#160;</td>
  641. </tr>
  642. <tr>
  643. <td></td>
  644. <td>)</td>
  645. <td></td><td></td>
  646. </tr>
  647. </table>
  648. </div><div class="memdoc">
  649. <p>Updates the color of the stripe. </p>
  650. <dl class="params"><dt>Parameters</dt><dd>
  651. <table class="params">
  652. <tr><td class="paramname">red</td><td>Red value (max 255) </td></tr>
  653. <tr><td class="paramname">green</td><td>Green value (max 255) </td></tr>
  654. <tr><td class="paramname">blue</td><td>Blue value (max 255) </td></tr>
  655. </table>
  656. </dd>
  657. </dl>
  658. </div>
  659. </div>
  660. <a class="anchor" id="a26524f75c9d72587489d20bba6c61da6"></a>
  661. <div class="memitem">
  662. <div class="memproto">
  663. <table class="memname">
  664. <tr>
  665. <td class="memname">void stripeSetTransient </td>
  666. <td>(</td>
  667. <td class="paramtype"><a class="el" href="stripe_8h.html#aa761062faf633557e537e07a781965e9">stripe_transient_t</a>&#160;</td>
  668. <td class="paramname"><em>transient</em></td><td>)</td>
  669. <td></td>
  670. </tr>
  671. </table>
  672. </div><div class="memdoc">
  673. <p>Updates the transient time for the stripe (fading) </p>
  674. <dl class="params"><dt>Parameters</dt><dd>
  675. <table class="params">
  676. <tr><td class="paramname">transient</td><td>Transient time in ticks </td></tr>
  677. </table>
  678. </dd>
  679. </dl>
  680. </div>
  681. </div>
  682. <a class="anchor" id="a2ae73653f2098fdae40bb0916949e77e"></a>
  683. <div class="memitem">
  684. <div class="memproto">
  685. <table class="memname">
  686. <tr>
  687. <td class="memname">void stripeSetWhite </td>
  688. <td>(</td>
  689. <td class="paramtype">int&#160;</td>
  690. <td class="paramname"><em>white</em></td><td>)</td>
  691. <td></td>
  692. </tr>
  693. </table>
  694. </div><div class="memdoc">
  695. <p>Updates the white value of the stripe (4th channel) </p>
  696. <dl class="params"><dt>Parameters</dt><dd>
  697. <table class="params">
  698. <tr><td class="paramname">white</td><td>White value </td></tr>
  699. </table>
  700. </dd>
  701. </dl>
  702. </div>
  703. </div>
  704. <a class="anchor" id="a914baf734bc672a910769802c1e882c8"></a>
  705. <div class="memitem">
  706. <div class="memproto">
  707. <table class="memname">
  708. <tr>
  709. <td class="memname">void* stripeThread </td>
  710. <td>(</td>
  711. <td class="paramtype">void *&#160;</td>
  712. <td class="paramname"><em>threadid</em></td><td>)</td>
  713. <td></td>
  714. </tr>
  715. </table>
  716. </div><div class="memdoc">
  717. <p>Thread for the stripe control. </p>
  718. <p>Requests data from other threads or HAL </p><dl class="params"><dt>Parameters</dt><dd>
  719. <table class="params">
  720. <tr><td class="paramname">*threadid</td><td>Thread ID </td></tr>
  721. </table>
  722. </dd>
  723. </dl>
  724. </div>
  725. </div>
  726. <a class="anchor" id="a630b80b8bd1e8a0f535b21a720de76b8"></a>
  727. <div class="memitem">
  728. <div class="memproto">
  729. <table class="memname">
  730. <tr>
  731. <td class="memname">void* stripeTimerHandler </td>
  732. <td>(</td>
  733. <td class="paramtype">void *&#160;</td>
  734. <td class="paramname"><em>threadid</em></td><td>)</td>
  735. <td></td>
  736. </tr>
  737. </table>
  738. </div><div class="memdoc">
  739. <p>This is the handler for time based stripe effects. </p>
  740. <dl class="params"><dt>Parameters</dt><dd>
  741. <table class="params">
  742. <tr><td class="paramname">*threadid</td><td>Thread ID </td></tr>
  743. </table>
  744. </dd>
  745. </dl>
  746. </div>
  747. </div>
  748. <a class="anchor" id="a79a7d75b45ddbb2b3324ec450658136c"></a>
  749. <div class="memitem">
  750. <div class="memproto">
  751. <table class="memname">
  752. <tr>
  753. <td class="memname">void stripeUpdate </td>
  754. <td>(</td>
  755. <td class="paramtype">void&#160;</td>
  756. <td class="paramname"></td><td>)</td>
  757. <td></td>
  758. </tr>
  759. </table>
  760. </div><div class="memdoc">
  761. <p>Updates the color data and prepares the stripe command. </p>
  762. </div>
  763. </div>
  764. <a class="anchor" id="a849e5953dbdb82fb8405b1ab43067eed"></a>
  765. <div class="memitem">
  766. <div class="memproto">
  767. <table class="memname">
  768. <tr>
  769. <td class="memname">void stripeUpdateDim </td>
  770. <td>(</td>
  771. <td class="paramtype">void&#160;</td>
  772. <td class="paramname"></td><td>)</td>
  773. <td></td>
  774. </tr>
  775. </table>
  776. </div><div class="memdoc">
  777. <p>Updates the dimmer value of the stripe. </p>
  778. </div>
  779. </div>
  780. </div><!-- contents -->
  781. <!-- start footer part -->
  782. <hr class="footer"/><address class="footer"><small>
  783. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  784. <img class="footer" src="doxygen.png" alt="doxygen"/>
  785. </a> 1.8.10
  786. </small></address>
  787. </body>
  788. </html>