Loading files
089aa8ea7This file is pinned to the selected release. Download the original to open it in your design tool.
<!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" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Metal Detector: C:/Users/Viktor/Desktop/labaratorni/Projects/Metal_Detector/software/Program/Display/Inc/ili9341.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>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() { init_search(); });
/* @license-end */
</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 id="projectrow">
<td id="projectalign">
<div id="projectname">Metal Detector
</div>
</td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()"> </span>
<input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
</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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function(){initNavTree('ili9341_8h_source.html',''); initResizable(true); });
/* @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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="headertitle"><div class="title">ili9341.h</div></div>
</div><!--header-->
<div class="contents">
<a href="ili9341_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#ifndef INC_ILI9341_H_</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#define INC_ILI9341_H_</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#include "main.h"</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="comment">/*********************</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="comment"> * DEFINES</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="comment"> *********************/</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="ili9341_8h.html#aec816f1bc0d3337eed7f251d4e951250"> 24</a></span><span class="preprocessor">#define ILI9341_HOR_RES 240 </span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a9bbdf2db28e349939504b3bd837226c8"> 25</a></span><span class="preprocessor">#define ILI9341_VER_RES 320 </span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#define MY_DISP_HOR_RES ILI9341_HOR_RES</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#define MY_DISP_VER_RES ILI9341_VER_RES</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="ili9341_8h.html#ab1df89ecaa421dd536729cb801c81b1e"> 30</a></span><span class="preprocessor">#define ILI9341_BGR 1 </span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a82de2de697f99834a8e12e981d81b119"> 31</a></span><span class="preprocessor">#define ILI9341_RGB 0 </span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a492c6e1d44d2625c2bf67d391487c4dd"> 33</a></span><span class="preprocessor">#define ILI9341_GAMMA 1 </span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="comment">/* Level 1 Commands -------------- [section] Description */</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a58488419649441aec5166d08b1160837"> 38</a></span><span class="preprocessor">#define ILI9341_NOP 0x00 </span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a05c1fbaa5809b6e45dd1da9fd0c05fc0"> 40</a></span><span class="preprocessor">#define ILI9341_SWRESET 0x01 </span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a1dd4f9db5f3e0162d5b7337a9e5d3661"> 42</a></span><span class="preprocessor">#define ILI9341_RDDIDIF 0x04 </span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a85532e0077d505687036b92bd7e70989"> 44</a></span><span class="preprocessor">#define ILI9341_RDDST 0x09 </span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a452afe4e728f77ef6827336b61092ddc"> 46</a></span><span class="preprocessor">#define ILI9341_RDDPM 0x0A </span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a4ca67b8548678c2b8ea906fe6d190cae"> 48</a></span><span class="preprocessor">#define ILI9341_RDDMADCTL 0x0B </span></div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a8ac74c203cb38725259bb657f843e8fa"> 50</a></span><span class="preprocessor">#define ILI9341_RDDCOLMOD 0x0C </span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="ili9341_8h.html#af0d311cfbbdd411d1487b30d3b521a10"> 52</a></span><span class="preprocessor">#define ILI9341_RDDIM 0x0D </span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a565686fcd8a092ff2373bdae18fbffc9"> 54</a></span><span class="preprocessor">#define ILI9341_RDDSM 0x0E </span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a45af7ea21a9639bc5c8543b4658386a6"> 56</a></span><span class="preprocessor">#define ILI9341_RDDSDR 0x0F </span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a91c32c640e65f7e890fdbb5aed29077b"> 58</a></span><span class="preprocessor">#define ILI9341_SLPIN 0x10 </span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a2183eaeed3b4f2e82f1f1a5aed9cf8e1"> 60</a></span><span class="preprocessor">#define ILI9341_SLPOUT 0x11 </span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a9960c17c0ec3f5adde7cf7fa94f27220"> 62</a></span><span class="preprocessor">#define ILI9341_PTLON 0x12 </span></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="ili9341_8h.html#ac657aed4eab33cf9ba9c3a44919218ab"> 64</a></span><span class="preprocessor">#define ILI9341_NORON 0x13 </span></div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a42663800a15fb5f35b9062d05170bcdd"> 66</a></span><span class="preprocessor">#define ILI9341_DINVOFF 0x20 </span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="ili9341_8h.html#aefe6a857be1a33bfc4b51d77ddd31e41"> 68</a></span><span class="preprocessor">#define ILI9341_DINVON 0x21 </span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a37fcc7acf09054e1d621205092774d25"> 70</a></span><span class="preprocessor">#define ILI9341_GAMSET 0x26 </span></div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a96cd1f1e426827243075de8477439222"> 72</a></span><span class="preprocessor">#define ILI9341_DISPOFF 0x28 </span></div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a278999b9f435340e6a689165c860050a"> 74</a></span><span class="preprocessor">#define ILI9341_DISPON 0x29 </span></div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a0735e9a5ee316588f5430559b56074c4"> 76</a></span><span class="preprocessor">#define ILI9341_CASET 0x2A </span></div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="ili9341_8h.html#acc4a8ed569a4c04d4ef11e6a458fc2e0"> 78</a></span><span class="preprocessor">#define ILI9341_PASET 0x2B </span></div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a7130c62347e51a4bafb7070ba393ee39"> 80</a></span><span class="preprocessor">#define ILI9341_RAMWR 0x2C </span></div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a6eb922397f95e5bb891f44d6c41b7f42"> 82</a></span><span class="preprocessor">#define ILI9341_RGBSET 0x2D </span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a1380e18775e66a698eb0120f64af8d27"> 84</a></span><span class="preprocessor">#define ILI9341_RAMRD 0x2E </span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a9d46802e696356cd1b7625d36c20e8dd"> 86</a></span><span class="preprocessor">#define ILI9341_PTLAR 0x30 </span></div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="ili9341_8h.html#aba45bf6c8278bf5210bab2607e993cf3"> 88</a></span><span class="preprocessor">#define ILI9341_VSCRDEF 0x33 </span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="ili9341_8h.html#ada1c0f8acf9c590349ede90ea675df6b"> 90</a></span><span class="preprocessor">#define ILI9341_TEOFF 0x34 </span></div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a6525895e6b8d6bab6081c44227e622b9"> 92</a></span><span class="preprocessor">#define ILI9341_TEON 0x35 </span></div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a3788bc35c2adfe007f3b6a03b85d2071"> 94</a></span><span class="preprocessor">#define ILI9341_MADCTL 0x36 </span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="ili9341_8h.html#ab30e6bd24448245df1d60a3e1c4ddbdf"> 96</a></span><span class="preprocessor">#define MADCTL_MY 0x80 </span></div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a6d18ed48efb3186877a07d0e81155453"> 98</a></span><span class="preprocessor">#define MADCTL_MX 0x40 </span></div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="ili9341_8h.html#adc23a239d2b6976d53254ef4fc5d1713"> 100</a></span><span class="preprocessor">#define MADCTL_MV 0x20 </span></div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a9ecee6d3131d3b4f750b94d5766b998a"> 102</a></span><span class="preprocessor">#define MADCTL_ML 0x10 </span></div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a6f8b9fad1b5db52b70960b389056f0dd"> 104</a></span><span class="preprocessor">#define MADCTL_MH 0x04 </span></div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="ili9341_8h.html#acc1e55b52f8a56b7719ab147308a1668"> 106</a></span><span class="preprocessor">#define MADCTL_RGB 0x00 </span></div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a659f0d6f0c258a3d91f882a59dfa76f5"> 108</a></span><span class="preprocessor">#define MADCTL_BGR 0x08 </span></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="ili9341_8h.html#aed59201f8eb2291e618d3b3151adc497"> 110</a></span><span class="preprocessor">#define ILI9341_VSCRSADD 0x37 </span></div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="ili9341_8h.html#ad358d3a8d25847cf6e5663f8e8ffa8a2"> 112</a></span><span class="preprocessor">#define ILI9341_IDMOFF 0x38 </span></div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"><a class="line" href="ili9341_8h.html#afd92e2a7e44753a5d9111538a4fa68af"> 114</a></span><span class="preprocessor">#define ILI9341_IDMON 0x39 </span></div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"><a class="line" href="ili9341_8h.html#aeedc0b5fe5c98bef5f199ecca39c76e5"> 116</a></span><span class="preprocessor">#define ILI9341_PIXSET 0x3A </span></div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="ili9341_8h.html#ab681081f09780ed4f6718ca7cb88771f"> 118</a></span><span class="preprocessor">#define ILI9341_WRMEMCONT 0x3C </span></div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a37e4ea3d8e74ff660d8e66d88d9cc328"> 120</a></span><span class="preprocessor">#define ILI9341_RDMEMCONT 0x3E </span></div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a30cb44bb09c4941ca6f737dc49f3ea7a"> 122</a></span><span class="preprocessor">#define ILI9341_SETSCANTE 0x44 </span></div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a6576c2038c20786c214eb65ee8f75053"> 124</a></span><span class="preprocessor">#define ILI9341_GETSCAN 0x45 </span></div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a49799074bc127871f94945ac8978b70c"> 126</a></span><span class="preprocessor">#define ILI9341_WRDISBV 0x51 </span></div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="ili9341_8h.html#ad1c91d3a0ec270bf1c4f1924d5caf95a"> 128</a></span><span class="preprocessor">#define ILI9341_RDDISBV 0x52 </span></div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a5275cf2bfc39a1194af8e6d2e0ede4c9"> 130</a></span><span class="preprocessor">#define ILI9341_WRCTRLD 0x53 </span></div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a2db7f3e6237984ebb739a16027711365"> 132</a></span><span class="preprocessor">#define ILI9341_RDCTRLD 0x54 </span></div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a989976c95668ba64d6574ea990d39fdc"> 134</a></span><span class="preprocessor">#define ILI9341_WRCABC 0x55 </span></div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a1842f9bbabcb3ea09e2fffb5880c2770"> 136</a></span><span class="preprocessor">#define ILI9341_RDCABC 0x56 </span></div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a4ff215063f3ff37170925f4c8cb7bdfd"> 138</a></span><span class="preprocessor">#define ILI9341_WRCABCMIN 0x5E </span></div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a0c9eeaa895d0ea0b995a349824e69f26"> 140</a></span><span class="preprocessor">#define ILI9341_RDCABCMIN 0x5F </span></div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a9e00fc41e2ce41f264f7f19a01bd6b41"> 142</a></span><span class="preprocessor">#define ILI9341_RDID1 0xDA </span></div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a18b8144a0ab0fce95e1873102b72da8a"> 144</a></span><span class="preprocessor">#define ILI9341_RDID2 0xDB </span></div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"><a class="line" href="ili9341_8h.html#a31b7dff5fc8d6affa4f328a4de46ce9f"> 146</a></span><span class="preprocessor">#define ILI9341_RDID3 0xDC </span></div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span><span class="comment">/* Level 2 Commands -------------- [section] Description */</span></div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> </div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span><span class="preprocessor">#define ILI9341_IFMODE 0xB0 </span><span class="comment">/* [8.3.1 ] Interface Mode Control */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span><span class="preprocessor">#define ILI9341_FRMCTR1 0xB1 </span><span class="comment">/* [8.3.2 ] Frame Rate Control (In Normal Mode/Full Colors) */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span><span class="preprocessor">#define ILI9341_FRMCTR2 0xB2 </span><span class="comment">/* [8.3.3 ] Frame Rate Control (In Idle Mode/8 colors) */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span><span class="preprocessor">#define ILI9341_FRMCTR3 0xB3 </span><span class="comment">/* [8.3.4 ] Frame Rate control (In Partial Mode/Full Colors) */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span><span class="preprocessor">#define ILI9341_INVTR 0xB4 </span><span class="comment">/* [8.3.5 ] Display Inversion Control */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span><span class="preprocessor">#define ILI9341_PRCTR 0xB5 </span><span class="comment">/* [8.3.6 ] Blanking Porch Control */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span><span class="preprocessor">#define ILI9341_DISCTRL 0xB6 </span><span class="comment">/* [8.3.7 ] Display Function Control */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span><span class="preprocessor">#define ILI9341_ETMOD 0xB7 </span><span class="comment">/* [8.3.8 ] Entry Mode Set */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span><span class="preprocessor">#define ILI9341_BLCTRL1 0xB8 </span><span class="comment">/* [8.3.9 ] Backlight Control 1 - Grayscale Histogram UI mode */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span><span class="preprocessor">#define ILI9341_BLCTRL2 0xB9 </span><span class="comment">/* [8.3.10] Backlight Control 2 - Grayscale Histogram still picture mode */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span><span class="preprocessor">#define ILI9341_BLCTRL3 0xBA </span><span class="comment">/* [8.3.11] Backlight Control 3 - Grayscale Thresholds UI mode */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span><span class="preprocessor">#define ILI9341_BLCTRL4 0xBB </span><span class="comment">/* [8.3.12] Backlight Control 4 - Grayscale Thresholds still picture mode */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span><span class="preprocessor">#define ILI9341_BLCTRL5 0xBC </span><span class="comment">/* [8.3.13] Backlight Control 5 - Brightness Transition time */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span><span class="preprocessor">#define ILI9341_BLCTRL7 0xBE </span><span class="comment">/* [8.3.14] Backlight Control 7 - PWM Frequency */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span><span class="preprocessor">#define ILI9341_BLCTRL8 0xBF </span><span class="comment">/* [8.3.15] Backlight Control 8 - ON/OFF + PWM Polarity*/</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span><span class="preprocessor">#define ILI9341_PWCTRL1 0xC0 </span><span class="comment">/* [8.3.16] Power Control 1 - GVDD */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span><span class="preprocessor">#define ILI9341_PWCTRL2 0xC1 </span><span class="comment">/* [8.3.17] Power Control 2 - step-up factor for operating voltage */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span><span class="preprocessor">#define ILI9341_VMCTRL1 0xC5 </span><span class="comment">/* [8.3.18] VCOM Control 1 - Set VCOMH and VCOML */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span><span class="preprocessor">#define ILI9341_VMCTRL2 0xC7 </span><span class="comment">/* [8.3.19] VCOM Control 2 - VCOM offset voltage */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span><span class="preprocessor">#define ILI9341_NVMWR 0xD0 </span><span class="comment">/* [8.3.20] NV Memory Write */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span><span class="preprocessor">#define ILI9341_NVMPKEY 0xD1 </span><span class="comment">/* [8.3.21] NV Memory Protection Key */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span><span class="preprocessor">#define ILI9341_RDNVM 0xD2 </span><span class="comment">/* [8.3.22] NV Memory Status Read */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span><span class="preprocessor">#define ILI9341_RDID4 0xD3 </span><span class="comment">/* [8.3.23] Read ID4 - IC Device Code */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span><span class="preprocessor">#define ILI9341_PGAMCTRL 0xE0 </span><span class="comment">/* [8.3.24] Positive Gamma Control */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span><span class="preprocessor">#define ILI9341_NGAMCTRL 0xE1 </span><span class="comment">/* [8.3.25] Negative Gamma Correction */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span><span class="preprocessor">#define ILI9341_DGAMCTRL1 0xE2 </span><span class="comment">/* [8.3.26] Digital Gamma Control 1 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span><span class="preprocessor">#define ILI9341_DGAMCTRL2 0xE3 </span><span class="comment">/* [8.3.27] Digital Gamma Control 2 */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span><span class="preprocessor">#define ILI9341_IFCTL 0xF6 </span><span class="comment">/* [8.3.28] 16bits Data Format Selection */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> </div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span><span class="comment">/* Extended Commands --------------- [section] Description*/</span></div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> </div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span><span class="preprocessor">#define ILI9341_PWCTRLA 0xCB </span><span class="comment">/* [8.4.1] Power control A */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span><span class="preprocessor">#define ILI9341_PWCTRLB 0xCF </span><span class="comment">/* [8.4.2] Power control B */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span><span class="preprocessor">#define ILI9341_TIMECTRLA_INT 0xE8 </span><span class="comment">/* [8.4.3] Internal Clock Driver timing control A */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span><span class="preprocessor">#define ILI9341_TIMECTRLA_EXT 0xE9 </span><span class="comment">/* [8.4.4] External Clock Driver timing control A */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span><span class="preprocessor">#define ILI9341_TIMECTRLB 0xEA </span><span class="comment">/* [8.4.5] Driver timing control B (gate driver timing control) */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span><span class="preprocessor">#define ILI9341_PWSEQCTRL 0xED </span><span class="comment">/* [8.4.6] Power on sequence control */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span><span class="preprocessor">#define ILI9341_GAM3CTRL 0xF2 </span><span class="comment">/* [8.4.7] Enable 3 gamma control */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span><span class="preprocessor">#define ILI9341_PUMPRATIO 0xF7 </span><span class="comment">/* [8.4.8] Pump ratio control */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> </div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="ili9341_8h.html#ad22d2cd6a20f5c55ece37e66fe508b16"> 198</a></span><span class="preprocessor">#define ILI9341_DELAY( __DELAY__ ) HAL_Delay(__DELAY__)</span></div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> </div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> </div>
<div class="foldopen" id="foldopen00201" data-start="{" data-end="};">
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"><a class="line" href="struct_i_l_i9341_current_buffer__t.html"> 201</a></span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span>{</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"><a class="line" href="struct_i_l_i9341_current_buffer__t.html#a272d63ec36aa3b7cb0930c0cd133bdb9"> 203</a></span> uint32_t <a class="code hl_variable" href="struct_i_l_i9341_current_buffer__t.html#a272d63ec36aa3b7cb0930c0cd133bdb9">buff_remain_len</a>; </div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"><a class="line" href="struct_i_l_i9341_current_buffer__t.html#a734ec4c3f7137ec5fccda34b9d0ce4b1"> 204</a></span> uint32_t <a class="code hl_variable" href="struct_i_l_i9341_current_buffer__t.html#a734ec4c3f7137ec5fccda34b9d0ce4b1">buff_current_pos</a>; </div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"><a class="line" href="struct_i_l_i9341_current_buffer__t.html#aa13ff4372fb75386f94d32c13c6c92b4"> 205</a></span> uint8_t *<a class="code hl_variable" href="struct_i_l_i9341_current_buffer__t.html#aa13ff4372fb75386f94d32c13c6c92b4">buff</a>; </div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span>} <a class="code hl_struct" href="struct_i_l_i9341_current_buffer__t.html">ILI9341CurrentBuffer_t</a>;</div>
</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> </div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span><span class="keywordtype">void</span> <a class="code hl_function" href="ili9341_8h.html#ad5cdca394aae512e37176b6a30332a68">ILI9341_Init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> </div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span><span class="keywordtype">void</span> <a class="code hl_function" href="ili9341_8h.html#a32dc1a25dba771348cc10ccb2487cb87">ILI9341_WriteCommand</a>(uint8_t cmd);</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> </div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span><span class="keywordtype">void</span> <a class="code hl_function" href="ili9341_8h.html#a2fd7f0b26c0ffcd016123e1393630f57">ILI9341_WriteData</a>(uint8_t *data_buff, uint32_t data_len);</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> </div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span><span class="keywordtype">void</span> <a class="code hl_function" href="ili9341_8h.html#a38f8a77ec69173869a99d61674202dda">ILI9341_Rotate</a>(uint16_t degrees, uint8_t bgr);</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> </div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span><span class="keywordtype">void</span> <a class="code hl_function" href="ili9341_8h.html#a74e9c176e21ab18d5cafc8529f1dfe23">ILI9341_SetWindow</a>(uint16_t x_axis_start, uint16_t x_axis_end, uint16_t y_axis_start, uint16_t y_axis_end);</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span> </div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span><span class="keywordtype">void</span> <a class="code hl_function" href="ili9341_8h.html#aed7ce558686d97070d711d23b09039e1">ILI9341_FillWindow</a>(uint8_t *buff, uint32_t buff_len);</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"> 253</span> </div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span><span class="keywordtype">void</span> <a class="code hl_function" href="ili9341_8h.html#a93951349738b46ba84c4786d33afa71a">ILI9341_FillWindowDMA</a>(uint8_t *buff, uint32_t buff_len);</div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span> </div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span><span class="keywordtype">void</span> <a class="code hl_function" href="ili9341_8h.html#ac864bb1c0150636af050c0613b7511dd">ILI9341_SPICmpltHandler</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span> </div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span><span class="keywordtype">void</span> <a class="code hl_function" href="ili9341_8h.html#afcbe8a27d4870ce155a3ba3b6f1155cb">ILI9341_FillWindowCmpltCallBack</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span> </div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"> 272</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aili9341_8h_html_a2fd7f0b26c0ffcd016123e1393630f57"><div class="ttname"><a href="ili9341_8h.html#a2fd7f0b26c0ffcd016123e1393630f57">ILI9341_WriteData</a></div><div class="ttdeci">void ILI9341_WriteData(uint8_t *data_buff, uint32_t data_len)</div><div class="ttdoc">Writes data to the ILI9341 LCD.</div><div class="ttdef"><b>Definition</b> ili9341.c:245</div></div>
<div class="ttc" id="aili9341_8h_html_a32dc1a25dba771348cc10ccb2487cb87"><div class="ttname"><a href="ili9341_8h.html#a32dc1a25dba771348cc10ccb2487cb87">ILI9341_WriteCommand</a></div><div class="ttdeci">void ILI9341_WriteCommand(uint8_t cmd)</div><div class="ttdoc">Writes a command to the ILI9341 LCD.</div><div class="ttdef"><b>Definition</b> ili9341.c:217</div></div>
<div class="ttc" id="aili9341_8h_html_a38f8a77ec69173869a99d61674202dda"><div class="ttname"><a href="ili9341_8h.html#a38f8a77ec69173869a99d61674202dda">ILI9341_Rotate</a></div><div class="ttdeci">void ILI9341_Rotate(uint16_t degrees, uint8_t bgr)</div><div class="ttdoc">Rotates the ILI9341 LCD display.</div><div class="ttdef"><b>Definition</b> ili9341.c:417</div></div>
<div class="ttc" id="aili9341_8h_html_a74e9c176e21ab18d5cafc8529f1dfe23"><div class="ttname"><a href="ili9341_8h.html#a74e9c176e21ab18d5cafc8529f1dfe23">ILI9341_SetWindow</a></div><div class="ttdeci">void ILI9341_SetWindow(uint16_t x_axis_start, uint16_t x_axis_end, uint16_t y_axis_start, uint16_t y_axis_end)</div><div class="ttdoc">Sets the window area for the ILI9341 LCD.</div><div class="ttdef"><b>Definition</b> ili9341.c:269</div></div>
<div class="ttc" id="aili9341_8h_html_a93951349738b46ba84c4786d33afa71a"><div class="ttname"><a href="ili9341_8h.html#a93951349738b46ba84c4786d33afa71a">ILI9341_FillWindowDMA</a></div><div class="ttdeci">void ILI9341_FillWindowDMA(uint8_t *buff, uint32_t buff_len)</div><div class="ttdoc">Fills the window area of the ILI9341 LCD using DMA.</div><div class="ttdef"><b>Definition</b> ili9341.c:301</div></div>
<div class="ttc" id="aili9341_8h_html_ac864bb1c0150636af050c0613b7511dd"><div class="ttname"><a href="ili9341_8h.html#ac864bb1c0150636af050c0613b7511dd">ILI9341_SPICmpltHandler</a></div><div class="ttdeci">void ILI9341_SPICmpltHandler(void)</div><div class="ttdoc">Handles SPI DMA transfer completion.</div><div class="ttdef"><b>Definition</b> ili9341.c:367</div></div>
<div class="ttc" id="aili9341_8h_html_ad5cdca394aae512e37176b6a30332a68"><div class="ttname"><a href="ili9341_8h.html#ad5cdca394aae512e37176b6a30332a68">ILI9341_Init</a></div><div class="ttdeci">void ILI9341_Init(void)</div><div class="ttdoc">Initializes the ILI9341 LCD.</div><div class="ttdef"><b>Definition</b> ili9341.c:33</div></div>
<div class="ttc" id="aili9341_8h_html_aed7ce558686d97070d711d23b09039e1"><div class="ttname"><a href="ili9341_8h.html#aed7ce558686d97070d711d23b09039e1">ILI9341_FillWindow</a></div><div class="ttdeci">void ILI9341_FillWindow(uint8_t *buff, uint32_t buff_len)</div><div class="ttdoc">Fills the window area of the ILI9341 LCD.</div><div class="ttdef"><b>Definition</b> ili9341.c:341</div></div>
<div class="ttc" id="aili9341_8h_html_afcbe8a27d4870ce155a3ba3b6f1155cb"><div class="ttname"><a href="ili9341_8h.html#afcbe8a27d4870ce155a3ba3b6f1155cb">ILI9341_FillWindowCmpltCallBack</a></div><div class="ttdeci">void ILI9341_FillWindowCmpltCallBack(void)</div><div class="ttdoc">Weak callback function for window fill completion.</div><div class="ttdef"><b>Definition</b> display.c:149</div></div>
<div class="ttc" id="astruct_i_l_i9341_current_buffer__t_html"><div class="ttname"><a href="struct_i_l_i9341_current_buffer__t.html">ILI9341CurrentBuffer_t</a></div><div class="ttdef"><b>Definition</b> ili9341.h:202</div></div>
<div class="ttc" id="astruct_i_l_i9341_current_buffer__t_html_a272d63ec36aa3b7cb0930c0cd133bdb9"><div class="ttname"><a href="struct_i_l_i9341_current_buffer__t.html#a272d63ec36aa3b7cb0930c0cd133bdb9">ILI9341CurrentBuffer_t::buff_remain_len</a></div><div class="ttdeci">uint32_t buff_remain_len</div><div class="ttdef"><b>Definition</b> ili9341.h:203</div></div>
<div class="ttc" id="astruct_i_l_i9341_current_buffer__t_html_a734ec4c3f7137ec5fccda34b9d0ce4b1"><div class="ttname"><a href="struct_i_l_i9341_current_buffer__t.html#a734ec4c3f7137ec5fccda34b9d0ce4b1">ILI9341CurrentBuffer_t::buff_current_pos</a></div><div class="ttdeci">uint32_t buff_current_pos</div><div class="ttdef"><b>Definition</b> ili9341.h:204</div></div>
<div class="ttc" id="astruct_i_l_i9341_current_buffer__t_html_aa13ff4372fb75386f94d32c13c6c92b4"><div class="ttname"><a href="struct_i_l_i9341_current_buffer__t.html#aa13ff4372fb75386f94d32c13c6c92b4">ILI9341CurrentBuffer_t::buff</a></div><div class="ttdeci">uint8_t * buff</div><div class="ttdef"><b>Definition</b> ili9341.h:205</div></div>
</div><!-- fragment --></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_24817a301ba3256d5cc3ff5fb28dbe0b.html">Display</a></li><li class="navelem"><a class="el" href="dir_57dcd621aec18e7df89f0d7d04c543e2.html">Inc</a></li><li class="navelem"><a class="el" href="ili9341_8h.html">ili9341.h</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0 </li>
</ul>
</div>
</body>
</html>