123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455 |
- <!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.h 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="#nested-classes">Data Structures</a> |
- <a href="#define-members">Macros</a> |
- <a href="#enum-members">Enumerations</a> |
- <a href="#func-members">Functions</a> </div>
- <div class="headertitle">
- <div class="title">display.h File Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <div class="textblock"><code>#include <string></code><br />
- </div>
- <p><a href="display_8h_source.html">Go to the source code of this file.</a></p>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
- Data Structures</h2></td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="structdisplay__string__t.html">display_string_t</a></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
- Macros</h2></td></tr>
- <tr class="memitem:aa0b13de112401f9608d402bfc5a14d0d"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8h.html#aa0b13de112401f9608d402bfc5a14d0d">DEFAULT_LANG</a>   <a class="el" href="display_8h.html#a681b0c0e7b9408f4c70f8e76da34d080ae89ac8a244131d461364a7638daf0a30">lang_de</a></td></tr>
- <tr class="memdesc:aa0b13de112401f9608d402bfc5a14d0d"><td class="mdescLeft"> </td><td class="mdescRight">Default display language. <a href="#aa0b13de112401f9608d402bfc5a14d0d">More...</a><br /></td></tr>
- <tr class="separator:aa0b13de112401f9608d402bfc5a14d0d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abc2b684fcc127e93aee54a3a45e25a7c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8h.html#abc2b684fcc127e93aee54a3a45e25a7c">REFRESH_RATE</a>   10</td></tr>
- <tr class="memdesc:abc2b684fcc127e93aee54a3a45e25a7c"><td class="mdescLeft"> </td><td class="mdescRight">Display refresh rate in Hz. <a href="#abc2b684fcc127e93aee54a3a45e25a7c">More...</a><br /></td></tr>
- <tr class="separator:abc2b684fcc127e93aee54a3a45e25a7c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abdc19d7f30976562c2d3efce365ef8f4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8h.html#abdc19d7f30976562c2d3efce365ef8f4">DISPLAY_ROWS</a>   2</td></tr>
- <tr class="separator:abdc19d7f30976562c2d3efce365ef8f4"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad01ecf7f4d29cece64f84d890e414570"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8h.html#ad01ecf7f4d29cece64f84d890e414570">DISPLAY_COLS</a>   16</td></tr>
- <tr class="separator:ad01ecf7f4d29cece64f84d890e414570"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
- Enumerations</h2></td></tr>
- <tr class="memitem:a681b0c0e7b9408f4c70f8e76da34d080"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8h.html#a681b0c0e7b9408f4c70f8e76da34d080">display_lang_t</a> { <a class="el" href="display_8h.html#a681b0c0e7b9408f4c70f8e76da34d080ae89ac8a244131d461364a7638daf0a30">lang_de</a>,
- <a class="el" href="display_8h.html#a681b0c0e7b9408f4c70f8e76da34d080af59ab6af8bf5947a70c77afafccac15b">lang_en</a>,
- <a class="el" href="display_8h.html#a681b0c0e7b9408f4c70f8e76da34d080a8222fe4f6d1104084bbf5a691f4ce644">lang_last</a>
- }<tr class="separator:a681b0c0e7b9408f4c70f8e76da34d080"><td class="memSeparator" colspan="2"> </td></tr>
- </td></tr>
- <tr class="memitem:a4984755f821d9f0c49acdcac62f4c907"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8h.html#a4984755f821d9f0c49acdcac62f4c907">display_strings_t</a> { <br />
-   <a class="el" href="display_8h.html#a4984755f821d9f0c49acdcac62f4c907a9eb4c3532bbada27013a4cff3dc8a624">str_heating</a>,
- <a class="el" href="display_8h.html#a4984755f821d9f0c49acdcac62f4c907a8aaa4383254e4327e846e45befac54d0">str_heatingready</a>,
- <a class="el" href="display_8h.html#a4984755f821d9f0c49acdcac62f4c907af200a74535586cc849fc6f5f38c85171">str_ready</a>,
- <a class="el" href="display_8h.html#a4984755f821d9f0c49acdcac62f4c907a8e3b0fbb0f42de5df8434e44e0b85272">str_brewing</a>,
- <br />
-   <a class="el" href="display_8h.html#a4984755f821d9f0c49acdcac62f4c907a2bb69120919321c90fe0862abc8a247c">str_cleaning</a>,
- <a class="el" href="display_8h.html#a4984755f821d9f0c49acdcac62f4c907aeaed0d27362049f28692626f30566890">str_error</a>,
- <a class="el" href="display_8h.html#a4984755f821d9f0c49acdcac62f4c907aadf50a104ff26cf8b575c0b68e52a572">str_flow</a>,
- <a class="el" href="display_8h.html#a4984755f821d9f0c49acdcac62f4c907ab88ed9e2db4f34884981000ac617defb">str_bye</a>,
- <br />
-   <a class="el" href="display_8h.html#a4984755f821d9f0c49acdcac62f4c907aa22549c4ff533e248b5fad404f80c6d9">str_last</a>
- <br />
- }<tr class="separator:a4984755f821d9f0c49acdcac62f4c907"><td class="memSeparator" colspan="2"> </td></tr>
- </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
- Functions</h2></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_8h.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_8h.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_8h.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_8h.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_8h.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:adf85c9537e38ffe3f1ee356a4638880e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8h.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>
- <tr class="memitem:ac750de2337343c08e5fd88d08316adb2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="display_8h.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_8h.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>
- </table>
- <h2 class="groupheader">Macro Definition Documentation</h2>
- <a class="anchor" id="aa0b13de112401f9608d402bfc5a14d0d"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define DEFAULT_LANG   <a class="el" href="display_8h.html#a681b0c0e7b9408f4c70f8e76da34d080ae89ac8a244131d461364a7638daf0a30">lang_de</a></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Default display language. </p>
- </div>
- </div>
- <a class="anchor" id="ad01ecf7f4d29cece64f84d890e414570"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define DISPLAY_COLS   16</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="abdc19d7f30976562c2d3efce365ef8f4"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define DISPLAY_ROWS   2</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="abc2b684fcc127e93aee54a3a45e25a7c"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define REFRESH_RATE   10</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Display refresh rate in Hz. </p>
- </div>
- </div>
- <h2 class="groupheader">Enumeration Type Documentation</h2>
- <a class="anchor" id="a681b0c0e7b9408f4c70f8e76da34d080"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="display_8h.html#a681b0c0e7b9408f4c70f8e76da34d080">display_lang_t</a></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <table class="fieldtable">
- <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a681b0c0e7b9408f4c70f8e76da34d080ae89ac8a244131d461364a7638daf0a30"></a>lang_de </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a681b0c0e7b9408f4c70f8e76da34d080af59ab6af8bf5947a70c77afafccac15b"></a>lang_en </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a681b0c0e7b9408f4c70f8e76da34d080a8222fe4f6d1104084bbf5a691f4ce644"></a>lang_last </td><td class="fielddoc">
- </td></tr>
- </table>
- </div>
- </div>
- <a class="anchor" id="a4984755f821d9f0c49acdcac62f4c907"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="display_8h.html#a4984755f821d9f0c49acdcac62f4c907">display_strings_t</a></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <table class="fieldtable">
- <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a4984755f821d9f0c49acdcac62f4c907a9eb4c3532bbada27013a4cff3dc8a624"></a>str_heating </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a4984755f821d9f0c49acdcac62f4c907a8aaa4383254e4327e846e45befac54d0"></a>str_heatingready </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a4984755f821d9f0c49acdcac62f4c907af200a74535586cc849fc6f5f38c85171"></a>str_ready </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a4984755f821d9f0c49acdcac62f4c907a8e3b0fbb0f42de5df8434e44e0b85272"></a>str_brewing </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a4984755f821d9f0c49acdcac62f4c907a2bb69120919321c90fe0862abc8a247c"></a>str_cleaning </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a4984755f821d9f0c49acdcac62f4c907aeaed0d27362049f28692626f30566890"></a>str_error </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a4984755f821d9f0c49acdcac62f4c907aadf50a104ff26cf8b575c0b68e52a572"></a>str_flow </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a4984755f821d9f0c49acdcac62f4c907ab88ed9e2db4f34884981000ac617defb"></a>str_bye </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a4984755f821d9f0c49acdcac62f4c907aa22549c4ff533e248b5fad404f80c6d9"></a>str_last </td><td class="fielddoc">
- </td></tr>
- </table>
- </div>
- </div>
- <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="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>
- </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>
|