added suport text/strings
125
Doxygen/html/_c_make_lists_8txt.html
Normal file
@ -0,0 +1,125 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.20"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>ESP32-WROVER-KIT-LCD-DRIVER: main/CMakeLists.txt 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="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.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>
|
||||
<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">ESP32-WROVER-KIT-LCD-DRIVER
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.20 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_c_make_lists_8txt.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- 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 class="header">
|
||||
<div class="summary">
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">main/CMakeLists.txt File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a947758c3656053b91799489dff75eeb1"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="_c_make_lists_8txt.html#a947758c3656053b91799489dff75eeb1">set</a> (srcs "LCD.c" "Driver.c" "Example_Main.c") idf_component_register(SRCS $</td></tr>
|
||||
<tr class="separator:a947758c3656053b91799489dff75eeb1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="a947758c3656053b91799489dff75eeb1"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a947758c3656053b91799489dff75eeb1">◆ </a></span>set()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">set </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">srcs "LCD.c" "Driver.c" "Example_Main.c" </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="_c_make_lists_8txt.html">CMakeLists.txt</a></li>
|
||||
<li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
741
Doxygen/html/_driver_8c.html
Normal file
@ -0,0 +1,741 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.20"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>ESP32-WROVER-KIT-LCD-DRIVER: main/Driver.c 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="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.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>
|
||||
<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">ESP32-WROVER-KIT-LCD-DRIVER
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.20 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_driver_8c.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- 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 class="header">
|
||||
<div class="summary">
|
||||
<a href="#func-members">Functions</a> |
|
||||
<a href="#var-members">Variables</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">Driver.c File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>write the Framebuffer
|
||||
<a href="#details">More...</a></p>
|
||||
<div class="textblock"><code>#include "<a class="el" href="_driver_8h_source.html">Driver.h</a>"</code><br />
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for Driver.c:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8c__incl.png" border="0" usemap="#amain_2_driver_8c" alt=""/></div>
|
||||
<map name="main_2_driver_8c" id="amain_2_driver_8c">
|
||||
<area shape="rect" title="write the Framebuffer" alt="" coords="356,5,455,32"/>
|
||||
<area shape="rect" href="_driver_8h.html" title=" " alt="" coords="372,80,439,107"/>
|
||||
<area shape="rect" title=" " alt="" coords="5,155,67,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="91,155,155,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="179,155,245,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="269,155,401,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="425,155,529,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="554,155,646,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="671,155,815,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="839,155,945,181"/>
|
||||
</map>
|
||||
</div>
|
||||
</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:acfaa6e6c39d79e04fadf512cf9ca3944"><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8c.html#acfaa6e6c39d79e04fadf512cf9ca3944">vDriver_GetId</a> (void)</td></tr>
|
||||
<tr class="memdesc:acfaa6e6c39d79e04fadf512cf9ca3944"><td class="mdescLeft"> </td><td class="mdescRight">get LCD driver chip id <a href="_driver_8c.html#acfaa6e6c39d79e04fadf512cf9ca3944">More...</a><br /></td></tr>
|
||||
<tr class="separator:acfaa6e6c39d79e04fadf512cf9ca3944"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3d6cd2f0685caf993fd7455dd100dd7c"><td class="memItemLeft" align="right" valign="top">static esp_err_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8c.html#a3d6cd2f0685caf993fd7455dd100dd7c">iDriver_sendLineFinish</a> (void)</td></tr>
|
||||
<tr class="memdesc:a3d6cd2f0685caf993fd7455dd100dd7c"><td class="mdescLeft"> </td><td class="mdescRight">send finish after line <a href="_driver_8c.html#a3d6cd2f0685caf993fd7455dd100dd7c">More...</a><br /></td></tr>
|
||||
<tr class="separator:a3d6cd2f0685caf993fd7455dd100dd7c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae2d5a9bae2c3a62f89e2cc83cc36a61e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8c.html#ae2d5a9bae2c3a62f89e2cc83cc36a61e">vDriver_spiPreTransferCallback</a> (spi_transaction_t *t)</td></tr>
|
||||
<tr class="memdesc:ae2d5a9bae2c3a62f89e2cc83cc36a61e"><td class="mdescLeft"> </td><td class="mdescRight">Pre Transfer Callback. <a href="_driver_8c.html#ae2d5a9bae2c3a62f89e2cc83cc36a61e">More...</a><br /></td></tr>
|
||||
<tr class="separator:ae2d5a9bae2c3a62f89e2cc83cc36a61e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3ce4cd1bae3e49f2d06a880446db54d4"><td class="memItemLeft" align="right" valign="top">esp_err_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8c.html#a3ce4cd1bae3e49f2d06a880446db54d4">iDriver_sendCmd</a> (const uint8_t u8Cmd)</td></tr>
|
||||
<tr class="memdesc:a3ce4cd1bae3e49f2d06a880446db54d4"><td class="mdescLeft"> </td><td class="mdescRight">Send a command to the LCD. <a href="_driver_8c.html#a3ce4cd1bae3e49f2d06a880446db54d4">More...</a><br /></td></tr>
|
||||
<tr class="separator:a3ce4cd1bae3e49f2d06a880446db54d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab611c2d5911c284b757197882ea227be"><td class="memItemLeft" align="right" valign="top">static esp_err_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8c.html#ab611c2d5911c284b757197882ea227be">iDriver_sendLines</a> (uint16_t u16Ypos, uint16_t *pu16Linedata)</td></tr>
|
||||
<tr class="memdesc:ab611c2d5911c284b757197882ea227be"><td class="mdescLeft"> </td><td class="mdescRight">send line to lcd chip <a href="_driver_8c.html#ab611c2d5911c284b757197882ea227be">More...</a><br /></td></tr>
|
||||
<tr class="separator:ab611c2d5911c284b757197882ea227be"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a066209485105862c60c5f9393caa48be"><td class="memItemLeft" align="right" valign="top">esp_err_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8c.html#a066209485105862c60c5f9393caa48be">iDriver_SendData</a> (const uint8_t *pu8Data, uint16_t u16Len)</td></tr>
|
||||
<tr class="memdesc:a066209485105862c60c5f9393caa48be"><td class="mdescLeft"> </td><td class="mdescRight">Send data to the LCD. <a href="_driver_8c.html#a066209485105862c60c5f9393caa48be">More...</a><br /></td></tr>
|
||||
<tr class="separator:a066209485105862c60c5f9393caa48be"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3ce1541687c13e00a1cc1d4d7ff564aa"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8c.html#a3ce1541687c13e00a1cc1d4d7ff564aa">vDriver_getFramenufferPerLine</a> (uint16_t *pu16Dest, uint16_t u16Line, uint16_t u16Linect, uint16_t ***<a class="el" href="_l_c_d_8c.html#a1cf4497f1e3b602bc54e6f42ea73d9ed">pu16Framebuffer</a>)</td></tr>
|
||||
<tr class="memdesc:a3ce1541687c13e00a1cc1d4d7ff564aa"><td class="mdescLeft"> </td><td class="mdescRight">Get the pixel data for a set of lines (with implied line size of 320) <a href="_driver_8c.html#a3ce1541687c13e00a1cc1d4d7ff564aa">More...</a><br /></td></tr>
|
||||
<tr class="separator:a3ce1541687c13e00a1cc1d4d7ff564aa"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:adb1369972e80eb05d5e831cbc7cf3d4f"><td class="memItemLeft" align="right" valign="top">esp_err_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8c.html#adb1369972e80eb05d5e831cbc7cf3d4f">vDriver_init</a> (void)</td></tr>
|
||||
<tr class="memdesc:adb1369972e80eb05d5e831cbc7cf3d4f"><td class="mdescLeft"> </td><td class="mdescRight">Initialize the driver. <a href="_driver_8c.html#adb1369972e80eb05d5e831cbc7cf3d4f">More...</a><br /></td></tr>
|
||||
<tr class="separator:adb1369972e80eb05d5e831cbc7cf3d4f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a62a79453d5cfaf0693a21714162f22d4"><td class="memItemLeft" align="right" valign="top">esp_err_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8c.html#a62a79453d5cfaf0693a21714162f22d4">iDriver_writeFramebuffer</a> (uint16_t ***<a class="el" href="_l_c_d_8c.html#a1cf4497f1e3b602bc54e6f42ea73d9ed">pu16Framebuffer</a>)</td></tr>
|
||||
<tr class="memdesc:a62a79453d5cfaf0693a21714162f22d4"><td class="mdescLeft"> </td><td class="mdescRight">write framebuffer to LCD via SPI <a href="_driver_8c.html#a62a79453d5cfaf0693a21714162f22d4">More...</a><br /></td></tr>
|
||||
<tr class="separator:a62a79453d5cfaf0693a21714162f22d4"><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:af04b0de520c6e42f039c5edf47b13dc2"><td class="memItemLeft" align="right" valign="top">spi_device_handle_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8c.html#af04b0de520c6e42f039c5edf47b13dc2">spi</a></td></tr>
|
||||
<tr class="separator:af04b0de520c6e42f039c5edf47b13dc2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9afae6881efba341049aa70a18412c92"><td class="memItemLeft" align="right" valign="top">uint16_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8c.html#a9afae6881efba341049aa70a18412c92">lines</a> [2]</td></tr>
|
||||
<tr class="separator:a9afae6881efba341049aa70a18412c92"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0cf1d2efd4835b68210776d5c130abd8"><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8c.html#a0cf1d2efd4835b68210776d5c130abd8">sending_line</a> =-1</td></tr>
|
||||
<tr class="separator:a0cf1d2efd4835b68210776d5c130abd8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac797ff8a3dcc46966bb645519d99c822"><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8c.html#ac797ff8a3dcc46966bb645519d99c822">calc_line</a> =0</td></tr>
|
||||
<tr class="separator:ac797ff8a3dcc46966bb645519d99c822"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a16670a27e1bd7092e32c99bb10c912ee"><td class="memItemLeft" align="right" valign="top">static DRAM_ATTR const <a class="el" href="structlcd__init__cmd__t.html">lcd_init_cmd_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8c.html#a16670a27e1bd7092e32c99bb10c912ee">st_init_cmds</a> []</td></tr>
|
||||
<tr class="separator:a16670a27e1bd7092e32c99bb10c912ee"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6aa4436d527ed2c7be6421f98e864938"><td class="memItemLeft" align="right" valign="top">static DRAM_ATTR const <a class="el" href="structlcd__init__cmd__t.html">lcd_init_cmd_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8c.html#a6aa4436d527ed2c7be6421f98e864938">ili_init_cmds</a> []</td></tr>
|
||||
<tr class="separator:a6aa4436d527ed2c7be6421f98e864938"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>write the Framebuffer </p>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section version"><dt>Version</dt><dd>V1.0 </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>03.11.2020</dd></dl>
|
||||
<p>This code used SPI to write data to the LCD driver like ILI9341 or ST7789V. </p>
|
||||
</div><h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="a3ce4cd1bae3e49f2d06a880446db54d4"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a3ce4cd1bae3e49f2d06a880446db54d4">◆ </a></span>iDriver_sendCmd()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">esp_err_t iDriver_sendCmd </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const uint8_t </td>
|
||||
<td class="paramname"><em>u8Cmd</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Send a command to the LCD. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">const</td><td>uint8_t u8Cmd </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>esp error code </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>3.11.2020</dd></dl>
|
||||
<p>Send a command to the LCD. Uses spi_device_polling_transmit, which waits until the transfer is complete.</p>
|
||||
<p>Since command transactions are usually small, they are handled in polling mode for higher speed. The overhead of interrupt transactions is more than just waiting for the transaction to complete. </p>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8c_a3ce4cd1bae3e49f2d06a880446db54d4_icgraph.png" border="0" usemap="#a_driver_8c_a3ce4cd1bae3e49f2d06a880446db54d4_icgraph" alt=""/></div>
|
||||
<map name="_driver_8c_a3ce4cd1bae3e49f2d06a880446db54d4_icgraph" id="a_driver_8c_a3ce4cd1bae3e49f2d06a880446db54d4_icgraph">
|
||||
<area shape="rect" title="Send a command to the LCD." alt="" coords="541,31,664,57"/>
|
||||
<area shape="rect" href="_driver_8c.html#acfaa6e6c39d79e04fadf512cf9ca3944" title="get LCD driver chip id" alt="" coords="391,5,493,32"/>
|
||||
<area shape="rect" href="_driver_8h.html#adb1369972e80eb05d5e831cbc7cf3d4f" title="Initialize the driver." alt="" coords="256,31,343,57"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a4d0719889f64bf0c82dd5adc3a26adf3" title="init" alt="" coords="132,31,208,57"/>
|
||||
<area shape="rect" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,31,84,57"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a066209485105862c60c5f9393caa48be"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a066209485105862c60c5f9393caa48be">◆ </a></span>iDriver_SendData()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">esp_err_t iDriver_SendData </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">const uint8_t * </td>
|
||||
<td class="paramname"><em>pu8Data</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint16_t </td>
|
||||
<td class="paramname"><em>u16Len</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Send data to the LCD. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">const</td><td>uint8_t *pu8Data </td></tr>
|
||||
<tr><td class="paramname">uint16_t</td><td>u16Len </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>esp error code </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>3.11.2020</dd></dl>
|
||||
<p>Send data to the LCD. Uses spi_device_polling_transmit, which waits until the transfer is complete.</p>
|
||||
<p>Since data transactions are usually small, they are handled in polling mode for higher speed. The overhead of interrupt transactions is more than just waiting for the transaction to complete. </p>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8c_a066209485105862c60c5f9393caa48be_icgraph.png" border="0" usemap="#a_driver_8c_a066209485105862c60c5f9393caa48be_icgraph" alt=""/></div>
|
||||
<map name="_driver_8c_a066209485105862c60c5f9393caa48be_icgraph" id="a_driver_8c_a066209485105862c60c5f9393caa48be_icgraph">
|
||||
<area shape="rect" title="Send data to the LCD." alt="" coords="391,5,515,32"/>
|
||||
<area shape="rect" href="_driver_8h.html#adb1369972e80eb05d5e831cbc7cf3d4f" title="Initialize the driver." alt="" coords="256,5,343,32"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a4d0719889f64bf0c82dd5adc3a26adf3" title="init" alt="" coords="132,5,208,32"/>
|
||||
<area shape="rect" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a3d6cd2f0685caf993fd7455dd100dd7c"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a3d6cd2f0685caf993fd7455dd100dd7c">◆ </a></span>iDriver_sendLineFinish()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">static esp_err_t iDriver_sendLineFinish </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>send finish after line </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">void</td><td></td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>esp error code </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>3.11.2020 </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8c_a3d6cd2f0685caf993fd7455dd100dd7c_icgraph.png" border="0" usemap="#a_driver_8c_a3d6cd2f0685caf993fd7455dd100dd7c_icgraph" alt=""/></div>
|
||||
<map name="_driver_8c_a3d6cd2f0685caf993fd7455dd100dd7c_icgraph" id="a_driver_8c_a3d6cd2f0685caf993fd7455dd100dd7c_icgraph">
|
||||
<area shape="rect" title="send finish after line" alt="" coords="549,31,703,57"/>
|
||||
<area shape="rect" href="_driver_8h.html#a62a79453d5cfaf0693a21714162f22d4" title="write framebuffer to LCD via SPI" alt="" coords="337,31,501,57"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a95f7c4fb0d7de1cb623b52031aad3fe8" title="clear complete framebuffer with a color" alt="" coords="132,5,289,32"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a305dd37530a1617090bbc448e2e40d26" title="write string/text into framebuffer" alt="" coords="150,56,271,83"/>
|
||||
<area shape="rect" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,31,84,57"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ab611c2d5911c284b757197882ea227be"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ab611c2d5911c284b757197882ea227be">◆ </a></span>iDriver_sendLines()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">static esp_err_t iDriver_sendLines </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint16_t </td>
|
||||
<td class="paramname"><em>u16Ypos</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint16_t * </td>
|
||||
<td class="paramname"><em>pu16Linedata</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>send line to lcd chip </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">uint16_t</td><td>u16Ypos </td></tr>
|
||||
<tr><td class="paramname">uint16_t</td><td>*pu16Linedata </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>esp error code </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>3.11.2020</dd></dl>
|
||||
<p>To send a set of lines we have to send a command, 2 data bytes, another command, 2 more data bytes and another command before sending the line data itself; a total of 6 transactions. (We can't put all of this in just one transaction because the D/C line needs to be toggled in the middle.) This routine queues these commands up as interrupt transactions so they get sent faster (compared to calling spi_device_transmit several times), and at the mean while the lines for next transactions can get calculated. </p>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8c_ab611c2d5911c284b757197882ea227be_icgraph.png" border="0" usemap="#a_driver_8c_ab611c2d5911c284b757197882ea227be_icgraph" alt=""/></div>
|
||||
<map name="_driver_8c_ab611c2d5911c284b757197882ea227be_icgraph" id="a_driver_8c_ab611c2d5911c284b757197882ea227be_icgraph">
|
||||
<area shape="rect" title="send line to lcd chip" alt="" coords="549,31,675,57"/>
|
||||
<area shape="rect" href="_driver_8h.html#a62a79453d5cfaf0693a21714162f22d4" title="write framebuffer to LCD via SPI" alt="" coords="337,31,501,57"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a95f7c4fb0d7de1cb623b52031aad3fe8" title="clear complete framebuffer with a color" alt="" coords="132,5,289,32"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a305dd37530a1617090bbc448e2e40d26" title="write string/text into framebuffer" alt="" coords="150,56,271,83"/>
|
||||
<area shape="rect" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,31,84,57"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a62a79453d5cfaf0693a21714162f22d4"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a62a79453d5cfaf0693a21714162f22d4">◆ </a></span>iDriver_writeFramebuffer()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">esp_err_t iDriver_writeFramebuffer </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint16_t *** </td>
|
||||
<td class="paramname"><em>pu16Framebuffer</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>write framebuffer to LCD via SPI </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">uint16_t</td><td>***pu16Framebuffer </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>esp error code </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>3.11.2020 </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8c_a62a79453d5cfaf0693a21714162f22d4_cgraph.png" border="0" usemap="#a_driver_8c_a62a79453d5cfaf0693a21714162f22d4_cgraph" alt=""/></div>
|
||||
<map name="_driver_8c_a62a79453d5cfaf0693a21714162f22d4_cgraph" id="a_driver_8c_a62a79453d5cfaf0693a21714162f22d4_cgraph">
|
||||
<area shape="rect" title="write framebuffer to LCD via SPI" alt="" coords="5,56,169,83"/>
|
||||
<area shape="rect" href="_driver_8c.html#a3d6cd2f0685caf993fd7455dd100dd7c" title="send finish after line" alt="" coords="241,5,395,32"/>
|
||||
<area shape="rect" href="_driver_8c.html#ab611c2d5911c284b757197882ea227be" title="send line to lcd chip" alt="" coords="255,56,381,83"/>
|
||||
<area shape="rect" href="_driver_8c.html#a3ce1541687c13e00a1cc1d4d7ff564aa" title="Get the pixel data for a set of lines (with implied line size of 320)" alt="" coords="217,107,419,133"/>
|
||||
</map>
|
||||
</div>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8c_a62a79453d5cfaf0693a21714162f22d4_icgraph.png" border="0" usemap="#a_driver_8c_a62a79453d5cfaf0693a21714162f22d4_icgraph" alt=""/></div>
|
||||
<map name="_driver_8c_a62a79453d5cfaf0693a21714162f22d4_icgraph" id="a_driver_8c_a62a79453d5cfaf0693a21714162f22d4_icgraph">
|
||||
<area shape="rect" title="write framebuffer to LCD via SPI" alt="" coords="337,31,501,57"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a95f7c4fb0d7de1cb623b52031aad3fe8" title="clear complete framebuffer with a color" alt="" coords="132,5,289,32"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a305dd37530a1617090bbc448e2e40d26" title="write string/text into framebuffer" alt="" coords="150,56,271,83"/>
|
||||
<area shape="rect" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,31,84,57"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a3ce1541687c13e00a1cc1d4d7ff564aa"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a3ce1541687c13e00a1cc1d4d7ff564aa">◆ </a></span>vDriver_getFramenufferPerLine()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void vDriver_getFramenufferPerLine </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint16_t * </td>
|
||||
<td class="paramname"><em>pu16Dest</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint16_t </td>
|
||||
<td class="paramname"><em>u16Line</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint16_t </td>
|
||||
<td class="paramname"><em>u16Linect</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint16_t *** </td>
|
||||
<td class="paramname"><em>pu16Framebuffer</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Get the pixel data for a set of lines (with implied line size of 320) </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">uint16_t</td><td>*pu16Dest </td></tr>
|
||||
<tr><td class="paramname">uint16_t</td><td>u16Line </td></tr>
|
||||
<tr><td class="paramname">uint16_t</td><td>u16Linect </td></tr>
|
||||
<tr><td class="paramname">uint16_t</td><td>***pu16Framebuffer </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>3.11.2020 </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8c_a3ce1541687c13e00a1cc1d4d7ff564aa_icgraph.png" border="0" usemap="#a_driver_8c_a3ce1541687c13e00a1cc1d4d7ff564aa_icgraph" alt=""/></div>
|
||||
<map name="_driver_8c_a3ce1541687c13e00a1cc1d4d7ff564aa_icgraph" id="a_driver_8c_a3ce1541687c13e00a1cc1d4d7ff564aa_icgraph">
|
||||
<area shape="rect" title="Get the pixel data for a set of lines (with implied line size of 320)" alt="" coords="549,31,751,57"/>
|
||||
<area shape="rect" href="_driver_8h.html#a62a79453d5cfaf0693a21714162f22d4" title="write framebuffer to LCD via SPI" alt="" coords="337,31,501,57"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a95f7c4fb0d7de1cb623b52031aad3fe8" title="clear complete framebuffer with a color" alt="" coords="132,5,289,32"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a305dd37530a1617090bbc448e2e40d26" title="write string/text into framebuffer" alt="" coords="150,56,271,83"/>
|
||||
<area shape="rect" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,31,84,57"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="acfaa6e6c39d79e04fadf512cf9ca3944"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#acfaa6e6c39d79e04fadf512cf9ca3944">◆ </a></span>vDriver_GetId()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint32_t vDriver_GetId </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>get LCD driver chip id </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">void</td><td></td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>uint32_t </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>3.11.2020 </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8c_acfaa6e6c39d79e04fadf512cf9ca3944_cgraph.png" border="0" usemap="#a_driver_8c_acfaa6e6c39d79e04fadf512cf9ca3944_cgraph" alt=""/></div>
|
||||
<map name="_driver_8c_acfaa6e6c39d79e04fadf512cf9ca3944_cgraph" id="a_driver_8c_acfaa6e6c39d79e04fadf512cf9ca3944_cgraph">
|
||||
<area shape="rect" title="get LCD driver chip id" alt="" coords="5,5,108,32"/>
|
||||
<area shape="rect" href="_driver_8c.html#a3ce4cd1bae3e49f2d06a880446db54d4" title="Send a command to the LCD." alt="" coords="156,5,279,32"/>
|
||||
</map>
|
||||
</div>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8c_acfaa6e6c39d79e04fadf512cf9ca3944_icgraph.png" border="0" usemap="#a_driver_8c_acfaa6e6c39d79e04fadf512cf9ca3944_icgraph" alt=""/></div>
|
||||
<map name="_driver_8c_acfaa6e6c39d79e04fadf512cf9ca3944_icgraph" id="a_driver_8c_acfaa6e6c39d79e04fadf512cf9ca3944_icgraph">
|
||||
<area shape="rect" title="get LCD driver chip id" alt="" coords="391,5,493,32"/>
|
||||
<area shape="rect" href="_driver_8h.html#adb1369972e80eb05d5e831cbc7cf3d4f" title="Initialize the driver." alt="" coords="256,5,343,32"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a4d0719889f64bf0c82dd5adc3a26adf3" title="init" alt="" coords="132,5,208,32"/>
|
||||
<area shape="rect" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="adb1369972e80eb05d5e831cbc7cf3d4f"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#adb1369972e80eb05d5e831cbc7cf3d4f">◆ </a></span>vDriver_init()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">esp_err_t vDriver_init </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Initialize the driver. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">void</td><td></td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>esp error code </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>3.11.2020 </dd></dl>
|
||||
<p>Enable backlight</p>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8c_adb1369972e80eb05d5e831cbc7cf3d4f_cgraph.png" border="0" usemap="#a_driver_8c_adb1369972e80eb05d5e831cbc7cf3d4f_cgraph" alt=""/></div>
|
||||
<map name="_driver_8c_adb1369972e80eb05d5e831cbc7cf3d4f_cgraph" id="a_driver_8c_adb1369972e80eb05d5e831cbc7cf3d4f_cgraph">
|
||||
<area shape="rect" title="Initialize the driver." alt="" coords="5,54,92,81"/>
|
||||
<area shape="rect" href="_driver_8c.html#a3ce4cd1bae3e49f2d06a880446db54d4" title="Send a command to the LCD." alt="" coords="393,29,516,56"/>
|
||||
<area shape="rect" href="_driver_8c.html#a066209485105862c60c5f9393caa48be" title="Send data to the LCD." alt="" coords="181,29,305,56"/>
|
||||
<area shape="rect" href="_driver_8c.html#acfaa6e6c39d79e04fadf512cf9ca3944" title="get LCD driver chip id" alt="" coords="191,80,294,106"/>
|
||||
<area shape="rect" href="_driver_8c.html#ae2d5a9bae2c3a62f89e2cc83cc36a61e" title="Pre Transfer Callback." alt="" coords="140,130,345,157"/>
|
||||
</map>
|
||||
</div>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8c_adb1369972e80eb05d5e831cbc7cf3d4f_icgraph.png" border="0" usemap="#a_driver_8c_adb1369972e80eb05d5e831cbc7cf3d4f_icgraph" alt=""/></div>
|
||||
<map name="_driver_8c_adb1369972e80eb05d5e831cbc7cf3d4f_icgraph" id="a_driver_8c_adb1369972e80eb05d5e831cbc7cf3d4f_icgraph">
|
||||
<area shape="rect" title="Initialize the driver." alt="" coords="256,5,343,32"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a4d0719889f64bf0c82dd5adc3a26adf3" title="init" alt="" coords="132,5,208,32"/>
|
||||
<area shape="rect" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ae2d5a9bae2c3a62f89e2cc83cc36a61e"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ae2d5a9bae2c3a62f89e2cc83cc36a61e">◆ </a></span>vDriver_spiPreTransferCallback()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void vDriver_spiPreTransferCallback </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">spi_transaction_t * </td>
|
||||
<td class="paramname"><em>t</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Pre Transfer Callback. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">spi_transaction_t</td><td>*t </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>3.11.2020</dd></dl>
|
||||
<p>This function is called (in irq context!) just before a transmission starts. It will set the D/C line to the value indicated in the user field. </p>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8c_ae2d5a9bae2c3a62f89e2cc83cc36a61e_icgraph.png" border="0" usemap="#a_driver_8c_ae2d5a9bae2c3a62f89e2cc83cc36a61e_icgraph" alt=""/></div>
|
||||
<map name="_driver_8c_ae2d5a9bae2c3a62f89e2cc83cc36a61e_icgraph" id="a_driver_8c_ae2d5a9bae2c3a62f89e2cc83cc36a61e_icgraph">
|
||||
<area shape="rect" title="Pre Transfer Callback." alt="" coords="391,5,596,32"/>
|
||||
<area shape="rect" href="_driver_8h.html#adb1369972e80eb05d5e831cbc7cf3d4f" title="Initialize the driver." alt="" coords="256,5,343,32"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a4d0719889f64bf0c82dd5adc3a26adf3" title="init" alt="" coords="132,5,208,32"/>
|
||||
<area shape="rect" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Variable Documentation</h2>
|
||||
<a id="ac797ff8a3dcc46966bb645519d99c822"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ac797ff8a3dcc46966bb645519d99c822">◆ </a></span>calc_line</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int16_t calc_line =0</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a6aa4436d527ed2c7be6421f98e864938"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a6aa4436d527ed2c7be6421f98e864938">◆ </a></span>ili_init_cmds</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">DRAM_ATTR const <a class="el" href="structlcd__init__cmd__t.html">lcd_init_cmd_t</a> ili_init_cmds[]</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a9afae6881efba341049aa70a18412c92"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a9afae6881efba341049aa70a18412c92">◆ </a></span>lines</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint16_t* lines[2]</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a0cf1d2efd4835b68210776d5c130abd8"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a0cf1d2efd4835b68210776d5c130abd8">◆ </a></span>sending_line</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int16_t sending_line =-1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="af04b0de520c6e42f039c5edf47b13dc2"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#af04b0de520c6e42f039c5edf47b13dc2">◆ </a></span>spi</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">spi_device_handle_t spi</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a16670a27e1bd7092e32c99bb10c912ee"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a16670a27e1bd7092e32c99bb10c912ee">◆ </a></span>st_init_cmds</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">DRAM_ATTR const <a class="el" href="structlcd__init__cmd__t.html">lcd_init_cmd_t</a> st_init_cmds[]</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_5c982d53a68cdbcd421152b4020263a9.html">main</a></li><li class="navelem"><a class="el" href="_driver_8c.html">Driver.c</a></li>
|
||||
<li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
18
Doxygen/html/_driver_8c.js
Normal file
@ -0,0 +1,18 @@
|
||||
var _driver_8c =
|
||||
[
|
||||
[ "iDriver_sendCmd", "_driver_8c.html#a3ce4cd1bae3e49f2d06a880446db54d4", null ],
|
||||
[ "iDriver_SendData", "_driver_8c.html#a066209485105862c60c5f9393caa48be", null ],
|
||||
[ "iDriver_sendLineFinish", "_driver_8c.html#a3d6cd2f0685caf993fd7455dd100dd7c", null ],
|
||||
[ "iDriver_sendLines", "_driver_8c.html#ab611c2d5911c284b757197882ea227be", null ],
|
||||
[ "iDriver_writeFramebuffer", "_driver_8c.html#a62a79453d5cfaf0693a21714162f22d4", null ],
|
||||
[ "vDriver_getFramenufferPerLine", "_driver_8c.html#a3ce1541687c13e00a1cc1d4d7ff564aa", null ],
|
||||
[ "vDriver_GetId", "_driver_8c.html#acfaa6e6c39d79e04fadf512cf9ca3944", null ],
|
||||
[ "vDriver_init", "_driver_8c.html#adb1369972e80eb05d5e831cbc7cf3d4f", null ],
|
||||
[ "vDriver_spiPreTransferCallback", "_driver_8c.html#ae2d5a9bae2c3a62f89e2cc83cc36a61e", null ],
|
||||
[ "calc_line", "_driver_8c.html#ac797ff8a3dcc46966bb645519d99c822", null ],
|
||||
[ "ili_init_cmds", "_driver_8c.html#a6aa4436d527ed2c7be6421f98e864938", null ],
|
||||
[ "lines", "_driver_8c.html#a9afae6881efba341049aa70a18412c92", null ],
|
||||
[ "sending_line", "_driver_8c.html#a0cf1d2efd4835b68210776d5c130abd8", null ],
|
||||
[ "spi", "_driver_8c.html#af04b0de520c6e42f039c5edf47b13dc2", null ],
|
||||
[ "st_init_cmds", "_driver_8c.html#a16670a27e1bd7092e32c99bb10c912ee", null ]
|
||||
];
|
12
Doxygen/html/_driver_8c__incl.map
Normal file
@ -0,0 +1,12 @@
|
||||
<map id="main/Driver.c" name="main/Driver.c">
|
||||
<area shape="rect" id="node1" title="write the Framebuffer" alt="" coords="356,5,455,32"/>
|
||||
<area shape="rect" id="node2" href="$_driver_8h.html" title=" " alt="" coords="372,80,439,107"/>
|
||||
<area shape="rect" id="node3" title=" " alt="" coords="5,155,67,181"/>
|
||||
<area shape="rect" id="node4" title=" " alt="" coords="91,155,155,181"/>
|
||||
<area shape="rect" id="node5" title=" " alt="" coords="179,155,245,181"/>
|
||||
<area shape="rect" id="node6" title=" " alt="" coords="269,155,401,181"/>
|
||||
<area shape="rect" id="node7" title=" " alt="" coords="425,155,529,181"/>
|
||||
<area shape="rect" id="node8" title=" " alt="" coords="554,155,646,181"/>
|
||||
<area shape="rect" id="node9" title=" " alt="" coords="671,155,815,181"/>
|
||||
<area shape="rect" id="node10" title=" " alt="" coords="839,155,945,181"/>
|
||||
</map>
|
1
Doxygen/html/_driver_8c__incl.md5
Normal file
@ -0,0 +1 @@
|
||||
929d956fae6be963f9f1df38b5617f8a
|
BIN
Doxygen/html/_driver_8c__incl.png
Normal file
After Width: | Height: | Size: 20 KiB |
@ -0,0 +1,6 @@
|
||||
<map id="iDriver_SendData" name="iDriver_SendData">
|
||||
<area shape="rect" id="node1" title="Send data to the LCD." alt="" coords="391,5,515,32"/>
|
||||
<area shape="rect" id="node2" href="$_driver_8h.html#adb1369972e80eb05d5e831cbc7cf3d4f" title="Initialize the driver." alt="" coords="256,5,343,32"/>
|
||||
<area shape="rect" id="node3" href="$_l_c_d_8h.html#a4d0719889f64bf0c82dd5adc3a26adf3" title="init" alt="" coords="132,5,208,32"/>
|
||||
<area shape="rect" id="node4" href="$_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
87e94705023797a8844d9c8a723768d0
|
After Width: | Height: | Size: 4.0 KiB |
@ -0,0 +1,7 @@
|
||||
<map id="vDriver_getFramenufferPerLine" name="vDriver_getFramenufferPerLine">
|
||||
<area shape="rect" id="node1" title="Get the pixel data for a set of lines (with implied line size of 320)" alt="" coords="549,31,751,57"/>
|
||||
<area shape="rect" id="node2" href="$_driver_8h.html#a62a79453d5cfaf0693a21714162f22d4" title="write framebuffer to LCD via SPI" alt="" coords="337,31,501,57"/>
|
||||
<area shape="rect" id="node3" href="$_l_c_d_8h.html#a95f7c4fb0d7de1cb623b52031aad3fe8" title="clear complete framebuffer with a color" alt="" coords="132,5,289,32"/>
|
||||
<area shape="rect" id="node5" href="$_l_c_d_8h.html#a305dd37530a1617090bbc448e2e40d26" title="write string/text into framebuffer" alt="" coords="150,56,271,83"/>
|
||||
<area shape="rect" id="node4" href="$_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,31,84,57"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
b0a576bfbe37edb5240df528fd35ea02
|
After Width: | Height: | Size: 9.5 KiB |
@ -0,0 +1,7 @@
|
||||
<map id="iDriver_sendCmd" name="iDriver_sendCmd">
|
||||
<area shape="rect" id="node1" title="Send a command to the LCD." alt="" coords="541,31,664,57"/>
|
||||
<area shape="rect" id="node2" href="$_driver_8c.html#acfaa6e6c39d79e04fadf512cf9ca3944" title="get LCD driver chip id" alt="" coords="391,5,493,32"/>
|
||||
<area shape="rect" id="node3" href="$_driver_8h.html#adb1369972e80eb05d5e831cbc7cf3d4f" title="Initialize the driver." alt="" coords="256,31,343,57"/>
|
||||
<area shape="rect" id="node4" href="$_l_c_d_8h.html#a4d0719889f64bf0c82dd5adc3a26adf3" title="init" alt="" coords="132,31,208,57"/>
|
||||
<area shape="rect" id="node5" href="$_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,31,84,57"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
0a74db58bdb37ec1570da09f3a029563
|
After Width: | Height: | Size: 6.9 KiB |
@ -0,0 +1,7 @@
|
||||
<map id="iDriver_sendLineFinish" name="iDriver_sendLineFinish">
|
||||
<area shape="rect" id="node1" title="send finish after line" alt="" coords="549,31,703,57"/>
|
||||
<area shape="rect" id="node2" href="$_driver_8h.html#a62a79453d5cfaf0693a21714162f22d4" title="write framebuffer to LCD via SPI" alt="" coords="337,31,501,57"/>
|
||||
<area shape="rect" id="node3" href="$_l_c_d_8h.html#a95f7c4fb0d7de1cb623b52031aad3fe8" title="clear complete framebuffer with a color" alt="" coords="132,5,289,32"/>
|
||||
<area shape="rect" id="node5" href="$_l_c_d_8h.html#a305dd37530a1617090bbc448e2e40d26" title="write string/text into framebuffer" alt="" coords="150,56,271,83"/>
|
||||
<area shape="rect" id="node4" href="$_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,31,84,57"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
04639fec66358c2e2a4af178a7736964
|
After Width: | Height: | Size: 9.0 KiB |
@ -0,0 +1,6 @@
|
||||
<map id="iDriver_writeFramebuffer" name="iDriver_writeFramebuffer">
|
||||
<area shape="rect" id="node1" title="write framebuffer to LCD via SPI" alt="" coords="5,56,169,83"/>
|
||||
<area shape="rect" id="node2" href="$_driver_8c.html#a3d6cd2f0685caf993fd7455dd100dd7c" title="send finish after line" alt="" coords="241,5,395,32"/>
|
||||
<area shape="rect" id="node3" href="$_driver_8c.html#ab611c2d5911c284b757197882ea227be" title="send line to lcd chip" alt="" coords="255,56,381,83"/>
|
||||
<area shape="rect" id="node4" href="$_driver_8c.html#a3ce1541687c13e00a1cc1d4d7ff564aa" title="Get the pixel data for a set of lines (with implied line size of 320)" alt="" coords="217,107,419,133"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
582604f63f8b7cfa7226e0f40f2c1d82
|
After Width: | Height: | Size: 7.9 KiB |
@ -0,0 +1,6 @@
|
||||
<map id="iDriver_writeFramebuffer" name="iDriver_writeFramebuffer">
|
||||
<area shape="rect" id="node1" title="write framebuffer to LCD via SPI" alt="" coords="337,31,501,57"/>
|
||||
<area shape="rect" id="node2" href="$_l_c_d_8h.html#a95f7c4fb0d7de1cb623b52031aad3fe8" title="clear complete framebuffer with a color" alt="" coords="132,5,289,32"/>
|
||||
<area shape="rect" id="node4" href="$_l_c_d_8h.html#a305dd37530a1617090bbc448e2e40d26" title="write string/text into framebuffer" alt="" coords="150,56,271,83"/>
|
||||
<area shape="rect" id="node3" href="$_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,31,84,57"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
936641f2810e4adc740d99d19b320932
|
After Width: | Height: | Size: 8.6 KiB |
@ -0,0 +1,7 @@
|
||||
<map id="iDriver_sendLines" name="iDriver_sendLines">
|
||||
<area shape="rect" id="node1" title="send line to lcd chip" alt="" coords="549,31,675,57"/>
|
||||
<area shape="rect" id="node2" href="$_driver_8h.html#a62a79453d5cfaf0693a21714162f22d4" title="write framebuffer to LCD via SPI" alt="" coords="337,31,501,57"/>
|
||||
<area shape="rect" id="node3" href="$_l_c_d_8h.html#a95f7c4fb0d7de1cb623b52031aad3fe8" title="clear complete framebuffer with a color" alt="" coords="132,5,289,32"/>
|
||||
<area shape="rect" id="node5" href="$_l_c_d_8h.html#a305dd37530a1617090bbc448e2e40d26" title="write string/text into framebuffer" alt="" coords="150,56,271,83"/>
|
||||
<area shape="rect" id="node4" href="$_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,31,84,57"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
f863fbdcac95c49253b8a646b952b5af
|
After Width: | Height: | Size: 8.9 KiB |
@ -0,0 +1,4 @@
|
||||
<map id="vDriver_GetId" name="vDriver_GetId">
|
||||
<area shape="rect" id="node1" title="get LCD driver chip id" alt="" coords="5,5,108,32"/>
|
||||
<area shape="rect" id="node2" href="$_driver_8c.html#a3ce4cd1bae3e49f2d06a880446db54d4" title="Send a command to the LCD." alt="" coords="156,5,279,32"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
db1a4c9bc83f67047faacd25a12dbd2c
|
After Width: | Height: | Size: 2.8 KiB |
@ -0,0 +1,6 @@
|
||||
<map id="vDriver_GetId" name="vDriver_GetId">
|
||||
<area shape="rect" id="node1" title="get LCD driver chip id" alt="" coords="391,5,493,32"/>
|
||||
<area shape="rect" id="node2" href="$_driver_8h.html#adb1369972e80eb05d5e831cbc7cf3d4f" title="Initialize the driver." alt="" coords="256,5,343,32"/>
|
||||
<area shape="rect" id="node3" href="$_l_c_d_8h.html#a4d0719889f64bf0c82dd5adc3a26adf3" title="init" alt="" coords="132,5,208,32"/>
|
||||
<area shape="rect" id="node4" href="$_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
d9fcf938c8b0da0555b14d20cd7824ca
|
After Width: | Height: | Size: 4.1 KiB |
@ -0,0 +1,7 @@
|
||||
<map id="vDriver_init" name="vDriver_init">
|
||||
<area shape="rect" id="node1" title="Initialize the driver." alt="" coords="5,54,92,81"/>
|
||||
<area shape="rect" id="node2" href="$_driver_8c.html#a3ce4cd1bae3e49f2d06a880446db54d4" title="Send a command to the LCD." alt="" coords="393,29,516,56"/>
|
||||
<area shape="rect" id="node3" href="$_driver_8c.html#a066209485105862c60c5f9393caa48be" title="Send data to the LCD." alt="" coords="181,29,305,56"/>
|
||||
<area shape="rect" id="node4" href="$_driver_8c.html#acfaa6e6c39d79e04fadf512cf9ca3944" title="get LCD driver chip id" alt="" coords="191,80,294,106"/>
|
||||
<area shape="rect" id="node5" href="$_driver_8c.html#ae2d5a9bae2c3a62f89e2cc83cc36a61e" title="Pre Transfer Callback." alt="" coords="140,130,345,157"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
5a942625b237c68b9e8cc7f41527176c
|
After Width: | Height: | Size: 13 KiB |
@ -0,0 +1,5 @@
|
||||
<map id="vDriver_init" name="vDriver_init">
|
||||
<area shape="rect" id="node1" title="Initialize the driver." alt="" coords="256,5,343,32"/>
|
||||
<area shape="rect" id="node2" href="$_l_c_d_8h.html#a4d0719889f64bf0c82dd5adc3a26adf3" title="init" alt="" coords="132,5,208,32"/>
|
||||
<area shape="rect" id="node3" href="$_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
0e4383382538e0b889922a824c9d21d0
|
After Width: | Height: | Size: 2.7 KiB |
@ -0,0 +1,6 @@
|
||||
<map id="vDriver_spiPreTransferCallback" name="vDriver_spiPreTransferCallback">
|
||||
<area shape="rect" id="node1" title="Pre Transfer Callback." alt="" coords="391,5,596,32"/>
|
||||
<area shape="rect" id="node2" href="$_driver_8h.html#adb1369972e80eb05d5e831cbc7cf3d4f" title="Initialize the driver." alt="" coords="256,5,343,32"/>
|
||||
<area shape="rect" id="node3" href="$_l_c_d_8h.html#a4d0719889f64bf0c82dd5adc3a26adf3" title="init" alt="" coords="132,5,208,32"/>
|
||||
<area shape="rect" id="node4" href="$_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
4041043fe68829424cf1c148cefa0a86
|
After Width: | Height: | Size: 4.7 KiB |
486
Doxygen/html/_driver_8h.html
Normal file
@ -0,0 +1,486 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.20"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>ESP32-WROVER-KIT-LCD-DRIVER: main/Driver.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="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.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>
|
||||
<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">ESP32-WROVER-KIT-LCD-DRIVER
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.20 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_driver_8h.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- 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 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">Driver.h File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include <stdio.h></code><br />
|
||||
<code>#include <stdlib.h></code><br />
|
||||
<code>#include <string.h></code><br />
|
||||
<code>#include "driver/spi_master.h"</code><br />
|
||||
<code>#include "esp_system.h"</code><br />
|
||||
<code>#include "driver/gpio.h"</code><br />
|
||||
<code>#include "freertos/FreeRTOS.h"</code><br />
|
||||
<code>#include "freertos/task.h"</code><br />
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for Driver.h:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8h__incl.png" border="0" usemap="#amain_2_driver_8h" alt=""/></div>
|
||||
<map name="main_2_driver_8h" id="amain_2_driver_8h">
|
||||
<area shape="rect" title=" " alt="" coords="356,5,455,32"/>
|
||||
<area shape="rect" title=" " alt="" coords="5,80,67,107"/>
|
||||
<area shape="rect" title=" " alt="" coords="91,80,155,107"/>
|
||||
<area shape="rect" title=" " alt="" coords="179,80,245,107"/>
|
||||
<area shape="rect" title=" " alt="" coords="269,80,401,107"/>
|
||||
<area shape="rect" title=" " alt="" coords="425,80,529,107"/>
|
||||
<area shape="rect" title=" " alt="" coords="554,80,646,107"/>
|
||||
<area shape="rect" title=" " alt="" coords="671,80,815,107"/>
|
||||
<area shape="rect" title=" " alt="" coords="839,80,945,107"/>
|
||||
</map>
|
||||
</div>
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
This graph shows which files directly or indirectly include this file:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8h__dep__incl.png" border="0" usemap="#amain_2_driver_8hdep" alt=""/></div>
|
||||
<map name="main_2_driver_8hdep" id="amain_2_driver_8hdep">
|
||||
<area shape="rect" title=" " alt="" coords="65,5,164,32"/>
|
||||
<area shape="rect" href="_driver_8c.html" title="write the Framebuffer" alt="" coords="5,80,104,107"/>
|
||||
<area shape="rect" href="_l_c_d_8c.html" title="sets and writes framebuffer" alt="" coords="129,80,221,107"/>
|
||||
</map>
|
||||
</div>
|
||||
</div>
|
||||
<p><a href="_driver_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="structlcd__init__cmd__t.html">lcd_init_cmd_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:ab92e6ca5a63084dc89b10b01c1f43a36"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8h.html#ab92e6ca5a63084dc89b10b01c1f43a36">LCD_HOST</a>   HSPI_HOST</td></tr>
|
||||
<tr class="separator:ab92e6ca5a63084dc89b10b01c1f43a36"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5c8e512df4a72e57db32aca9123c172f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8h.html#a5c8e512df4a72e57db32aca9123c172f">DMA_CHAN</a>   2</td></tr>
|
||||
<tr class="separator:a5c8e512df4a72e57db32aca9123c172f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4ffa0949bfda52d9c7b37fcb148cbb53"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8h.html#a4ffa0949bfda52d9c7b37fcb148cbb53">PIN_NUM_MISO</a>   25</td></tr>
|
||||
<tr class="separator:a4ffa0949bfda52d9c7b37fcb148cbb53"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a060569807a8819489e6a7b4ee17ad67b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8h.html#a060569807a8819489e6a7b4ee17ad67b">PIN_NUM_MOSI</a>   23</td></tr>
|
||||
<tr class="separator:a060569807a8819489e6a7b4ee17ad67b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a756bcaa6e44d1879623a058849c66fbb"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8h.html#a756bcaa6e44d1879623a058849c66fbb">PIN_NUM_CLK</a>   19</td></tr>
|
||||
<tr class="separator:a756bcaa6e44d1879623a058849c66fbb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6c332c3f862c9e17cb09b32c73516a4a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8h.html#a6c332c3f862c9e17cb09b32c73516a4a">PIN_NUM_CS</a>   22</td></tr>
|
||||
<tr class="separator:a6c332c3f862c9e17cb09b32c73516a4a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3d815411a5730aaa16b29eba886c2f89"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8h.html#a3d815411a5730aaa16b29eba886c2f89">PIN_NUM_DC</a>   21</td></tr>
|
||||
<tr class="separator:a3d815411a5730aaa16b29eba886c2f89"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae182645b129195913db278d6fcec38ae"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8h.html#ae182645b129195913db278d6fcec38ae">PIN_NUM_RST</a>   18</td></tr>
|
||||
<tr class="separator:ae182645b129195913db278d6fcec38ae"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac01f4eafb1a3eff33d14e7595115d9b2"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8h.html#ac01f4eafb1a3eff33d14e7595115d9b2">PIN_NUM_BCKL</a>   5</td></tr>
|
||||
<tr class="separator:ac01f4eafb1a3eff33d14e7595115d9b2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a19693eac3018d3e7800fde141921b812"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8h.html#a19693eac3018d3e7800fde141921b812">LCD_WIDTH</a>   320</td></tr>
|
||||
<tr class="separator:a19693eac3018d3e7800fde141921b812"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a2f29bf2b8ebbade29cf04ca42de44c27"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8h.html#a2f29bf2b8ebbade29cf04ca42de44c27">LCD_HIGH</a>   240</td></tr>
|
||||
<tr class="separator:a2f29bf2b8ebbade29cf04ca42de44c27"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a5d25ddc479bad8adec832512e5b4eece"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8h.html#a5d25ddc479bad8adec832512e5b4eece">PARALLEL_LINES</a>   16</td></tr>
|
||||
<tr class="separator:a5d25ddc479bad8adec832512e5b4eece"><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:af7d58f245cddf61cb03041b87649be87"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87">type_lcd_t</a> { <a class="el" href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87a43969af9123789fbe2dc107d2ba52414">LCD_TYPE_ILI</a> = 1,
|
||||
<a class="el" href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87a81e4b8462aa2094b20d9951ca192e771">LCD_TYPE_ST</a>,
|
||||
<a class="el" href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87a25e54d1c5bfe717fa20bc4773be47639">LCD_TYPE_MAX</a>
|
||||
}</td></tr>
|
||||
<tr class="separator:af7d58f245cddf61cb03041b87649be87"><td class="memSeparator" colspan="2"> </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:adb1369972e80eb05d5e831cbc7cf3d4f"><td class="memItemLeft" align="right" valign="top">esp_err_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8h.html#adb1369972e80eb05d5e831cbc7cf3d4f">vDriver_init</a> (void)</td></tr>
|
||||
<tr class="memdesc:adb1369972e80eb05d5e831cbc7cf3d4f"><td class="mdescLeft"> </td><td class="mdescRight">Initialize the driver. <a href="_driver_8h.html#adb1369972e80eb05d5e831cbc7cf3d4f">More...</a><br /></td></tr>
|
||||
<tr class="separator:adb1369972e80eb05d5e831cbc7cf3d4f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a62a79453d5cfaf0693a21714162f22d4"><td class="memItemLeft" align="right" valign="top">esp_err_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_driver_8h.html#a62a79453d5cfaf0693a21714162f22d4">iDriver_writeFramebuffer</a> (uint16_t ***<a class="el" href="_l_c_d_8c.html#a1cf4497f1e3b602bc54e6f42ea73d9ed">pu16Framebuffer</a>)</td></tr>
|
||||
<tr class="memdesc:a62a79453d5cfaf0693a21714162f22d4"><td class="mdescLeft"> </td><td class="mdescRight">write framebuffer to LCD via SPI <a href="_driver_8h.html#a62a79453d5cfaf0693a21714162f22d4">More...</a><br /></td></tr>
|
||||
<tr class="separator:a62a79453d5cfaf0693a21714162f22d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section version"><dt>Version</dt><dd>V1.0 </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>03.11.2020 </dd></dl>
|
||||
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a id="a5c8e512df4a72e57db32aca9123c172f"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a5c8e512df4a72e57db32aca9123c172f">◆ </a></span>DMA_CHAN</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define DMA_CHAN   2</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a2f29bf2b8ebbade29cf04ca42de44c27"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a2f29bf2b8ebbade29cf04ca42de44c27">◆ </a></span>LCD_HIGH</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define LCD_HIGH   240</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ab92e6ca5a63084dc89b10b01c1f43a36"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ab92e6ca5a63084dc89b10b01c1f43a36">◆ </a></span>LCD_HOST</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define LCD_HOST   HSPI_HOST</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a19693eac3018d3e7800fde141921b812"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a19693eac3018d3e7800fde141921b812">◆ </a></span>LCD_WIDTH</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define LCD_WIDTH   320</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a5d25ddc479bad8adec832512e5b4eece"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a5d25ddc479bad8adec832512e5b4eece">◆ </a></span>PARALLEL_LINES</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PARALLEL_LINES   16</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ac01f4eafb1a3eff33d14e7595115d9b2"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ac01f4eafb1a3eff33d14e7595115d9b2">◆ </a></span>PIN_NUM_BCKL</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PIN_NUM_BCKL   5</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a756bcaa6e44d1879623a058849c66fbb"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a756bcaa6e44d1879623a058849c66fbb">◆ </a></span>PIN_NUM_CLK</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PIN_NUM_CLK   19</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a6c332c3f862c9e17cb09b32c73516a4a"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a6c332c3f862c9e17cb09b32c73516a4a">◆ </a></span>PIN_NUM_CS</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PIN_NUM_CS   22</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a3d815411a5730aaa16b29eba886c2f89"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a3d815411a5730aaa16b29eba886c2f89">◆ </a></span>PIN_NUM_DC</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PIN_NUM_DC   21</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a4ffa0949bfda52d9c7b37fcb148cbb53"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a4ffa0949bfda52d9c7b37fcb148cbb53">◆ </a></span>PIN_NUM_MISO</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PIN_NUM_MISO   25</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a060569807a8819489e6a7b4ee17ad67b"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a060569807a8819489e6a7b4ee17ad67b">◆ </a></span>PIN_NUM_MOSI</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PIN_NUM_MOSI   23</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ae182645b129195913db278d6fcec38ae"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ae182645b129195913db278d6fcec38ae">◆ </a></span>PIN_NUM_RST</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define PIN_NUM_RST   18</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Enumeration Type Documentation</h2>
|
||||
<a id="af7d58f245cddf61cb03041b87649be87"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#af7d58f245cddf61cb03041b87649be87">◆ </a></span>type_lcd_t</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">enum <a class="el" href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87">type_lcd_t</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
<table class="fieldtable">
|
||||
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="af7d58f245cddf61cb03041b87649be87a43969af9123789fbe2dc107d2ba52414"></a>LCD_TYPE_ILI </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af7d58f245cddf61cb03041b87649be87a81e4b8462aa2094b20d9951ca192e771"></a>LCD_TYPE_ST </td><td class="fielddoc"></td></tr>
|
||||
<tr><td class="fieldname"><a id="af7d58f245cddf61cb03041b87649be87a25e54d1c5bfe717fa20bc4773be47639"></a>LCD_TYPE_MAX </td><td class="fielddoc"></td></tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="a62a79453d5cfaf0693a21714162f22d4"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a62a79453d5cfaf0693a21714162f22d4">◆ </a></span>iDriver_writeFramebuffer()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">esp_err_t iDriver_writeFramebuffer </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint16_t *** </td>
|
||||
<td class="paramname"><em>pu16Framebuffer</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>write framebuffer to LCD via SPI </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">uint16_t</td><td>***pu16Framebuffer </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>esp error code </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>3.11.2020 </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8h_a62a79453d5cfaf0693a21714162f22d4_cgraph.png" border="0" usemap="#a_driver_8h_a62a79453d5cfaf0693a21714162f22d4_cgraph" alt=""/></div>
|
||||
<map name="_driver_8h_a62a79453d5cfaf0693a21714162f22d4_cgraph" id="a_driver_8h_a62a79453d5cfaf0693a21714162f22d4_cgraph">
|
||||
<area shape="rect" title="write framebuffer to LCD via SPI" alt="" coords="5,56,169,83"/>
|
||||
<area shape="rect" href="_driver_8c.html#a3d6cd2f0685caf993fd7455dd100dd7c" title="send finish after line" alt="" coords="241,5,395,32"/>
|
||||
<area shape="rect" href="_driver_8c.html#ab611c2d5911c284b757197882ea227be" title="send line to lcd chip" alt="" coords="255,56,381,83"/>
|
||||
<area shape="rect" href="_driver_8c.html#a3ce1541687c13e00a1cc1d4d7ff564aa" title="Get the pixel data for a set of lines (with implied line size of 320)" alt="" coords="217,107,419,133"/>
|
||||
</map>
|
||||
</div>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8h_a62a79453d5cfaf0693a21714162f22d4_icgraph.png" border="0" usemap="#a_driver_8h_a62a79453d5cfaf0693a21714162f22d4_icgraph" alt=""/></div>
|
||||
<map name="_driver_8h_a62a79453d5cfaf0693a21714162f22d4_icgraph" id="a_driver_8h_a62a79453d5cfaf0693a21714162f22d4_icgraph">
|
||||
<area shape="rect" title="write framebuffer to LCD via SPI" alt="" coords="337,31,501,57"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a95f7c4fb0d7de1cb623b52031aad3fe8" title="clear complete framebuffer with a color" alt="" coords="132,5,289,32"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a305dd37530a1617090bbc448e2e40d26" title="write string/text into framebuffer" alt="" coords="150,56,271,83"/>
|
||||
<area shape="rect" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,31,84,57"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="adb1369972e80eb05d5e831cbc7cf3d4f"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#adb1369972e80eb05d5e831cbc7cf3d4f">◆ </a></span>vDriver_init()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">esp_err_t vDriver_init </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Initialize the driver. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">void</td><td></td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>esp error code </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>3.11.2020 </dd></dl>
|
||||
<p>Enable backlight</p>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8h_adb1369972e80eb05d5e831cbc7cf3d4f_cgraph.png" border="0" usemap="#a_driver_8h_adb1369972e80eb05d5e831cbc7cf3d4f_cgraph" alt=""/></div>
|
||||
<map name="_driver_8h_adb1369972e80eb05d5e831cbc7cf3d4f_cgraph" id="a_driver_8h_adb1369972e80eb05d5e831cbc7cf3d4f_cgraph">
|
||||
<area shape="rect" title="Initialize the driver." alt="" coords="5,54,92,81"/>
|
||||
<area shape="rect" href="_driver_8c.html#a3ce4cd1bae3e49f2d06a880446db54d4" title="Send a command to the LCD." alt="" coords="393,29,516,56"/>
|
||||
<area shape="rect" href="_driver_8c.html#a066209485105862c60c5f9393caa48be" title="Send data to the LCD." alt="" coords="181,29,305,56"/>
|
||||
<area shape="rect" href="_driver_8c.html#acfaa6e6c39d79e04fadf512cf9ca3944" title="get LCD driver chip id" alt="" coords="191,80,294,106"/>
|
||||
<area shape="rect" href="_driver_8c.html#ae2d5a9bae2c3a62f89e2cc83cc36a61e" title="Pre Transfer Callback." alt="" coords="140,130,345,157"/>
|
||||
</map>
|
||||
</div>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_driver_8h_adb1369972e80eb05d5e831cbc7cf3d4f_icgraph.png" border="0" usemap="#a_driver_8h_adb1369972e80eb05d5e831cbc7cf3d4f_icgraph" alt=""/></div>
|
||||
<map name="_driver_8h_adb1369972e80eb05d5e831cbc7cf3d4f_icgraph" id="a_driver_8h_adb1369972e80eb05d5e831cbc7cf3d4f_icgraph">
|
||||
<area shape="rect" title="Initialize the driver." alt="" coords="256,5,343,32"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a4d0719889f64bf0c82dd5adc3a26adf3" title="init" alt="" coords="132,5,208,32"/>
|
||||
<area shape="rect" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_5c982d53a68cdbcd421152b4020263a9.html">main</a></li><li class="navelem"><a class="el" href="_driver_8h.html">Driver.h</a></li>
|
||||
<li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
23
Doxygen/html/_driver_8h.js
Normal file
@ -0,0 +1,23 @@
|
||||
var _driver_8h =
|
||||
[
|
||||
[ "lcd_init_cmd_t", "structlcd__init__cmd__t.html", "structlcd__init__cmd__t" ],
|
||||
[ "DMA_CHAN", "_driver_8h.html#a5c8e512df4a72e57db32aca9123c172f", null ],
|
||||
[ "LCD_HIGH", "_driver_8h.html#a2f29bf2b8ebbade29cf04ca42de44c27", null ],
|
||||
[ "LCD_HOST", "_driver_8h.html#ab92e6ca5a63084dc89b10b01c1f43a36", null ],
|
||||
[ "LCD_WIDTH", "_driver_8h.html#a19693eac3018d3e7800fde141921b812", null ],
|
||||
[ "PARALLEL_LINES", "_driver_8h.html#a5d25ddc479bad8adec832512e5b4eece", null ],
|
||||
[ "PIN_NUM_BCKL", "_driver_8h.html#ac01f4eafb1a3eff33d14e7595115d9b2", null ],
|
||||
[ "PIN_NUM_CLK", "_driver_8h.html#a756bcaa6e44d1879623a058849c66fbb", null ],
|
||||
[ "PIN_NUM_CS", "_driver_8h.html#a6c332c3f862c9e17cb09b32c73516a4a", null ],
|
||||
[ "PIN_NUM_DC", "_driver_8h.html#a3d815411a5730aaa16b29eba886c2f89", null ],
|
||||
[ "PIN_NUM_MISO", "_driver_8h.html#a4ffa0949bfda52d9c7b37fcb148cbb53", null ],
|
||||
[ "PIN_NUM_MOSI", "_driver_8h.html#a060569807a8819489e6a7b4ee17ad67b", null ],
|
||||
[ "PIN_NUM_RST", "_driver_8h.html#ae182645b129195913db278d6fcec38ae", null ],
|
||||
[ "type_lcd_t", "_driver_8h.html#af7d58f245cddf61cb03041b87649be87", [
|
||||
[ "LCD_TYPE_ILI", "_driver_8h.html#af7d58f245cddf61cb03041b87649be87a43969af9123789fbe2dc107d2ba52414", null ],
|
||||
[ "LCD_TYPE_ST", "_driver_8h.html#af7d58f245cddf61cb03041b87649be87a81e4b8462aa2094b20d9951ca192e771", null ],
|
||||
[ "LCD_TYPE_MAX", "_driver_8h.html#af7d58f245cddf61cb03041b87649be87a25e54d1c5bfe717fa20bc4773be47639", null ]
|
||||
] ],
|
||||
[ "iDriver_writeFramebuffer", "_driver_8h.html#a62a79453d5cfaf0693a21714162f22d4", null ],
|
||||
[ "vDriver_init", "_driver_8h.html#adb1369972e80eb05d5e831cbc7cf3d4f", null ]
|
||||
];
|
5
Doxygen/html/_driver_8h__dep__incl.map
Normal file
@ -0,0 +1,5 @@
|
||||
<map id="main/Driver.h" name="main/Driver.h">
|
||||
<area shape="rect" id="node1" title=" " alt="" coords="65,5,164,32"/>
|
||||
<area shape="rect" id="node2" href="$_driver_8c.html" title="write the Framebuffer" alt="" coords="5,80,104,107"/>
|
||||
<area shape="rect" id="node3" href="$_l_c_d_8c.html" title="sets and writes framebuffer" alt="" coords="129,80,221,107"/>
|
||||
</map>
|
1
Doxygen/html/_driver_8h__dep__incl.md5
Normal file
@ -0,0 +1 @@
|
||||
b60942f7870fb0fb9bc3598f4ac4e7b4
|
BIN
Doxygen/html/_driver_8h__dep__incl.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
11
Doxygen/html/_driver_8h__incl.map
Normal file
@ -0,0 +1,11 @@
|
||||
<map id="main/Driver.h" name="main/Driver.h">
|
||||
<area shape="rect" id="node1" title=" " alt="" coords="356,5,455,32"/>
|
||||
<area shape="rect" id="node2" title=" " alt="" coords="5,80,67,107"/>
|
||||
<area shape="rect" id="node3" title=" " alt="" coords="91,80,155,107"/>
|
||||
<area shape="rect" id="node4" title=" " alt="" coords="179,80,245,107"/>
|
||||
<area shape="rect" id="node5" title=" " alt="" coords="269,80,401,107"/>
|
||||
<area shape="rect" id="node6" title=" " alt="" coords="425,80,529,107"/>
|
||||
<area shape="rect" id="node7" title=" " alt="" coords="554,80,646,107"/>
|
||||
<area shape="rect" id="node8" title=" " alt="" coords="671,80,815,107"/>
|
||||
<area shape="rect" id="node9" title=" " alt="" coords="839,80,945,107"/>
|
||||
</map>
|
1
Doxygen/html/_driver_8h__incl.md5
Normal file
@ -0,0 +1 @@
|
||||
c0df6be80af98891f76b503cfca61ace
|
BIN
Doxygen/html/_driver_8h__incl.png
Normal file
After Width: | Height: | Size: 18 KiB |
@ -0,0 +1,6 @@
|
||||
<map id="iDriver_writeFramebuffer" name="iDriver_writeFramebuffer">
|
||||
<area shape="rect" id="node1" title="write framebuffer to LCD via SPI" alt="" coords="5,56,169,83"/>
|
||||
<area shape="rect" id="node2" href="$_driver_8c.html#a3d6cd2f0685caf993fd7455dd100dd7c" title="send finish after line" alt="" coords="241,5,395,32"/>
|
||||
<area shape="rect" id="node3" href="$_driver_8c.html#ab611c2d5911c284b757197882ea227be" title="send line to lcd chip" alt="" coords="255,56,381,83"/>
|
||||
<area shape="rect" id="node4" href="$_driver_8c.html#a3ce1541687c13e00a1cc1d4d7ff564aa" title="Get the pixel data for a set of lines (with implied line size of 320)" alt="" coords="217,107,419,133"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
582604f63f8b7cfa7226e0f40f2c1d82
|
After Width: | Height: | Size: 7.9 KiB |
@ -0,0 +1,6 @@
|
||||
<map id="iDriver_writeFramebuffer" name="iDriver_writeFramebuffer">
|
||||
<area shape="rect" id="node1" title="write framebuffer to LCD via SPI" alt="" coords="337,31,501,57"/>
|
||||
<area shape="rect" id="node2" href="$_l_c_d_8h.html#a95f7c4fb0d7de1cb623b52031aad3fe8" title="clear complete framebuffer with a color" alt="" coords="132,5,289,32"/>
|
||||
<area shape="rect" id="node4" href="$_l_c_d_8h.html#a305dd37530a1617090bbc448e2e40d26" title="write string/text into framebuffer" alt="" coords="150,56,271,83"/>
|
||||
<area shape="rect" id="node3" href="$_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,31,84,57"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
936641f2810e4adc740d99d19b320932
|
After Width: | Height: | Size: 8.6 KiB |
@ -0,0 +1,7 @@
|
||||
<map id="vDriver_init" name="vDriver_init">
|
||||
<area shape="rect" id="node1" title="Initialize the driver." alt="" coords="5,54,92,81"/>
|
||||
<area shape="rect" id="node2" href="$_driver_8c.html#a3ce4cd1bae3e49f2d06a880446db54d4" title="Send a command to the LCD." alt="" coords="393,29,516,56"/>
|
||||
<area shape="rect" id="node3" href="$_driver_8c.html#a066209485105862c60c5f9393caa48be" title="Send data to the LCD." alt="" coords="181,29,305,56"/>
|
||||
<area shape="rect" id="node4" href="$_driver_8c.html#acfaa6e6c39d79e04fadf512cf9ca3944" title="get LCD driver chip id" alt="" coords="191,80,294,106"/>
|
||||
<area shape="rect" id="node5" href="$_driver_8c.html#ae2d5a9bae2c3a62f89e2cc83cc36a61e" title="Pre Transfer Callback." alt="" coords="140,130,345,157"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
5a942625b237c68b9e8cc7f41527176c
|
After Width: | Height: | Size: 13 KiB |
@ -0,0 +1,5 @@
|
||||
<map id="vDriver_init" name="vDriver_init">
|
||||
<area shape="rect" id="node1" title="Initialize the driver." alt="" coords="256,5,343,32"/>
|
||||
<area shape="rect" id="node2" href="$_l_c_d_8h.html#a4d0719889f64bf0c82dd5adc3a26adf3" title="init" alt="" coords="132,5,208,32"/>
|
||||
<area shape="rect" id="node3" href="$_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
0e4383382538e0b889922a824c9d21d0
|
After Width: | Height: | Size: 2.7 KiB |
186
Doxygen/html/_driver_8h_source.html
Normal file
@ -0,0 +1,186 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.20"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>ESP32-WROVER-KIT-LCD-DRIVER: main/Driver.h Source File</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="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.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>
|
||||
<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">ESP32-WROVER-KIT-LCD-DRIVER
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.20 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_driver_8h_source.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- 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 class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">Driver.h</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="_driver_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>  </div>
|
||||
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#ifndef __DRIVER_H</span></div>
|
||||
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#define __DRIVER_H</span></div>
|
||||
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  </div>
|
||||
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <stdio.h></span></div>
|
||||
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include <stdlib.h></span></div>
|
||||
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <string.h></span></div>
|
||||
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "driver/spi_master.h"</span></div>
|
||||
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "esp_system.h"</span></div>
|
||||
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#include "driver/gpio.h"</span></div>
|
||||
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "freertos/FreeRTOS.h"</span></div>
|
||||
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "freertos/task.h"</span></div>
|
||||
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="_driver_8h.html#ab92e6ca5a63084dc89b10b01c1f43a36"> 21</a></span> <span class="preprocessor">#define LCD_HOST HSPI_HOST</span></div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="_driver_8h.html#a5c8e512df4a72e57db32aca9123c172f"> 22</a></span> <span class="preprocessor">#define DMA_CHAN 2</span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="_driver_8h.html#a4ffa0949bfda52d9c7b37fcb148cbb53"> 24</a></span> <span class="preprocessor">#define PIN_NUM_MISO 25</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="_driver_8h.html#a060569807a8819489e6a7b4ee17ad67b"> 25</a></span> <span class="preprocessor">#define PIN_NUM_MOSI 23</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="_driver_8h.html#a756bcaa6e44d1879623a058849c66fbb"> 26</a></span> <span class="preprocessor">#define PIN_NUM_CLK 19</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="_driver_8h.html#a6c332c3f862c9e17cb09b32c73516a4a"> 27</a></span> <span class="preprocessor">#define PIN_NUM_CS 22</span></div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="_driver_8h.html#a3d815411a5730aaa16b29eba886c2f89"> 29</a></span> <span class="preprocessor">#define PIN_NUM_DC 21</span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="_driver_8h.html#ae182645b129195913db278d6fcec38ae"> 30</a></span> <span class="preprocessor">#define PIN_NUM_RST 18</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="_driver_8h.html#ac01f4eafb1a3eff33d14e7595115d9b2"> 31</a></span> <span class="preprocessor">#define PIN_NUM_BCKL 5</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="_driver_8h.html#a19693eac3018d3e7800fde141921b812"> 33</a></span> <span class="preprocessor">#define LCD_WIDTH 320</span></div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="_driver_8h.html#a2f29bf2b8ebbade29cf04ca42de44c27"> 34</a></span> <span class="preprocessor">#define LCD_HIGH 240</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  </div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">//To speed up transfers, every SPI transfer sends a bunch of lines. This define specifies how many. More means more memory use,</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">//but less overhead for setting up / finishing transfers. Make sure 240 is dividable by this.</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="_driver_8h.html#a5d25ddc479bad8adec832512e5b4eece"> 38</a></span> <span class="preprocessor">#define PARALLEL_LINES 16</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="comment">/*</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="comment"> The LCD needs a bunch of command/argument values to be initialized. They are stored in this struct.</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="comment">*/</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structlcd__init__cmd__t.html"> 43</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="structlcd__init__cmd__t.html#a4d43e8212bdc9dbee866506f04effcea"> 44</a></span>  uint8_t <a class="code" href="structlcd__init__cmd__t.html#a4d43e8212bdc9dbee866506f04effcea">cmd</a>;</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="structlcd__init__cmd__t.html#a2ddb79fb93f7d950e5cc9059ad5f7e02"> 45</a></span>  uint8_t data[16];</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="structlcd__init__cmd__t.html#aee6f3ae53f83fcbcdbd04b5053606a97"> 46</a></span>  uint8_t <a class="code" href="structlcd__init__cmd__t.html#aee6f3ae53f83fcbcdbd04b5053606a97">databytes</a>; <span class="comment">//No of data in data; bit 7 = delay after set; 0xFF = end of cmds.</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> } <a class="code" href="structlcd__init__cmd__t.html">lcd_init_cmd_t</a>;</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87"> 49</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87a43969af9123789fbe2dc107d2ba52414"> 50</a></span>  <a class="code" href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87a43969af9123789fbe2dc107d2ba52414">LCD_TYPE_ILI</a> = 1,</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87a81e4b8462aa2094b20d9951ca192e771"> 51</a></span>  <a class="code" href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87a81e4b8462aa2094b20d9951ca192e771">LCD_TYPE_ST</a>,</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87a25e54d1c5bfe717fa20bc4773be47639"> 52</a></span>  <a class="code" href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87a25e54d1c5bfe717fa20bc4773be47639">LCD_TYPE_MAX</a>,</div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> } <a class="code" href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87">type_lcd_t</a>;</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> esp_err_t <a class="code" href="_driver_8h.html#adb1369972e80eb05d5e831cbc7cf3d4f">vDriver_init</a>(<span class="keywordtype">void</span>);</div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> esp_err_t <a class="code" href="_driver_8h.html#a62a79453d5cfaf0693a21714162f22d4">iDriver_writeFramebuffer</a>(uint16_t ***<a class="code" href="_l_c_d_8c.html#a1cf4497f1e3b602bc54e6f42ea73d9ed">pu16Framebuffer</a>);</div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor">#endif </span><span class="comment">/* __DRIVER_H */</span><span class="preprocessor"></span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="a_driver_8h_html_af7d58f245cddf61cb03041b87649be87a81e4b8462aa2094b20d9951ca192e771"><div class="ttname"><a href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87a81e4b8462aa2094b20d9951ca192e771">LCD_TYPE_ST</a></div><div class="ttdeci">@ LCD_TYPE_ST</div><div class="ttdef"><b>Definition:</b> Driver.h:51</div></div>
|
||||
<div class="ttc" id="a_driver_8h_html_af7d58f245cddf61cb03041b87649be87a25e54d1c5bfe717fa20bc4773be47639"><div class="ttname"><a href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87a25e54d1c5bfe717fa20bc4773be47639">LCD_TYPE_MAX</a></div><div class="ttdeci">@ LCD_TYPE_MAX</div><div class="ttdef"><b>Definition:</b> Driver.h:52</div></div>
|
||||
<div class="ttc" id="a_driver_8c_html_a3d6cd2f0685caf993fd7455dd100dd7c"><div class="ttname"><a href="_driver_8c.html#a3d6cd2f0685caf993fd7455dd100dd7c">iDriver_sendLineFinish</a></div><div class="ttdeci">static esp_err_t iDriver_sendLineFinish(void)</div><div class="ttdoc">send finish after line</div><div class="ttdef"><b>Definition:</b> Driver.c:457</div></div>
|
||||
<div class="ttc" id="a_driver_8h_html_a756bcaa6e44d1879623a058849c66fbb"><div class="ttname"><a href="_driver_8h.html#a756bcaa6e44d1879623a058849c66fbb">PIN_NUM_CLK</a></div><div class="ttdeci">#define PIN_NUM_CLK</div><div class="ttdef"><b>Definition:</b> Driver.h:26</div></div>
|
||||
<div class="ttc" id="a_driver_8h_html_a62a79453d5cfaf0693a21714162f22d4"><div class="ttname"><a href="_driver_8h.html#a62a79453d5cfaf0693a21714162f22d4">iDriver_writeFramebuffer</a></div><div class="ttdeci">esp_err_t iDriver_writeFramebuffer(uint16_t ***pu16Framebuffer)</div><div class="ttdoc">write framebuffer to LCD via SPI</div><div class="ttdef"><b>Definition:</b> Driver.c:341</div></div>
|
||||
<div class="ttc" id="a_driver_8h_html_af7d58f245cddf61cb03041b87649be87a43969af9123789fbe2dc107d2ba52414"><div class="ttname"><a href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87a43969af9123789fbe2dc107d2ba52414">LCD_TYPE_ILI</a></div><div class="ttdeci">@ LCD_TYPE_ILI</div><div class="ttdef"><b>Definition:</b> Driver.h:50</div></div>
|
||||
<div class="ttc" id="a_c_make_lists_8txt_html_a947758c3656053b91799489dff75eeb1"><div class="ttname"><a href="_c_make_lists_8txt.html#a947758c3656053b91799489dff75eeb1">set</a></div><div class="ttdeci">set(srcs "LCD.c" "Driver.c" "Example_Main.c") idf_component_register(SRCS $</div><div class="ttdef"><b>Definition:</b> CMakeLists.txt:1</div></div>
|
||||
<div class="ttc" id="a_driver_8h_html_ab92e6ca5a63084dc89b10b01c1f43a36"><div class="ttname"><a href="_driver_8h.html#ab92e6ca5a63084dc89b10b01c1f43a36">LCD_HOST</a></div><div class="ttdeci">#define LCD_HOST</div><div class="ttdef"><b>Definition:</b> Driver.h:21</div></div>
|
||||
<div class="ttc" id="a_driver_8c_html_a3ce1541687c13e00a1cc1d4d7ff564aa"><div class="ttname"><a href="_driver_8c.html#a3ce1541687c13e00a1cc1d4d7ff564aa">vDriver_getFramenufferPerLine</a></div><div class="ttdeci">void vDriver_getFramenufferPerLine(uint16_t *pu16Dest, uint16_t u16Line, uint16_t u16Linect, uint16_t ***pu16Framebuffer)</div><div class="ttdoc">Get the pixel data for a set of lines (with implied line size of 320)</div><div class="ttdef"><b>Definition:</b> Driver.c:374</div></div>
|
||||
<div class="ttc" id="a_driver_8h_html_a3d815411a5730aaa16b29eba886c2f89"><div class="ttname"><a href="_driver_8h.html#a3d815411a5730aaa16b29eba886c2f89">PIN_NUM_DC</a></div><div class="ttdeci">#define PIN_NUM_DC</div><div class="ttdef"><b>Definition:</b> Driver.h:29</div></div>
|
||||
<div class="ttc" id="a_driver_8c_html_adb1369972e80eb05d5e831cbc7cf3d4f"><div class="ttname"><a href="_driver_8c.html#adb1369972e80eb05d5e831cbc7cf3d4f">vDriver_init</a></div><div class="ttdeci">esp_err_t vDriver_init(void)</div><div class="ttdoc">Initialize the driver.</div><div class="ttdef"><b>Definition:</b> Driver.c:130</div></div>
|
||||
<div class="ttc" id="a_driver_8c_html_a066209485105862c60c5f9393caa48be"><div class="ttname"><a href="_driver_8c.html#a066209485105862c60c5f9393caa48be">iDriver_SendData</a></div><div class="ttdeci">esp_err_t iDriver_SendData(const uint8_t *pu8Data, uint16_t u16Len)</div><div class="ttdoc">Send data to the LCD.</div><div class="ttdef"><b>Definition:</b> Driver.c:276</div></div>
|
||||
<div class="ttc" id="a_driver_8h_html_adb1369972e80eb05d5e831cbc7cf3d4f"><div class="ttname"><a href="_driver_8h.html#adb1369972e80eb05d5e831cbc7cf3d4f">vDriver_init</a></div><div class="ttdeci">esp_err_t vDriver_init(void)</div><div class="ttdoc">Initialize the driver.</div><div class="ttdef"><b>Definition:</b> Driver.c:130</div></div>
|
||||
<div class="ttc" id="a_driver_8c_html_ae2d5a9bae2c3a62f89e2cc83cc36a61e"><div class="ttname"><a href="_driver_8c.html#ae2d5a9bae2c3a62f89e2cc83cc36a61e">vDriver_spiPreTransferCallback</a></div><div class="ttdeci">void vDriver_spiPreTransferCallback(spi_transaction_t *t)</div><div class="ttdoc">Pre Transfer Callback.</div><div class="ttdef"><b>Definition:</b> Driver.c:300</div></div>
|
||||
<div class="ttc" id="a_driver_8c_html_acfaa6e6c39d79e04fadf512cf9ca3944"><div class="ttname"><a href="_driver_8c.html#acfaa6e6c39d79e04fadf512cf9ca3944">vDriver_GetId</a></div><div class="ttdeci">uint32_t vDriver_GetId(void)</div><div class="ttdoc">get LCD driver chip id</div><div class="ttdef"><b>Definition:</b> Driver.c:314</div></div>
|
||||
<div class="ttc" id="a_driver_8h_html_ac01f4eafb1a3eff33d14e7595115d9b2"><div class="ttname"><a href="_driver_8h.html#ac01f4eafb1a3eff33d14e7595115d9b2">PIN_NUM_BCKL</a></div><div class="ttdeci">#define PIN_NUM_BCKL</div><div class="ttdef"><b>Definition:</b> Driver.h:31</div></div>
|
||||
<div class="ttc" id="a_driver_8c_html_a6aa4436d527ed2c7be6421f98e864938"><div class="ttname"><a href="_driver_8c.html#a6aa4436d527ed2c7be6421f98e864938">ili_init_cmds</a></div><div class="ttdeci">static DRAM_ATTR const lcd_init_cmd_t ili_init_cmds[]</div><div class="ttdef"><b>Definition:</b> Driver.c:62</div></div>
|
||||
<div class="ttc" id="a_driver_8c_html_a62a79453d5cfaf0693a21714162f22d4"><div class="ttname"><a href="_driver_8c.html#a62a79453d5cfaf0693a21714162f22d4">iDriver_writeFramebuffer</a></div><div class="ttdeci">esp_err_t iDriver_writeFramebuffer(uint16_t ***pu16Framebuffer)</div><div class="ttdoc">write framebuffer to LCD via SPI</div><div class="ttdef"><b>Definition:</b> Driver.c:341</div></div>
|
||||
<div class="ttc" id="a_driver_8h_html_a6c332c3f862c9e17cb09b32c73516a4a"><div class="ttname"><a href="_driver_8h.html#a6c332c3f862c9e17cb09b32c73516a4a">PIN_NUM_CS</a></div><div class="ttdeci">#define PIN_NUM_CS</div><div class="ttdef"><b>Definition:</b> Driver.h:27</div></div>
|
||||
<div class="ttc" id="a_driver_8c_html_a0cf1d2efd4835b68210776d5c130abd8"><div class="ttname"><a href="_driver_8c.html#a0cf1d2efd4835b68210776d5c130abd8">sending_line</a></div><div class="ttdeci">int16_t sending_line</div><div class="ttdef"><b>Definition:</b> Driver.c:16</div></div>
|
||||
<div class="ttc" id="a_driver_8c_html_ab611c2d5911c284b757197882ea227be"><div class="ttname"><a href="_driver_8c.html#ab611c2d5911c284b757197882ea227be">iDriver_sendLines</a></div><div class="ttdeci">static esp_err_t iDriver_sendLines(uint16_t u16Ypos, uint16_t *pu16Linedata)</div><div class="ttdoc">send line to lcd chip</div><div class="ttdef"><b>Definition:</b> Driver.c:399</div></div>
|
||||
<div class="ttc" id="a_driver_8c_html_a16670a27e1bd7092e32c99bb10c912ee"><div class="ttname"><a href="_driver_8c.html#a16670a27e1bd7092e32c99bb10c912ee">st_init_cmds</a></div><div class="ttdeci">static DRAM_ATTR const lcd_init_cmd_t st_init_cmds[]</div><div class="ttdef"><b>Definition:</b> Driver.c:28</div></div>
|
||||
<div class="ttc" id="a_driver_8h_html_af7d58f245cddf61cb03041b87649be87"><div class="ttname"><a href="_driver_8h.html#af7d58f245cddf61cb03041b87649be87">type_lcd_t</a></div><div class="ttdeci">type_lcd_t</div><div class="ttdef"><b>Definition:</b> Driver.h:49</div></div>
|
||||
<div class="ttc" id="a_driver_8c_html_a9afae6881efba341049aa70a18412c92"><div class="ttname"><a href="_driver_8c.html#a9afae6881efba341049aa70a18412c92">lines</a></div><div class="ttdeci">uint16_t * lines[2]</div><div class="ttdef"><b>Definition:</b> Driver.c:15</div></div>
|
||||
<div class="ttc" id="a_driver_8h_html_a5d25ddc479bad8adec832512e5b4eece"><div class="ttname"><a href="_driver_8h.html#a5d25ddc479bad8adec832512e5b4eece">PARALLEL_LINES</a></div><div class="ttdeci">#define PARALLEL_LINES</div><div class="ttdef"><b>Definition:</b> Driver.h:38</div></div>
|
||||
<div class="ttc" id="a_l_c_d_8c_html_a1cf4497f1e3b602bc54e6f42ea73d9ed"><div class="ttname"><a href="_l_c_d_8c.html#a1cf4497f1e3b602bc54e6f42ea73d9ed">pu16Framebuffer</a></div><div class="ttdeci">uint16_t ** pu16Framebuffer</div><div class="ttdef"><b>Definition:</b> LCD.c:23</div></div>
|
||||
<div class="ttc" id="a_driver_8h_html_a4ffa0949bfda52d9c7b37fcb148cbb53"><div class="ttname"><a href="_driver_8h.html#a4ffa0949bfda52d9c7b37fcb148cbb53">PIN_NUM_MISO</a></div><div class="ttdeci">#define PIN_NUM_MISO</div><div class="ttdef"><b>Definition:</b> Driver.h:24</div></div>
|
||||
<div class="ttc" id="a_driver_8h_html_a5c8e512df4a72e57db32aca9123c172f"><div class="ttname"><a href="_driver_8h.html#a5c8e512df4a72e57db32aca9123c172f">DMA_CHAN</a></div><div class="ttdeci">#define DMA_CHAN</div><div class="ttdef"><b>Definition:</b> Driver.h:22</div></div>
|
||||
<div class="ttc" id="astructlcd__init__cmd__t_html_aee6f3ae53f83fcbcdbd04b5053606a97"><div class="ttname"><a href="structlcd__init__cmd__t.html#aee6f3ae53f83fcbcdbd04b5053606a97">lcd_init_cmd_t::databytes</a></div><div class="ttdeci">uint8_t databytes</div><div class="ttdef"><b>Definition:</b> Driver.h:46</div></div>
|
||||
<div class="ttc" id="a_driver_8h_html_ae182645b129195913db278d6fcec38ae"><div class="ttname"><a href="_driver_8h.html#ae182645b129195913db278d6fcec38ae">PIN_NUM_RST</a></div><div class="ttdeci">#define PIN_NUM_RST</div><div class="ttdef"><b>Definition:</b> Driver.h:30</div></div>
|
||||
<div class="ttc" id="a_driver_8c_html_a3ce4cd1bae3e49f2d06a880446db54d4"><div class="ttname"><a href="_driver_8c.html#a3ce4cd1bae3e49f2d06a880446db54d4">iDriver_sendCmd</a></div><div class="ttdeci">esp_err_t iDriver_sendCmd(const uint8_t u8Cmd)</div><div class="ttdoc">Send a command to the LCD.</div><div class="ttdef"><b>Definition:</b> Driver.c:247</div></div>
|
||||
<div class="ttc" id="a_driver_8c_html_ac797ff8a3dcc46966bb645519d99c822"><div class="ttname"><a href="_driver_8c.html#ac797ff8a3dcc46966bb645519d99c822">calc_line</a></div><div class="ttdeci">int16_t calc_line</div><div class="ttdef"><b>Definition:</b> Driver.c:17</div></div>
|
||||
<div class="ttc" id="a_driver_8h_html_a060569807a8819489e6a7b4ee17ad67b"><div class="ttname"><a href="_driver_8h.html#a060569807a8819489e6a7b4ee17ad67b">PIN_NUM_MOSI</a></div><div class="ttdeci">#define PIN_NUM_MOSI</div><div class="ttdef"><b>Definition:</b> Driver.h:25</div></div>
|
||||
<div class="ttc" id="astructlcd__init__cmd__t_html_a4d43e8212bdc9dbee866506f04effcea"><div class="ttname"><a href="structlcd__init__cmd__t.html#a4d43e8212bdc9dbee866506f04effcea">lcd_init_cmd_t::cmd</a></div><div class="ttdeci">uint8_t cmd</div><div class="ttdef"><b>Definition:</b> Driver.h:44</div></div>
|
||||
<div class="ttc" id="astructlcd__init__cmd__t_html"><div class="ttname"><a href="structlcd__init__cmd__t.html">lcd_init_cmd_t</a></div><div class="ttdef"><b>Definition:</b> Driver.h:43</div></div>
|
||||
<div class="ttc" id="a_driver_8h_html"><div class="ttname"><a href="_driver_8h.html">Driver.h</a></div></div>
|
||||
<div class="ttc" id="a_driver_8c_html_af04b0de520c6e42f039c5edf47b13dc2"><div class="ttname"><a href="_driver_8c.html#af04b0de520c6e42f039c5edf47b13dc2">spi</a></div><div class="ttdeci">spi_device_handle_t spi</div><div class="ttdef"><b>Definition:</b> Driver.c:13</div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_5c982d53a68cdbcd421152b4020263a9.html">main</a></li><li class="navelem"><a class="el" href="_driver_8h.html">Driver.h</a></li>
|
||||
<li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
183
Doxygen/html/_example___main_8c.html
Normal file
@ -0,0 +1,183 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.20"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>ESP32-WROVER-KIT-LCD-DRIVER: main/Example_Main.c 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="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.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>
|
||||
<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">ESP32-WROVER-KIT-LCD-DRIVER
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.20 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_example___main_8c.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- 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 class="header">
|
||||
<div class="summary">
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">Example_Main.c File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><code>#include <stdio.h></code><br />
|
||||
<code>#include <stdlib.h></code><br />
|
||||
<code>#include <string.h></code><br />
|
||||
<code>#include "esp_system.h"</code><br />
|
||||
<code>#include "freertos/FreeRTOS.h"</code><br />
|
||||
<code>#include "freertos/task.h"</code><br />
|
||||
<code>#include "<a class="el" href="_l_c_d_8h_source.html">LCD.h</a>"</code><br />
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for Example_Main.c:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_example___main_8c__incl.png" border="0" usemap="#amain_2_example___main_8c" alt=""/></div>
|
||||
<map name="main_2_example___main_8c" id="amain_2_example___main_8c">
|
||||
<area shape="rect" title=" " alt="" coords="194,5,345,32"/>
|
||||
<area shape="rect" title=" " alt="" coords="5,155,67,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="91,155,155,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="179,155,245,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="541,155,645,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="375,80,519,107"/>
|
||||
<area shape="rect" title=" " alt="" coords="543,80,649,107"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html" title=" " alt="" coords="239,80,299,107"/>
|
||||
<area shape="rect" title=" " alt="" coords="269,155,401,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="425,155,517,181"/>
|
||||
</map>
|
||||
</div>
|
||||
</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:a630544a7f0a2cc40d8a7fefab7e2fe70"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70">app_main</a> (void)</td></tr>
|
||||
<tr class="memdesc:a630544a7f0a2cc40d8a7fefab7e2fe70"><td class="mdescLeft"> </td><td class="mdescRight">main task <a href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70">More...</a><br /></td></tr>
|
||||
<tr class="separator:a630544a7f0a2cc40d8a7fefab7e2fe70"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="a630544a7f0a2cc40d8a7fefab7e2fe70"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a630544a7f0a2cc40d8a7fefab7e2fe70">◆ </a></span>app_main()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void app_main </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>main task </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">void</td><td></td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>3.11.2020 </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_example___main_8c_a630544a7f0a2cc40d8a7fefab7e2fe70_cgraph.png" border="0" usemap="#a_example___main_8c_a630544a7f0a2cc40d8a7fefab7e2fe70_cgraph" alt=""/></div>
|
||||
<map name="_example___main_8c_a630544a7f0a2cc40d8a7fefab7e2fe70_cgraph" id="a_example___main_8c_a630544a7f0a2cc40d8a7fefab7e2fe70_cgraph">
|
||||
<area shape="rect" title="main task" alt="" coords="5,227,84,253"/>
|
||||
<area shape="rect" href="_l_c_d_8c.html#a95f7c4fb0d7de1cb623b52031aad3fe8" title="clear complete framebuffer with a color" alt="" coords="132,227,289,253"/>
|
||||
<area shape="rect" href="_l_c_d_8c.html#a4d0719889f64bf0c82dd5adc3a26adf3" title="init" alt="" coords="173,164,249,191"/>
|
||||
<area shape="rect" href="_l_c_d_8c.html#a305dd37530a1617090bbc448e2e40d26" title="write string/text into framebuffer" alt="" coords="150,277,271,304"/>
|
||||
<area shape="rect" href="_driver_8c.html#a62a79453d5cfaf0693a21714162f22d4" title="write framebuffer to LCD via SPI" alt="" coords="343,252,507,279"/>
|
||||
<area shape="rect" href="_driver_8c.html#a3d6cd2f0685caf993fd7455dd100dd7c" title="send finish after line" alt="" coords="586,208,739,235"/>
|
||||
<area shape="rect" href="_driver_8c.html#ab611c2d5911c284b757197882ea227be" title="send line to lcd chip" alt="" coords="600,259,725,285"/>
|
||||
<area shape="rect" href="_driver_8c.html#a3ce1541687c13e00a1cc1d4d7ff564aa" title="Get the pixel data for a set of lines (with implied line size of 320)" alt="" coords="562,309,763,336"/>
|
||||
<area shape="rect" href="_l_c_d_8c.html#a13ff792cd544fe043593ceb2a8150c3c" title="allocate framebuffer" alt="" coords="337,164,512,191"/>
|
||||
<area shape="rect" href="_driver_8c.html#adb1369972e80eb05d5e831cbc7cf3d4f" title="Initialize the driver." alt="" coords="381,107,468,133"/>
|
||||
<area shape="rect" href="_driver_8c.html#a3ce4cd1bae3e49f2d06a880446db54d4" title="Send a command to the LCD." alt="" coords="813,107,936,133"/>
|
||||
<area shape="rect" href="_driver_8c.html#a066209485105862c60c5f9393caa48be" title="Send data to the LCD." alt="" coords="601,5,725,32"/>
|
||||
<area shape="rect" href="_driver_8c.html#acfaa6e6c39d79e04fadf512cf9ca3944" title="get LCD driver chip id" alt="" coords="611,157,714,184"/>
|
||||
<area shape="rect" href="_driver_8c.html#ae2d5a9bae2c3a62f89e2cc83cc36a61e" title="Pre Transfer Callback." alt="" coords="560,107,765,133"/>
|
||||
<area shape="rect" href="_l_c_d_8c.html#a3797f0f021c102d4f15fdbb57167a04c" title="write string/text into framebuffer" alt="" coords="365,303,484,329"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_5c982d53a68cdbcd421152b4020263a9.html">main</a></li><li class="navelem"><a class="el" href="_example___main_8c.html">Example_Main.c</a></li>
|
||||
<li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
4
Doxygen/html/_example___main_8c.js
Normal file
@ -0,0 +1,4 @@
|
||||
var _example___main_8c =
|
||||
[
|
||||
[ "app_main", "_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70", null ]
|
||||
];
|
12
Doxygen/html/_example___main_8c__incl.map
Normal file
@ -0,0 +1,12 @@
|
||||
<map id="main/Example_Main.c" name="main/Example_Main.c">
|
||||
<area shape="rect" id="node1" title=" " alt="" coords="194,5,345,32"/>
|
||||
<area shape="rect" id="node2" title=" " alt="" coords="5,155,67,181"/>
|
||||
<area shape="rect" id="node3" title=" " alt="" coords="91,155,155,181"/>
|
||||
<area shape="rect" id="node4" title=" " alt="" coords="179,155,245,181"/>
|
||||
<area shape="rect" id="node5" title=" " alt="" coords="541,155,645,181"/>
|
||||
<area shape="rect" id="node6" title=" " alt="" coords="375,80,519,107"/>
|
||||
<area shape="rect" id="node7" title=" " alt="" coords="543,80,649,107"/>
|
||||
<area shape="rect" id="node8" href="$_l_c_d_8h.html" title=" " alt="" coords="239,80,299,107"/>
|
||||
<area shape="rect" id="node9" title=" " alt="" coords="269,155,401,181"/>
|
||||
<area shape="rect" id="node10" title=" " alt="" coords="425,155,517,181"/>
|
||||
</map>
|
1
Doxygen/html/_example___main_8c__incl.md5
Normal file
@ -0,0 +1 @@
|
||||
36646b1965308d2e799f9884863f63cc
|
BIN
Doxygen/html/_example___main_8c__incl.png
Normal file
After Width: | Height: | Size: 28 KiB |
@ -0,0 +1,17 @@
|
||||
<map id="app_main" name="app_main">
|
||||
<area shape="rect" id="node1" title="main task" alt="" coords="5,227,84,253"/>
|
||||
<area shape="rect" id="node2" href="$_l_c_d_8c.html#a95f7c4fb0d7de1cb623b52031aad3fe8" title="clear complete framebuffer with a color" alt="" coords="132,227,289,253"/>
|
||||
<area shape="rect" id="node7" href="$_l_c_d_8c.html#a4d0719889f64bf0c82dd5adc3a26adf3" title="init" alt="" coords="173,164,249,191"/>
|
||||
<area shape="rect" id="node14" href="$_l_c_d_8c.html#a305dd37530a1617090bbc448e2e40d26" title="write string/text into framebuffer" alt="" coords="150,277,271,304"/>
|
||||
<area shape="rect" id="node3" href="$_driver_8c.html#a62a79453d5cfaf0693a21714162f22d4" title="write framebuffer to LCD via SPI" alt="" coords="343,252,507,279"/>
|
||||
<area shape="rect" id="node4" href="$_driver_8c.html#a3d6cd2f0685caf993fd7455dd100dd7c" title="send finish after line" alt="" coords="586,208,739,235"/>
|
||||
<area shape="rect" id="node5" href="$_driver_8c.html#ab611c2d5911c284b757197882ea227be" title="send line to lcd chip" alt="" coords="600,259,725,285"/>
|
||||
<area shape="rect" id="node6" href="$_driver_8c.html#a3ce1541687c13e00a1cc1d4d7ff564aa" title="Get the pixel data for a set of lines (with implied line size of 320)" alt="" coords="562,309,763,336"/>
|
||||
<area shape="rect" id="node8" href="$_l_c_d_8c.html#a13ff792cd544fe043593ceb2a8150c3c" title="allocate framebuffer" alt="" coords="337,164,512,191"/>
|
||||
<area shape="rect" id="node9" href="$_driver_8c.html#adb1369972e80eb05d5e831cbc7cf3d4f" title="Initialize the driver." alt="" coords="381,107,468,133"/>
|
||||
<area shape="rect" id="node10" href="$_driver_8c.html#a3ce4cd1bae3e49f2d06a880446db54d4" title="Send a command to the LCD." alt="" coords="813,107,936,133"/>
|
||||
<area shape="rect" id="node11" href="$_driver_8c.html#a066209485105862c60c5f9393caa48be" title="Send data to the LCD." alt="" coords="601,5,725,32"/>
|
||||
<area shape="rect" id="node12" href="$_driver_8c.html#acfaa6e6c39d79e04fadf512cf9ca3944" title="get LCD driver chip id" alt="" coords="611,157,714,184"/>
|
||||
<area shape="rect" id="node13" href="$_driver_8c.html#ae2d5a9bae2c3a62f89e2cc83cc36a61e" title="Pre Transfer Callback." alt="" coords="560,107,765,133"/>
|
||||
<area shape="rect" id="node15" href="$_l_c_d_8c.html#a3797f0f021c102d4f15fdbb57167a04c" title="write string/text into framebuffer" alt="" coords="365,303,484,329"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
d2ebae4526d307828bec586ee729a679
|
After Width: | Height: | Size: 34 KiB |
490
Doxygen/html/_l_c_d_8c.html
Normal file
@ -0,0 +1,490 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.20"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>ESP32-WROVER-KIT-LCD-DRIVER: main/LCD.c 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="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.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>
|
||||
<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">ESP32-WROVER-KIT-LCD-DRIVER
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.20 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('_l_c_d_8c.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- 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 class="header">
|
||||
<div class="summary">
|
||||
<a href="#func-members">Functions</a> |
|
||||
<a href="#var-members">Variables</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">LCD.c File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>sets and writes framebuffer
|
||||
<a href="#details">More...</a></p>
|
||||
<div class="textblock"><code>#include "<a class="el" href="_l_c_d_8h_source.html">LCD.h</a>"</code><br />
|
||||
<code>#include "<a class="el" href="_driver_8h_source.html">Driver.h</a>"</code><br />
|
||||
</div><div class="textblock"><div class="dynheader">
|
||||
Include dependency graph for LCD.c:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_l_c_d_8c__incl.png" border="0" usemap="#amain_2_l_c_d_8c" alt=""/></div>
|
||||
<map name="main_2_l_c_d_8c" id="amain_2_l_c_d_8c">
|
||||
<area shape="rect" title="sets and writes framebuffer" alt="" coords="335,5,427,32"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html" title=" " alt="" coords="307,80,367,107"/>
|
||||
<area shape="rect" href="_driver_8h.html" title=" " alt="" coords="392,80,459,107"/>
|
||||
<area shape="rect" title=" " alt="" coords="5,155,67,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="91,155,155,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="179,155,311,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="335,155,427,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="451,155,517,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="541,155,645,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="669,155,813,181"/>
|
||||
<area shape="rect" title=" " alt="" coords="837,155,944,181"/>
|
||||
</map>
|
||||
</div>
|
||||
</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:a13ff792cd544fe043593ceb2a8150c3c"><td class="memItemLeft" align="right" valign="top">esp_err_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_l_c_d_8c.html#a13ff792cd544fe043593ceb2a8150c3c">iLCD_allocateFramebuffer</a> (uint16_t ***pData)</td></tr>
|
||||
<tr class="memdesc:a13ff792cd544fe043593ceb2a8150c3c"><td class="mdescLeft"> </td><td class="mdescRight">allocate framebuffer <a href="_l_c_d_8c.html#a13ff792cd544fe043593ceb2a8150c3c">More...</a><br /></td></tr>
|
||||
<tr class="separator:a13ff792cd544fe043593ceb2a8150c3c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3797f0f021c102d4f15fdbb57167a04c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_l_c_d_8c.html#a3797f0f021c102d4f15fdbb57167a04c">vLCD_writeChar</a> (uint16_t u16xPos, uint16_t u16yPos, char cCharacter, uint16_t u16ColorFont, uint16_t u16ColorBackground)</td></tr>
|
||||
<tr class="memdesc:a3797f0f021c102d4f15fdbb57167a04c"><td class="mdescLeft"> </td><td class="mdescRight">write string/text into framebuffer <a href="_l_c_d_8c.html#a3797f0f021c102d4f15fdbb57167a04c">More...</a><br /></td></tr>
|
||||
<tr class="separator:a3797f0f021c102d4f15fdbb57167a04c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a4d0719889f64bf0c82dd5adc3a26adf3"><td class="memItemLeft" align="right" valign="top">esp_err_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_l_c_d_8c.html#a4d0719889f64bf0c82dd5adc3a26adf3">iLCD_init</a> (void)</td></tr>
|
||||
<tr class="memdesc:a4d0719889f64bf0c82dd5adc3a26adf3"><td class="mdescLeft"> </td><td class="mdescRight">init <a href="_l_c_d_8c.html#a4d0719889f64bf0c82dd5adc3a26adf3">More...</a><br /></td></tr>
|
||||
<tr class="separator:a4d0719889f64bf0c82dd5adc3a26adf3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a95f7c4fb0d7de1cb623b52031aad3fe8"><td class="memItemLeft" align="right" valign="top">esp_err_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_l_c_d_8c.html#a95f7c4fb0d7de1cb623b52031aad3fe8">iLCD_clearFramebuffer</a> (uint16_t u16Color)</td></tr>
|
||||
<tr class="memdesc:a95f7c4fb0d7de1cb623b52031aad3fe8"><td class="mdescLeft"> </td><td class="mdescRight">clear complete framebuffer with a color <a href="_l_c_d_8c.html#a95f7c4fb0d7de1cb623b52031aad3fe8">More...</a><br /></td></tr>
|
||||
<tr class="separator:a95f7c4fb0d7de1cb623b52031aad3fe8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a305dd37530a1617090bbc448e2e40d26"><td class="memItemLeft" align="right" valign="top">esp_err_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_l_c_d_8c.html#a305dd37530a1617090bbc448e2e40d26">iLCD_writeString</a> (uint16_t u16xPos, uint16_t u16yPos, char *pcText, uint16_t u16ColorFont, uint16_t u16ColorBackground)</td></tr>
|
||||
<tr class="memdesc:a305dd37530a1617090bbc448e2e40d26"><td class="mdescLeft"> </td><td class="mdescRight">write string/text into framebuffer <a href="_l_c_d_8c.html#a305dd37530a1617090bbc448e2e40d26">More...</a><br /></td></tr>
|
||||
<tr class="separator:a305dd37530a1617090bbc448e2e40d26"><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:a1cf4497f1e3b602bc54e6f42ea73d9ed"><td class="memItemLeft" align="right" valign="top">uint16_t ** </td><td class="memItemRight" valign="bottom"><a class="el" href="_l_c_d_8c.html#a1cf4497f1e3b602bc54e6f42ea73d9ed">pu16Framebuffer</a></td></tr>
|
||||
<tr class="separator:a1cf4497f1e3b602bc54e6f42ea73d9ed"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a9826a9caf383930481887a5b11a8426d"><td class="memItemLeft" align="right" valign="top">static const uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="_l_c_d_8c.html#a9826a9caf383930481887a5b11a8426d">font6_8</a> [][6]</td></tr>
|
||||
<tr class="separator:a9826a9caf383930481887a5b11a8426d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>sets and writes framebuffer </p>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section version"><dt>Version</dt><dd>V1.0 </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>03.11.2020</dd></dl>
|
||||
<p>This code displays graphics on the 320x240 LCD on an ESP-WROVER_KIT board.</p>
|
||||
<p>Some info about the ILI9341/ST7789V: It has an C/D line, which is connected to a GPIO here. It expects this line to be low for a command and high for data. We use a pre-transmit callback here to control that line: every transaction has as the user-definable argument the needed state of the D/C line and just before the transaction is sent, the callback will set this line to the correct state. </p>
|
||||
</div><h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="a13ff792cd544fe043593ceb2a8150c3c"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a13ff792cd544fe043593ceb2a8150c3c">◆ </a></span>iLCD_allocateFramebuffer()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">esp_err_t iLCD_allocateFramebuffer </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint16_t *** </td>
|
||||
<td class="paramname"><em>pData</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>allocate framebuffer </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">pointer</td><td>of framebuffer two dimensional array </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>esp error code </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>3.11.2020 </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_l_c_d_8c_a13ff792cd544fe043593ceb2a8150c3c_icgraph.png" border="0" usemap="#a_l_c_d_8c_a13ff792cd544fe043593ceb2a8150c3c_icgraph" alt=""/></div>
|
||||
<map name="_l_c_d_8c_a13ff792cd544fe043593ceb2a8150c3c_icgraph" id="a_l_c_d_8c_a13ff792cd544fe043593ceb2a8150c3c_icgraph">
|
||||
<area shape="rect" title="allocate framebuffer" alt="" coords="256,5,431,32"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a4d0719889f64bf0c82dd5adc3a26adf3" title="init" alt="" coords="132,5,208,32"/>
|
||||
<area shape="rect" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a95f7c4fb0d7de1cb623b52031aad3fe8"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a95f7c4fb0d7de1cb623b52031aad3fe8">◆ </a></span>iLCD_clearFramebuffer()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">esp_err_t iLCD_clearFramebuffer </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint16_t </td>
|
||||
<td class="paramname"><em>u16Color</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>clear complete framebuffer with a color </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">RGB586</td><td>color code </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>esp error code </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>3.11.2020 </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_l_c_d_8c_a95f7c4fb0d7de1cb623b52031aad3fe8_cgraph.png" border="0" usemap="#a_l_c_d_8c_a95f7c4fb0d7de1cb623b52031aad3fe8_cgraph" alt=""/></div>
|
||||
<map name="_l_c_d_8c_a95f7c4fb0d7de1cb623b52031aad3fe8_cgraph" id="a_l_c_d_8c_a95f7c4fb0d7de1cb623b52031aad3fe8_cgraph">
|
||||
<area shape="rect" title="clear complete framebuffer with a color" alt="" coords="5,56,163,83"/>
|
||||
<area shape="rect" href="_driver_8c.html#a62a79453d5cfaf0693a21714162f22d4" title="write framebuffer to LCD via SPI" alt="" coords="211,56,375,83"/>
|
||||
<area shape="rect" href="_driver_8c.html#a3d6cd2f0685caf993fd7455dd100dd7c" title="send finish after line" alt="" coords="447,5,600,32"/>
|
||||
<area shape="rect" href="_driver_8c.html#ab611c2d5911c284b757197882ea227be" title="send line to lcd chip" alt="" coords="461,56,586,83"/>
|
||||
<area shape="rect" href="_driver_8c.html#a3ce1541687c13e00a1cc1d4d7ff564aa" title="Get the pixel data for a set of lines (with implied line size of 320)" alt="" coords="423,107,624,133"/>
|
||||
</map>
|
||||
</div>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_l_c_d_8c_a95f7c4fb0d7de1cb623b52031aad3fe8_icgraph.png" border="0" usemap="#a_l_c_d_8c_a95f7c4fb0d7de1cb623b52031aad3fe8_icgraph" alt=""/></div>
|
||||
<map name="_l_c_d_8c_a95f7c4fb0d7de1cb623b52031aad3fe8_icgraph" id="a_l_c_d_8c_a95f7c4fb0d7de1cb623b52031aad3fe8_icgraph">
|
||||
<area shape="rect" title="clear complete framebuffer with a color" alt="" coords="132,5,289,32"/>
|
||||
<area shape="rect" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a4d0719889f64bf0c82dd5adc3a26adf3"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a4d0719889f64bf0c82dd5adc3a26adf3">◆ </a></span>iLCD_init()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">esp_err_t iLCD_init </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">void </td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>init </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">void</td><td></td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>int </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>3.11.2020 </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_l_c_d_8c_a4d0719889f64bf0c82dd5adc3a26adf3_cgraph.png" border="0" usemap="#a_l_c_d_8c_a4d0719889f64bf0c82dd5adc3a26adf3_cgraph" alt=""/></div>
|
||||
<map name="_l_c_d_8c_a4d0719889f64bf0c82dd5adc3a26adf3_cgraph" id="a_l_c_d_8c_a4d0719889f64bf0c82dd5adc3a26adf3_cgraph">
|
||||
<area shape="rect" title="init" alt="" coords="5,31,81,57"/>
|
||||
<area shape="rect" href="_l_c_d_8c.html#a13ff792cd544fe043593ceb2a8150c3c" title="allocate framebuffer" alt="" coords="129,5,304,32"/>
|
||||
<area shape="rect" href="_driver_8c.html#adb1369972e80eb05d5e831cbc7cf3d4f" title="Initialize the driver." alt="" coords="173,56,260,83"/>
|
||||
<area shape="rect" href="_driver_8c.html#a3ce4cd1bae3e49f2d06a880446db54d4" title="Send a command to the LCD." alt="" coords="605,31,728,57"/>
|
||||
<area shape="rect" href="_driver_8c.html#a066209485105862c60c5f9393caa48be" title="Send data to the LCD." alt="" coords="393,31,517,57"/>
|
||||
<area shape="rect" href="_driver_8c.html#acfaa6e6c39d79e04fadf512cf9ca3944" title="get LCD driver chip id" alt="" coords="403,81,506,108"/>
|
||||
<area shape="rect" href="_driver_8c.html#ae2d5a9bae2c3a62f89e2cc83cc36a61e" title="Pre Transfer Callback." alt="" coords="352,132,557,159"/>
|
||||
</map>
|
||||
</div>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_l_c_d_8c_a4d0719889f64bf0c82dd5adc3a26adf3_icgraph.png" border="0" usemap="#a_l_c_d_8c_a4d0719889f64bf0c82dd5adc3a26adf3_icgraph" alt=""/></div>
|
||||
<map name="_l_c_d_8c_a4d0719889f64bf0c82dd5adc3a26adf3_icgraph" id="a_l_c_d_8c_a4d0719889f64bf0c82dd5adc3a26adf3_icgraph">
|
||||
<area shape="rect" title="init" alt="" coords="132,5,208,32"/>
|
||||
<area shape="rect" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a305dd37530a1617090bbc448e2e40d26"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a305dd37530a1617090bbc448e2e40d26">◆ </a></span>iLCD_writeString()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">esp_err_t iLCD_writeString </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint16_t </td>
|
||||
<td class="paramname"><em>u16xPos</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint16_t </td>
|
||||
<td class="paramname"><em>u16yPos</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">char * </td>
|
||||
<td class="paramname"><em>pcText</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint16_t </td>
|
||||
<td class="paramname"><em>u16ColorFont</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint16_t </td>
|
||||
<td class="paramname"><em>u16ColorBackground</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>write string/text into framebuffer </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">uint16_t</td><td>u16xPos </td></tr>
|
||||
<tr><td class="paramname">uint16_t</td><td>u16yPos </td></tr>
|
||||
<tr><td class="paramname">char</td><td>*pcText </td></tr>
|
||||
<tr><td class="paramname">RGB586</td><td>color code for font uint16_t u16ColorFont </td></tr>
|
||||
<tr><td class="paramname">RGB586</td><td>color code for background uint16_t u16ColorBackground </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>esp error code </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>4.11.2020 </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the call graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_l_c_d_8c_a305dd37530a1617090bbc448e2e40d26_cgraph.png" border="0" usemap="#a_l_c_d_8c_a305dd37530a1617090bbc448e2e40d26_cgraph" alt=""/></div>
|
||||
<map name="_l_c_d_8c_a305dd37530a1617090bbc448e2e40d26_cgraph" id="a_l_c_d_8c_a305dd37530a1617090bbc448e2e40d26_cgraph">
|
||||
<area shape="rect" title="write string/text into framebuffer" alt="" coords="5,81,127,108"/>
|
||||
<area shape="rect" href="_driver_8c.html#a62a79453d5cfaf0693a21714162f22d4" title="write framebuffer to LCD via SPI" alt="" coords="175,56,339,83"/>
|
||||
<area shape="rect" href="_l_c_d_8c.html#a3797f0f021c102d4f15fdbb57167a04c" title="write string/text into framebuffer" alt="" coords="197,107,316,133"/>
|
||||
<area shape="rect" href="_driver_8c.html#a3d6cd2f0685caf993fd7455dd100dd7c" title="send finish after line" alt="" coords="411,5,564,32"/>
|
||||
<area shape="rect" href="_driver_8c.html#ab611c2d5911c284b757197882ea227be" title="send line to lcd chip" alt="" coords="425,56,550,83"/>
|
||||
<area shape="rect" href="_driver_8c.html#a3ce1541687c13e00a1cc1d4d7ff564aa" title="Get the pixel data for a set of lines (with implied line size of 320)" alt="" coords="387,107,588,133"/>
|
||||
</map>
|
||||
</div>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_l_c_d_8c_a305dd37530a1617090bbc448e2e40d26_icgraph.png" border="0" usemap="#a_l_c_d_8c_a305dd37530a1617090bbc448e2e40d26_icgraph" alt=""/></div>
|
||||
<map name="_l_c_d_8c_a305dd37530a1617090bbc448e2e40d26_icgraph" id="a_l_c_d_8c_a305dd37530a1617090bbc448e2e40d26_icgraph">
|
||||
<area shape="rect" title="write string/text into framebuffer" alt="" coords="132,5,253,32"/>
|
||||
<area shape="rect" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a3797f0f021c102d4f15fdbb57167a04c"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a3797f0f021c102d4f15fdbb57167a04c">◆ </a></span>vLCD_writeChar()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void vLCD_writeChar </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">uint16_t </td>
|
||||
<td class="paramname"><em>u16xPos</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint16_t </td>
|
||||
<td class="paramname"><em>u16yPos</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">char </td>
|
||||
<td class="paramname"><em>cCharacter</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint16_t </td>
|
||||
<td class="paramname"><em>u16ColorFont</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint16_t </td>
|
||||
<td class="paramname"><em>u16ColorBackground</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>write string/text into framebuffer </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">uint16_t</td><td>u16xPos </td></tr>
|
||||
<tr><td class="paramname">uint16_t</td><td>u16yPos </td></tr>
|
||||
<tr><td class="paramname">char</td><td>cCharacter </td></tr>
|
||||
<tr><td class="paramname">RGB586</td><td>color code for font uint16_t u16ColorFont </td></tr>
|
||||
<tr><td class="paramname">RGB586</td><td>color code for background uint16_t u16ColorBackground </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="section return"><dt>Returns</dt><dd>esp error code </dd></dl>
|
||||
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
|
||||
<dl class="section date"><dt>Date</dt><dd>4.11.2020 </dd></dl>
|
||||
<div class="dynheader">
|
||||
Here is the caller graph for this function:</div>
|
||||
<div class="dyncontent">
|
||||
<div class="center"><img src="_l_c_d_8c_a3797f0f021c102d4f15fdbb57167a04c_icgraph.png" border="0" usemap="#a_l_c_d_8c_a3797f0f021c102d4f15fdbb57167a04c_icgraph" alt=""/></div>
|
||||
<map name="_l_c_d_8c_a3797f0f021c102d4f15fdbb57167a04c_icgraph" id="a_l_c_d_8c_a3797f0f021c102d4f15fdbb57167a04c_icgraph">
|
||||
<area shape="rect" title="write string/text into framebuffer" alt="" coords="301,5,420,32"/>
|
||||
<area shape="rect" href="_l_c_d_8h.html#a305dd37530a1617090bbc448e2e40d26" title="write string/text into framebuffer" alt="" coords="132,5,253,32"/>
|
||||
<area shape="rect" href="_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Variable Documentation</h2>
|
||||
<a id="a9826a9caf383930481887a5b11a8426d"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a9826a9caf383930481887a5b11a8426d">◆ </a></span>font6_8</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">const uint8_t font6_8[][6]</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a1cf4497f1e3b602bc54e6f42ea73d9ed"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a1cf4497f1e3b602bc54e6f42ea73d9ed">◆ </a></span>pu16Framebuffer</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">uint16_t** pu16Framebuffer</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_5c982d53a68cdbcd421152b4020263a9.html">main</a></li><li class="navelem"><a class="el" href="_l_c_d_8c.html">LCD.c</a></li>
|
||||
<li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
10
Doxygen/html/_l_c_d_8c.js
Normal file
@ -0,0 +1,10 @@
|
||||
var _l_c_d_8c =
|
||||
[
|
||||
[ "iLCD_allocateFramebuffer", "_l_c_d_8c.html#a13ff792cd544fe043593ceb2a8150c3c", null ],
|
||||
[ "iLCD_clearFramebuffer", "_l_c_d_8c.html#a95f7c4fb0d7de1cb623b52031aad3fe8", null ],
|
||||
[ "iLCD_init", "_l_c_d_8c.html#a4d0719889f64bf0c82dd5adc3a26adf3", null ],
|
||||
[ "iLCD_writeString", "_l_c_d_8c.html#a305dd37530a1617090bbc448e2e40d26", null ],
|
||||
[ "vLCD_writeChar", "_l_c_d_8c.html#a3797f0f021c102d4f15fdbb57167a04c", null ],
|
||||
[ "font6_8", "_l_c_d_8c.html#a9826a9caf383930481887a5b11a8426d", null ],
|
||||
[ "pu16Framebuffer", "_l_c_d_8c.html#a1cf4497f1e3b602bc54e6f42ea73d9ed", null ]
|
||||
];
|
13
Doxygen/html/_l_c_d_8c__incl.map
Normal file
@ -0,0 +1,13 @@
|
||||
<map id="main/LCD.c" name="main/LCD.c">
|
||||
<area shape="rect" id="node1" title="sets and writes framebuffer" alt="" coords="335,5,427,32"/>
|
||||
<area shape="rect" id="node2" href="$_l_c_d_8h.html" title=" " alt="" coords="307,80,367,107"/>
|
||||
<area shape="rect" id="node9" href="$_driver_8h.html" title=" " alt="" coords="392,80,459,107"/>
|
||||
<area shape="rect" id="node3" title=" " alt="" coords="5,155,67,181"/>
|
||||
<area shape="rect" id="node4" title=" " alt="" coords="91,155,155,181"/>
|
||||
<area shape="rect" id="node5" title=" " alt="" coords="179,155,311,181"/>
|
||||
<area shape="rect" id="node6" title=" " alt="" coords="335,155,427,181"/>
|
||||
<area shape="rect" id="node7" title=" " alt="" coords="451,155,517,181"/>
|
||||
<area shape="rect" id="node8" title=" " alt="" coords="541,155,645,181"/>
|
||||
<area shape="rect" id="node10" title=" " alt="" coords="669,155,813,181"/>
|
||||
<area shape="rect" id="node11" title=" " alt="" coords="837,155,944,181"/>
|
||||
</map>
|
1
Doxygen/html/_l_c_d_8c__incl.md5
Normal file
@ -0,0 +1 @@
|
||||
ac27ecf1bd4c9eb7e168e16b316a7048
|
BIN
Doxygen/html/_l_c_d_8c__incl.png
Normal file
After Width: | Height: | Size: 27 KiB |
@ -0,0 +1,5 @@
|
||||
<map id="iLCD_allocateFramebuffer" name="iLCD_allocateFramebuffer">
|
||||
<area shape="rect" id="node1" title="allocate framebuffer" alt="" coords="256,5,431,32"/>
|
||||
<area shape="rect" id="node2" href="$_l_c_d_8h.html#a4d0719889f64bf0c82dd5adc3a26adf3" title="init" alt="" coords="132,5,208,32"/>
|
||||
<area shape="rect" id="node3" href="$_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
3363fb09b8b32e9a068761b4efdefbc2
|
After Width: | Height: | Size: 3.6 KiB |
@ -0,0 +1,8 @@
|
||||
<map id="iLCD_writeString" name="iLCD_writeString">
|
||||
<area shape="rect" id="node1" title="write string/text into framebuffer" alt="" coords="5,81,127,108"/>
|
||||
<area shape="rect" id="node2" href="$_driver_8c.html#a62a79453d5cfaf0693a21714162f22d4" title="write framebuffer to LCD via SPI" alt="" coords="175,56,339,83"/>
|
||||
<area shape="rect" id="node6" href="$_l_c_d_8c.html#a3797f0f021c102d4f15fdbb57167a04c" title="write string/text into framebuffer" alt="" coords="197,107,316,133"/>
|
||||
<area shape="rect" id="node3" href="$_driver_8c.html#a3d6cd2f0685caf993fd7455dd100dd7c" title="send finish after line" alt="" coords="411,5,564,32"/>
|
||||
<area shape="rect" id="node4" href="$_driver_8c.html#ab611c2d5911c284b757197882ea227be" title="send line to lcd chip" alt="" coords="425,56,550,83"/>
|
||||
<area shape="rect" id="node5" href="$_driver_8c.html#a3ce1541687c13e00a1cc1d4d7ff564aa" title="Get the pixel data for a set of lines (with implied line size of 320)" alt="" coords="387,107,588,133"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
1445cdab4e6f54bc81fc95cf85718b1b
|
After Width: | Height: | Size: 12 KiB |
@ -0,0 +1,4 @@
|
||||
<map id="iLCD_writeString" name="iLCD_writeString">
|
||||
<area shape="rect" id="node1" title="write string/text into framebuffer" alt="" coords="132,5,253,32"/>
|
||||
<area shape="rect" id="node2" href="$_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
aff50b244cf56b3bf92592e152e79ee8
|
After Width: | Height: | Size: 2.9 KiB |
@ -0,0 +1,5 @@
|
||||
<map id="vLCD_writeChar" name="vLCD_writeChar">
|
||||
<area shape="rect" id="node1" title="write string/text into framebuffer" alt="" coords="301,5,420,32"/>
|
||||
<area shape="rect" id="node2" href="$_l_c_d_8h.html#a305dd37530a1617090bbc448e2e40d26" title="write string/text into framebuffer" alt="" coords="132,5,253,32"/>
|
||||
<area shape="rect" id="node3" href="$_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
92bad67e69737aaae471530986a34b0b
|
After Width: | Height: | Size: 4.1 KiB |
@ -0,0 +1,9 @@
|
||||
<map id="iLCD_init" name="iLCD_init">
|
||||
<area shape="rect" id="node1" title="init" alt="" coords="5,31,81,57"/>
|
||||
<area shape="rect" id="node2" href="$_l_c_d_8c.html#a13ff792cd544fe043593ceb2a8150c3c" title="allocate framebuffer" alt="" coords="129,5,304,32"/>
|
||||
<area shape="rect" id="node3" href="$_driver_8c.html#adb1369972e80eb05d5e831cbc7cf3d4f" title="Initialize the driver." alt="" coords="173,56,260,83"/>
|
||||
<area shape="rect" id="node4" href="$_driver_8c.html#a3ce4cd1bae3e49f2d06a880446db54d4" title="Send a command to the LCD." alt="" coords="605,31,728,57"/>
|
||||
<area shape="rect" id="node5" href="$_driver_8c.html#a066209485105862c60c5f9393caa48be" title="Send data to the LCD." alt="" coords="393,31,517,57"/>
|
||||
<area shape="rect" id="node6" href="$_driver_8c.html#acfaa6e6c39d79e04fadf512cf9ca3944" title="get LCD driver chip id" alt="" coords="403,81,506,108"/>
|
||||
<area shape="rect" id="node7" href="$_driver_8c.html#ae2d5a9bae2c3a62f89e2cc83cc36a61e" title="Pre Transfer Callback." alt="" coords="352,132,557,159"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
c8cbcbac5f390f55d9cd8fd3231e0f34
|
After Width: | Height: | Size: 18 KiB |
@ -0,0 +1,4 @@
|
||||
<map id="iLCD_init" name="iLCD_init">
|
||||
<area shape="rect" id="node1" title="init" alt="" coords="132,5,208,32"/>
|
||||
<area shape="rect" id="node2" href="$_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
b042e897e2febc6676f393ea77ca77ef
|
After Width: | Height: | Size: 1.8 KiB |
@ -0,0 +1,7 @@
|
||||
<map id="iLCD_clearFramebuffer" name="iLCD_clearFramebuffer">
|
||||
<area shape="rect" id="node1" title="clear complete framebuffer with a color" alt="" coords="5,56,163,83"/>
|
||||
<area shape="rect" id="node2" href="$_driver_8c.html#a62a79453d5cfaf0693a21714162f22d4" title="write framebuffer to LCD via SPI" alt="" coords="211,56,375,83"/>
|
||||
<area shape="rect" id="node3" href="$_driver_8c.html#a3d6cd2f0685caf993fd7455dd100dd7c" title="send finish after line" alt="" coords="447,5,600,32"/>
|
||||
<area shape="rect" id="node4" href="$_driver_8c.html#ab611c2d5911c284b757197882ea227be" title="send line to lcd chip" alt="" coords="461,56,586,83"/>
|
||||
<area shape="rect" id="node5" href="$_driver_8c.html#a3ce1541687c13e00a1cc1d4d7ff564aa" title="Get the pixel data for a set of lines (with implied line size of 320)" alt="" coords="423,107,624,133"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
167478cb60a4c7a1a34ad085348996df
|
After Width: | Height: | Size: 9.3 KiB |
@ -0,0 +1,4 @@
|
||||
<map id="iLCD_clearFramebuffer" name="iLCD_clearFramebuffer">
|
||||
<area shape="rect" id="node1" title="clear complete framebuffer with a color" alt="" coords="132,5,289,32"/>
|
||||
<area shape="rect" id="node2" href="$_example___main_8c.html#a630544a7f0a2cc40d8a7fefab7e2fe70" title="main task" alt="" coords="5,5,84,32"/>
|
||||
</map>
|
@ -0,0 +1 @@
|
||||
45256b12797dc3423ce19b2c3ade196b
|