123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <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.10"/>
- <title>CoffeePi: display.cpp File Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <script type="text/javascript">
- $(document).ready(function() { init_search(); });
- </script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">CoffeePi
- </div>
- <div id="projectbrief">Coffee machine control for Raspberry Pi</div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.10 -->
- <script type="text/javascript">
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- </script>
- <div id="navrow1" class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li><a href="annotated.html"><span>Data Structures</span></a></li>
- <li class="current"><a href="files.html"><span>Files</span></a></li>
- <li>
- <div id="MSearchBox" class="MSearchBoxInactive">
- <span class="left">
- <img id="MSearchSelect" src="search/mag_sel.png"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- alt=""/>
- <input type="text" id="MSearchField" value="Search" accesskey="S"
- onfocus="searchBox.OnSearchFieldFocus(true)"
- onblur="searchBox.OnSearchFieldFocus(false)"
- onkeyup="searchBox.OnSearchFieldChange(event)"/>
- </span><span class="right">
- <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
- </span>
- </div>
- </li>
- </ul>
- </div>
- <div id="navrow2" class="tabs2">
- <ul class="tablist">
- <li><a href="files.html"><span>File List</span></a></li>
- <li><a href="globals.html"><span>Globals</span></a></li>
- </ul>
- </div>
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
- </div><!-- top -->
- <div class="header">
- <div class="summary">
- <a href="#func-members">Functions</a> |
- <a href="#var-members">Variables</a> </div>
- <div class="headertitle">
- <div class="title">display.cpp File Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <div class="textblock"><code>#include <stdlib.h></code><br />
- <code>#include <pthread.h></code><br />
- <code>#include <time.h></code><br />
- <code>#include <unistd.h></code><br />
- <code>#include <string.h></code><br />
- <code>#include "<a class="el" href="global_8h_source.html">global.h</a>"</code><br />
- <code>#include "<a class="el" href="display_8h_source.html">display.h</a>"</code><br />
- <code>#include "<a class="el" href="logger_8h_source.html">logger.h</a>"</code><br />
- <code>#include "<a class="el" href="database_8h_source.html">database.h</a>"</code><br />
- <code>#include "<a class="el" href="timer_8h_source.html">timer.h</a>"</code><br />
- <code>#include "<a class="el" href="lcd_8h_source.html">lcd.h</a>"</code><br />
- <code>#include "<a class="el" href="coffee_8h_source.html">coffee.h</a>"</code><br />
- <code>#include "<a class="el" href="hal_8h_source.html">hal.h</a>"</code><br />
- </div><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
- Functions</h2></td></tr>
- <tr class="memitem:aad3b4a291f0ad570bb1035a133ec46aa"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#aad3b4a291f0ad570bb1035a133ec46aa">displayPrintTime</a> (int line)</td></tr>
- <tr class="memdesc:aad3b4a291f0ad570bb1035a133ec46aa"><td class="mdescLeft"> </td><td class="mdescRight">Prints out the current time in a centered position. <a href="#aad3b4a291f0ad570bb1035a133ec46aa">More...</a><br /></td></tr>
- <tr class="separator:aad3b4a291f0ad570bb1035a133ec46aa"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae552c34299838e4f57e3516553ed566f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#ae552c34299838e4f57e3516553ed566f">displayPrintFlow</a> (int line)</td></tr>
- <tr class="memdesc:ae552c34299838e4f57e3516553ed566f"><td class="mdescLeft"> </td><td class="mdescRight">Prints out the total volume flow. <a href="#ae552c34299838e4f57e3516553ed566f">More...</a><br /></td></tr>
- <tr class="separator:ae552c34299838e4f57e3516553ed566f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a2e4f853ea431989d2adc2aeb7a8e46b5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#a2e4f853ea431989d2adc2aeb7a8e46b5">displayPrintLn</a> (int line, const char *str, bool centered)</td></tr>
- <tr class="memdesc:a2e4f853ea431989d2adc2aeb7a8e46b5"><td class="mdescLeft"> </td><td class="mdescRight">Prints a string to a specific line, optionally centered. <a href="#a2e4f853ea431989d2adc2aeb7a8e46b5">More...</a><br /></td></tr>
- <tr class="separator:a2e4f853ea431989d2adc2aeb7a8e46b5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab2db422e214d76776b8a375787d1384c"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#ab2db422e214d76776b8a375787d1384c">displayThread</a> (void *threadid)</td></tr>
- <tr class="memdesc:ab2db422e214d76776b8a375787d1384c"><td class="mdescLeft"> </td><td class="mdescRight">Main thread to handle display data. <a href="#ab2db422e214d76776b8a375787d1384c">More...</a><br /></td></tr>
- <tr class="separator:ab2db422e214d76776b8a375787d1384c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab5eb6b80aca0f751332c47c410d06a2a"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#ab5eb6b80aca0f751332c47c410d06a2a">displayTimerHandler</a> (void *threadid)</td></tr>
- <tr class="memdesc:ab5eb6b80aca0f751332c47c410d06a2a"><td class="mdescLeft"> </td><td class="mdescRight">Timer handler for display update. <a href="#ab5eb6b80aca0f751332c47c410d06a2a">More...</a><br /></td></tr>
- <tr class="separator:ab5eb6b80aca0f751332c47c410d06a2a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8c548751802c5960b3092be28cc56d9f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#a8c548751802c5960b3092be28cc56d9f">displayInit</a> (void)</td></tr>
- <tr class="memdesc:a8c548751802c5960b3092be28cc56d9f"><td class="mdescLeft"> </td><td class="mdescRight">Initializes display. <a href="#a8c548751802c5960b3092be28cc56d9f">More...</a><br /></td></tr>
- <tr class="separator:a8c548751802c5960b3092be28cc56d9f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abfd367c63541be192cdc63d6e8b38a79"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#abfd367c63541be192cdc63d6e8b38a79">displayTerminate</a> (void)</td></tr>
- <tr class="memdesc:abfd367c63541be192cdc63d6e8b38a79"><td class="mdescLeft"> </td><td class="mdescRight">Handles cleanup before program termination. <a href="#abfd367c63541be192cdc63d6e8b38a79">More...</a><br /></td></tr>
- <tr class="separator:abfd367c63541be192cdc63d6e8b38a79"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9b10d2d49414256ef745f7e910748fee"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#a9b10d2d49414256ef745f7e910748fee">displaySetLang</a> (<a class="el" href="display_8h.html#a681b0c0e7b9408f4c70f8e76da34d080">display_lang_t</a> lang)</td></tr>
- <tr class="memdesc:a9b10d2d49414256ef745f7e910748fee"><td class="mdescLeft"> </td><td class="mdescRight">Sets the language of the display text. <a href="#a9b10d2d49414256ef745f7e910748fee">More...</a><br /></td></tr>
- <tr class="separator:a9b10d2d49414256ef745f7e910748fee"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac750de2337343c08e5fd88d08316adb2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#ac750de2337343c08e5fd88d08316adb2">displayRefresh</a> (void)</td></tr>
- <tr class="memdesc:ac750de2337343c08e5fd88d08316adb2"><td class="mdescLeft"> </td><td class="mdescRight">Refreshed the display content and outputs it. <a href="#ac750de2337343c08e5fd88d08316adb2">More...</a><br /></td></tr>
- <tr class="separator:ac750de2337343c08e5fd88d08316adb2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab2661cdbd686f7d3389a3d9c2cf98f47"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#ab2661cdbd686f7d3389a3d9c2cf98f47">displayGetString</a> (<a class="el" href="display_8h.html#a4984755f821d9f0c49acdcac62f4c907">display_strings_t</a> string)</td></tr>
- <tr class="memdesc:ab2661cdbd686f7d3389a3d9c2cf98f47"><td class="mdescLeft"> </td><td class="mdescRight">Returns the matching translation of a string. <a href="#ab2661cdbd686f7d3389a3d9c2cf98f47">More...</a><br /></td></tr>
- <tr class="separator:ab2661cdbd686f7d3389a3d9c2cf98f47"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:adf85c9537e38ffe3f1ee356a4638880e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#adf85c9537e38ffe3f1ee356a4638880e">displayPushState</a> (int <a class="el" href="coffee_8cpp.html#a89f234133d3efe315836311cbf21c64b">state</a>)</td></tr>
- <tr class="memdesc:adf85c9537e38ffe3f1ee356a4638880e"><td class="mdescLeft"> </td><td class="mdescRight">Updates the display state to the matching coffee state. <a href="#adf85c9537e38ffe3f1ee356a4638880e">More...</a><br /></td></tr>
- <tr class="separator:adf85c9537e38ffe3f1ee356a4638880e"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
- Variables</h2></td></tr>
- <tr class="memitem:ae110c5cc57190b02aaa0d543a80cdc20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="display_8h.html#a681b0c0e7b9408f4c70f8e76da34d080">display_lang_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#ae110c5cc57190b02aaa0d543a80cdc20">displayLang</a></td></tr>
- <tr class="separator:ae110c5cc57190b02aaa0d543a80cdc20"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:afebf5c16da7043af9cbd74ef9f489ea7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classtimer.html">timer</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#afebf5c16da7043af9cbd74ef9f489ea7">displayTimer</a> (<a class="el" href="display_8h.html#ab5eb6b80aca0f751332c47c410d06a2a">displayTimerHandler</a>)</td></tr>
- <tr class="separator:afebf5c16da7043af9cbd74ef9f489ea7"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9d1129916cfa4cbd7489638ce470c3a4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#a9d1129916cfa4cbd7489638ce470c3a4">lcd</a> = 0</td></tr>
- <tr class="separator:a9d1129916cfa4cbd7489638ce470c3a4"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:adf977b563dc485f1d1c4e601a9b31b68"><td class="memItemLeft" align="right" valign="top">volatile int </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#adf977b563dc485f1d1c4e601a9b31b68">timerScaler</a> = 0</td></tr>
- <tr class="separator:adf977b563dc485f1d1c4e601a9b31b68"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a01cd2b69770b3c4cd7adc6e27d48c28a"><td class="memItemLeft" align="right" valign="top">volatile int </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#a01cd2b69770b3c4cd7adc6e27d48c28a">elapsedCnt</a> = 0</td></tr>
- <tr class="separator:a01cd2b69770b3c4cd7adc6e27d48c28a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8f3437c133bc4d1be650cbbc5128f1a8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8cpp.html#a8f3437c133bc4d1be650cbbc5128f1a8">coffeeState</a> = <a class="el" href="coffee_8h.html#a0cc0d45e13bc83065d45df9d3d1dc887">STATE_OFF</a></td></tr>
- <tr class="separator:a8f3437c133bc4d1be650cbbc5128f1a8"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <h2 class="groupheader">Function Documentation</h2>
- <a class="anchor" id="ab2661cdbd686f7d3389a3d9c2cf98f47"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">const char* displayGetString </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="display_8h.html#a4984755f821d9f0c49acdcac62f4c907">display_strings_t</a> </td>
- <td class="paramname"><em>string</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the matching translation of a string. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">string</td><td>Requested string </td></tr>
- </table>
- </dd>
- </dl>
- <dl class="section return"><dt>Returns</dt><dd>Translated string </dd></dl>
- </div>
- </div>
- <a class="anchor" id="a8c548751802c5960b3092be28cc56d9f"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void displayInit </td>
- <td>(</td>
- <td class="paramtype">void </td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Initializes display. </p>
- </div>
- </div>
- <a class="anchor" id="ae552c34299838e4f57e3516553ed566f"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void displayPrintFlow </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>line</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Prints out the total volume flow. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">line</td><td>Target line in display </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="a2e4f853ea431989d2adc2aeb7a8e46b5"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void displayPrintLn </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>line</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const char * </td>
- <td class="paramname"><em>str</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>centered</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Prints a string to a specific line, optionally centered. </p>
- <p>This function also fills out the remaining row of the display with spaces, to ensure there is no old data left. </p><dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">line</td><td>Target line in display </td></tr>
- <tr><td class="paramname">*str</td><td>String to print </td></tr>
- <tr><td class="paramname">centered</td><td>Print centered or not </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="aad3b4a291f0ad570bb1035a133ec46aa"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void displayPrintTime </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>line</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Prints out the current time in a centered position. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">line</td><td>Target line in display </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="adf85c9537e38ffe3f1ee356a4638880e"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void displayPushState </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>state</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Updates the display state to the matching coffee state. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">state</td><td>New state </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="ac750de2337343c08e5fd88d08316adb2"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void displayRefresh </td>
- <td>(</td>
- <td class="paramtype">void </td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Refreshed the display content and outputs it. </p>
- </div>
- </div>
- <a class="anchor" id="a9b10d2d49414256ef745f7e910748fee"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void displaySetLang </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="display_8h.html#a681b0c0e7b9408f4c70f8e76da34d080">display_lang_t</a> </td>
- <td class="paramname"><em>lang</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Sets the language of the display text. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">lang</td><td>New language </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="abfd367c63541be192cdc63d6e8b38a79"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void displayTerminate </td>
- <td>(</td>
- <td class="paramtype">void </td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Handles cleanup before program termination. </p>
- </div>
- </div>
- <a class="anchor" id="ab2db422e214d76776b8a375787d1384c"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void* displayThread </td>
- <td>(</td>
- <td class="paramtype">void * </td>
- <td class="paramname"><em>threadid</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Main thread to handle display data. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">*threadid</td><td>Thread ID </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="ab5eb6b80aca0f751332c47c410d06a2a"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void* displayTimerHandler </td>
- <td>(</td>
- <td class="paramtype">void * </td>
- <td class="paramname"><em>threadid</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Timer handler for display update. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">*threadid</td><td>Thread ID </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <h2 class="groupheader">Variable Documentation</h2>
- <a class="anchor" id="a8f3437c133bc4d1be650cbbc5128f1a8"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int coffeeState = <a class="el" href="coffee_8h.html#a0cc0d45e13bc83065d45df9d3d1dc887">STATE_OFF</a></td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="ae110c5cc57190b02aaa0d543a80cdc20"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="display_8h.html#a681b0c0e7b9408f4c70f8e76da34d080">display_lang_t</a> displayLang</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="afebf5c16da7043af9cbd74ef9f489ea7"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classtimer.html">timer</a> displayTimer(<a class="el" href="display_8h.html#ab5eb6b80aca0f751332c47c410d06a2a">displayTimerHandler</a>)</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="a01cd2b69770b3c4cd7adc6e27d48c28a"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">volatile int elapsedCnt = 0</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="a9d1129916cfa4cbd7489638ce470c3a4"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int lcd = 0</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="adf977b563dc485f1d1c4e601a9b31b68"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">volatile int timerScaler = 0</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- </div><!-- contents -->
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.10
- </small></address>
- </body>
- </html>
|