181 lines
8.3 KiB
HTML
181 lines
8.3 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: mcc_generated_files/epwm1.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('epwm1_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="#func-members">Functions</a> </div>
|
||
|
<div class="headertitle"><div class="title">epwm1.h File Reference</div></div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
<div class="textblock"><code>#include <xc.h></code><br />
|
||
|
<code>#include <stdint.h></code><br />
|
||
|
</div>
|
||
|
<p><a href="epwm1_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="func-members" name="func-members"></a>
|
||
|
Functions</h2></td></tr>
|
||
|
<tr class="memitem:a0087e70977fcfb3d715ab9fec17a6a8d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="epwm1_8h.html#a0087e70977fcfb3d715ab9fec17a6a8d">EPWM1_Initialize</a> (void)</td></tr>
|
||
|
<tr class="separator:a0087e70977fcfb3d715ab9fec17a6a8d"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:acb3f0021b8789111ae243d1cd4c5942c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="epwm1_8h.html#acb3f0021b8789111ae243d1cd4c5942c">EPWM1_LoadDutyValue</a> (uint16_t dutyValue)</td></tr>
|
||
|
<tr class="separator:acb3f0021b8789111ae243d1cd4c5942c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<h2 class="groupheader">Function Documentation</h2>
|
||
|
<a id="a0087e70977fcfb3d715ab9fec17a6a8d" name="a0087e70977fcfb3d715ab9fec17a6a8d"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a0087e70977fcfb3d715ab9fec17a6a8d">◆ </a></span>EPWM1_Initialize()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void EPWM1_Initialize </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">void </td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>EPWM1 Generated Driver File</p>
|
||
|
<p>@Company Microchip Technology Inc.</p>
|
||
|
<p>@File Name <a class="el" href="epwm1_8h.html">epwm1.h</a></p>
|
||
|
<p>@Summary This is the generated driver implementation file for the EPWM1 driver using PIC10 / PIC12 / PIC16 / PIC18 MCUs</p>
|
||
|
<p>@Description This header file provides implementations for driver APIs for EPWM1. Generation Information : Product Revision : PIC10 / PIC12 / PIC16 / PIC18 MCUs - 1.81.8 Device : PIC18F97J60 Driver Version : 2.01 The generated drivers are tested against the following: Compiler : XC8 2.36 and above MPLAB : MPLAB X 6.00 Section: Included Files Section: EPWM Module APIs @Summary Initializes the EPWM1</p>
|
||
|
<p>@Description This routine initializes the EPWM1 module. This routine must be called before any other EPWM1 routine is called. This routine should only be called once during system initialization.</p>
|
||
|
<p>@Preconditions None</p>
|
||
|
<p>@Param None</p>
|
||
|
<p>@Returns None</p>
|
||
|
<p>@Comment</p>
|
||
|
<p>@Example <code> uint16_t dutycycle;</code></p>
|
||
|
<p><code> ECCP1_Initialize(); EPWM1_LoadDutyValue(dutycycle); </code></p>
|
||
|
<p>Section: EPWM Module APIs </p>
|
||
|
|
||
|
<p class="definition">Definition at line <a class="el" href="epwm1_8c_source.html#l00064">64</a> of file <a class="el" href="epwm1_8c_source.html">epwm1.c</a>.</p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="acb3f0021b8789111ae243d1cd4c5942c" name="acb3f0021b8789111ae243d1cd4c5942c"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#acb3f0021b8789111ae243d1cd4c5942c">◆ </a></span>EPWM1_LoadDutyValue()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void EPWM1_LoadDutyValue </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">uint16_t </td>
|
||
|
<td class="paramname"><em>dutyValue</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<p>@Summary Loads 16-bit duty cycle.</p>
|
||
|
<p>@Description This routine loads the 16 bit duty cycle value.</p>
|
||
|
<p>@Preconditions <a class="el" href="epwm1_8h.html#a0087e70977fcfb3d715ab9fec17a6a8d">EPWM1_Initialize()</a> function should have been called before calling this function.</p>
|
||
|
<p>@Param Pass 16bit duty cycle value.</p>
|
||
|
<p>@Returns None</p>
|
||
|
<p>@Example <code> uint16_t dutycycle;</code></p>
|
||
|
<p><code> <a class="el" href="epwm1_8h.html#a0087e70977fcfb3d715ab9fec17a6a8d">EPWM1_Initialize()</a>; EPWM1_LoadDutyValue(dutycycle); </code> </p>
|
||
|
|
||
|
<p class="definition">Definition at line <a class="el" href="epwm1_8c_source.html#l00085">85</a> of file <a class="el" href="epwm1_8c_source.html">epwm1.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_0ad8aa10ae8c15a00cc43e117933779f.html">mcc_generated_files</a></li><li class="navelem"><a class="el" href="epwm1_8h.html">epwm1.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>
|