This repository has been archived on 2024-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
Solar-Panel/html/modbus_8h_source.html
2023-03-15 12:55:57 +01:00

135 lines
10 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: modbus.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 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&amp;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&amp;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&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('modbus_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">
<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">modbus.h</div></div>
</div><!--header-->
<div class="contents">
<a href="modbus_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><span class="comment">/************************************************************************/</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#ifndef MODBUS_H</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#define MODBUS_H</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span> </div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &lt;stdint.h&gt;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="keyword">extern</span> uint8_t <a class="code hl_variable" href="modbus_8h.html#a32ee4d57aa4ff7f7fce07fbe100dc0c2">modbusAddress</a>;</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="keyword">extern</span> uint16_t <a class="code hl_variable" href="modbus_8h.html#af231936e7cd39b49156a2a178f3d54eb">input_registers</a>[2];</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="keyword">extern</span> uint16_t <a class="code hl_variable" href="modbus_8h.html#a2aac17f17a0fbffad12e7ca46ed8ae0f">holding_registers</a>[2];</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="keywordtype">void</span> <a class="code hl_function" href="modbus_8h.html#a67d9839b8e221bcb53bbbb2ba59ff618">modbus_init</a>(uint8_t address);</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span>uint8_t <a class="code hl_function" href="modbus_8h.html#a6ae3279c3dcad4aa532eb07689f242e1">modbus_analyse_and_answer</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="keywordtype">void</span> <a class="code hl_function" href="modbus_8h.html#af1b0553ef81d80e21233e23c3253ae61">modbus_send</a>(uint8_t length);</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><span class="keywordtype">void</span> <a class="code hl_function" href="modbus_8h.html#aacb32a5aea357fae4e7fde574f95bfb9">modbus_char_recvd</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span><span class="keywordtype">void</span> <a class="code hl_function" href="modbus_8h.html#add3e4a272cc65130d4e9f9c53caa61db">modbus_timer</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span><span class="preprocessor">#endif </span><span class="comment">/* MODBUS_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="amodbus_8h_html_a2aac17f17a0fbffad12e7ca46ed8ae0f"><div class="ttname"><a href="modbus_8h.html#a2aac17f17a0fbffad12e7ca46ed8ae0f">holding_registers</a></div><div class="ttdeci">uint16_t holding_registers[2]</div><div class="ttdef"><b>Definition:</b> <a href="modbus_8c_source.html#l00014">modbus.c:14</a></div></div>
<div class="ttc" id="amodbus_8h_html_a32ee4d57aa4ff7f7fce07fbe100dc0c2"><div class="ttname"><a href="modbus_8h.html#a32ee4d57aa4ff7f7fce07fbe100dc0c2">modbusAddress</a></div><div class="ttdeci">uint8_t modbusAddress</div><div class="ttdef"><b>Definition:</b> <a href="modbus_8c_source.html#l00012">modbus.c:12</a></div></div>
<div class="ttc" id="amodbus_8h_html_a67d9839b8e221bcb53bbbb2ba59ff618"><div class="ttname"><a href="modbus_8h.html#a67d9839b8e221bcb53bbbb2ba59ff618">modbus_init</a></div><div class="ttdeci">void modbus_init(uint8_t address)</div><div class="ttdef"><b>Definition:</b> <a href="modbus_8c_source.html#l00108">modbus.c:108</a></div></div>
<div class="ttc" id="amodbus_8h_html_a6ae3279c3dcad4aa532eb07689f242e1"><div class="ttname"><a href="modbus_8h.html#a6ae3279c3dcad4aa532eb07689f242e1">modbus_analyse_and_answer</a></div><div class="ttdeci">uint8_t modbus_analyse_and_answer(void)</div><div class="ttdef"><b>Definition:</b> <a href="modbus_8c_source.html#l00040">modbus.c:40</a></div></div>
<div class="ttc" id="amodbus_8h_html_aacb32a5aea357fae4e7fde574f95bfb9"><div class="ttname"><a href="modbus_8h.html#aacb32a5aea357fae4e7fde574f95bfb9">modbus_char_recvd</a></div><div class="ttdeci">void modbus_char_recvd(void)</div><div class="ttdef"><b>Definition:</b> <a href="modbus_8c_source.html#l00085">modbus.c:85</a></div></div>
<div class="ttc" id="amodbus_8h_html_add3e4a272cc65130d4e9f9c53caa61db"><div class="ttname"><a href="modbus_8h.html#add3e4a272cc65130d4e9f9c53caa61db">modbus_timer</a></div><div class="ttdeci">void modbus_timer(void)</div><div class="ttdef"><b>Definition:</b> <a href="modbus_8c_source.html#l00033">modbus.c:33</a></div></div>
<div class="ttc" id="amodbus_8h_html_af1b0553ef81d80e21233e23c3253ae61"><div class="ttname"><a href="modbus_8h.html#af1b0553ef81d80e21233e23c3253ae61">modbus_send</a></div><div class="ttdeci">void modbus_send(uint8_t length)</div><div class="ttdef"><b>Definition:</b> <a href="modbus_8c_source.html#l00092">modbus.c:92</a></div></div>
<div class="ttc" id="amodbus_8h_html_af231936e7cd39b49156a2a178f3d54eb"><div class="ttname"><a href="modbus_8h.html#af231936e7cd39b49156a2a178f3d54eb">input_registers</a></div><div class="ttdeci">uint16_t input_registers[2]</div><div class="ttdef"><b>Definition:</b> <a href="modbus_8c_source.html#l00013">modbus.c:13</a></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="modbus_8h.html">modbus.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>