327 lines
15 KiB
HTML
327 lines
15 KiB
HTML
<!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.9.6"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Solar panel: lcd/lcd.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 id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">Solar panel
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.6 -->
|
|
<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" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function(){initNavTree('lcd_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">
|
|
<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="summary">
|
|
<a href="#define-members">Macros</a> |
|
|
<a href="#func-members">Functions</a> </div>
|
|
<div class="headertitle"><div class="title">lcd.h File Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="textblock"><code>#include <xc.h></code><br />
|
|
</div>
|
|
<p><a href="lcd_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 id="define-members" name="define-members"></a>
|
|
Macros</h2></td></tr>
|
|
<tr class="memitem:a4781e073871c6f27f89b9463ad3a4ed1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lcd_8h.html#a4781e073871c6f27f89b9463ad3a4ed1">LCD_RS</a>   LATDbits.LATD3</td></tr>
|
|
<tr class="separator:a4781e073871c6f27f89b9463ad3a4ed1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a079bc2fad0a364982e2e3ec0205e065e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lcd_8h.html#a079bc2fad0a364982e2e3ec0205e065e">DIR_LCD_RS</a>   TRISDbits.TRISD3</td></tr>
|
|
<tr class="separator:a079bc2fad0a364982e2e3ec0205e065e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a71d24cab0e16b054de228f29139f1b79"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lcd_8h.html#a71d24cab0e16b054de228f29139f1b79">LCD_CS</a>   LATDbits.LATD2</td></tr>
|
|
<tr class="separator:a71d24cab0e16b054de228f29139f1b79"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a314008d0ad63ceef2e7944aaa5432d42"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lcd_8h.html#a314008d0ad63ceef2e7944aaa5432d42">DIR_LCD_CS</a>   TRISDbits.TRISD2</td></tr>
|
|
<tr class="separator:a314008d0ad63ceef2e7944aaa5432d42"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a041f6b842c82805221a92a6a626c1c52"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lcd_8h.html#a041f6b842c82805221a92a6a626c1c52">LCD_DATA_L_DIR</a>   TRISJ</td></tr>
|
|
<tr class="separator:a041f6b842c82805221a92a6a626c1c52"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac44fcb5a86292cb589248b2ffa2fc960"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="lcd_8h.html#ac44fcb5a86292cb589248b2ffa2fc960">LCD_DATA_L</a>   LATJ</td></tr>
|
|
<tr class="separator:ac44fcb5a86292cb589248b2ffa2fc960"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
|
Functions</h2></td></tr>
|
|
<tr class="memitem:ae3e90a42efbeab0e5b0c6478e01e80ba"><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="lcd_8h.html#ae3e90a42efbeab0e5b0c6478e01e80ba">Lcd_Init</a> (void)</td></tr>
|
|
<tr class="separator:ae3e90a42efbeab0e5b0c6478e01e80ba"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3305f9be08938e31fe3ddb754ffc1c58"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lcd_8h.html#a3305f9be08938e31fe3ddb754ffc1c58">LCD_2x16_WriteCmd</a> (uint8_t command)</td></tr>
|
|
<tr class="separator:a3305f9be08938e31fe3ddb754ffc1c58"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a045b8ad35250a48c972514c1b8d9ad8a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lcd_8h.html#a045b8ad35250a48c972514c1b8d9ad8a">LCD_2x16_WriteData</a> (uint8_t command)</td></tr>
|
|
<tr class="separator:a045b8ad35250a48c972514c1b8d9ad8a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae82c1ee673779250514a3227235976e4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lcd_8h.html#ae82c1ee673779250514a3227235976e4">LCD_2x16_WriteMsg</a> (unsigned char *msg, uint8_t line)</td></tr>
|
|
<tr class="separator:ae82c1ee673779250514a3227235976e4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Macro Definition Documentation</h2>
|
|
<a id="a314008d0ad63ceef2e7944aaa5432d42" name="a314008d0ad63ceef2e7944aaa5432d42"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a314008d0ad63ceef2e7944aaa5432d42">◆ </a></span>DIR_LCD_CS</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define DIR_LCD_CS   TRISDbits.TRISD2</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="lcd_8h_source.html#l00041">41</a> of file <a class="el" href="lcd_8h_source.html">lcd.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a079bc2fad0a364982e2e3ec0205e065e" name="a079bc2fad0a364982e2e3ec0205e065e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a079bc2fad0a364982e2e3ec0205e065e">◆ </a></span>DIR_LCD_RS</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define DIR_LCD_RS   TRISDbits.TRISD3</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="lcd_8h_source.html#l00039">39</a> of file <a class="el" href="lcd_8h_source.html">lcd.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a71d24cab0e16b054de228f29139f1b79" name="a71d24cab0e16b054de228f29139f1b79"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a71d24cab0e16b054de228f29139f1b79">◆ </a></span>LCD_CS</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define LCD_CS   LATDbits.LATD2</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="lcd_8h_source.html#l00040">40</a> of file <a class="el" href="lcd_8h_source.html">lcd.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac44fcb5a86292cb589248b2ffa2fc960" name="ac44fcb5a86292cb589248b2ffa2fc960"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac44fcb5a86292cb589248b2ffa2fc960">◆ </a></span>LCD_DATA_L</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define LCD_DATA_L   LATJ</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="lcd_8h_source.html#l00043">43</a> of file <a class="el" href="lcd_8h_source.html">lcd.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a041f6b842c82805221a92a6a626c1c52" name="a041f6b842c82805221a92a6a626c1c52"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a041f6b842c82805221a92a6a626c1c52">◆ </a></span>LCD_DATA_L_DIR</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define LCD_DATA_L_DIR   TRISJ</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="lcd_8h_source.html#l00042">42</a> of file <a class="el" href="lcd_8h_source.html">lcd.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4781e073871c6f27f89b9463ad3a4ed1" name="a4781e073871c6f27f89b9463ad3a4ed1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4781e073871c6f27f89b9463ad3a4ed1">◆ </a></span>LCD_RS</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">#define LCD_RS   LATDbits.LATD3</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="lcd_8h_source.html#l00038">38</a> of file <a class="el" href="lcd_8h_source.html">lcd.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Function Documentation</h2>
|
|
<a id="a3305f9be08938e31fe3ddb754ffc1c58" name="a3305f9be08938e31fe3ddb754ffc1c58"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3305f9be08938e31fe3ddb754ffc1c58">◆ </a></span>LCD_2x16_WriteCmd()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void LCD_2x16_WriteCmd </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>command</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="lcd_8c_source.html#l00043">43</a> of file <a class="el" href="lcd_8c_source.html">lcd.c</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a045b8ad35250a48c972514c1b8d9ad8a" name="a045b8ad35250a48c972514c1b8d9ad8a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a045b8ad35250a48c972514c1b8d9ad8a">◆ </a></span>LCD_2x16_WriteData()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void LCD_2x16_WriteData </td>
|
|
<td>(</td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>command</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="lcd_8c_source.html#l00058">58</a> of file <a class="el" href="lcd_8c_source.html">lcd.c</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae82c1ee673779250514a3227235976e4" name="ae82c1ee673779250514a3227235976e4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae82c1ee673779250514a3227235976e4">◆ </a></span>LCD_2x16_WriteMsg()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void LCD_2x16_WriteMsg </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned char * </td>
|
|
<td class="paramname"><em>msg</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">uint8_t </td>
|
|
<td class="paramname"><em>line</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="lcd_8c_source.html#l00074">74</a> of file <a class="el" href="lcd_8c_source.html">lcd.c</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae3e90a42efbeab0e5b0c6478e01e80ba" name="ae3e90a42efbeab0e5b0c6478e01e80ba"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae3e90a42efbeab0e5b0c6478e01e80ba">◆ </a></span>Lcd_Init()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int8_t Lcd_Init </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="lcd_8c_source.html#l00017">17</a> of file <a class="el" href="lcd_8c_source.html">lcd.c</a>.</p>
|
|
|
|
</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_7539740a674fe554df3e16c8629ce56f.html">lcd</a></li><li class="navelem"><a class="el" href="lcd_8h.html">lcd.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.9.6 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|