matlab_stm_emulate/DOCS/html/mcu__wrapper__conf_8h.html

644 lines
53 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>STM MATLAB Simulator: F:/Work/Projects/MATLAB/matlab_stm_emulate/MCU_Wrapper/mcu_wrapper_conf.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>
<script type="text/javascript" src="clipboard.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>
<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">STM MATLAB Simulator
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.10.0 -->
<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');
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- 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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_5bc05bcf5fafad3c8688aee149210d07.html">MCU_Wrapper</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> </div>
<div class="headertitle"><div class="title">mcu_wrapper_conf.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="stm32f4xx__matlab__conf_8h_source.html">stm32f4xx_matlab_conf.h</a>&quot;</code><br />
<code>#include &quot;simstruc.h&quot;</code><br />
<code>#include &lt;process.h&gt;</code><br />
</div><div class="textblock"><div id="dynsection-0" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Include dependency graph for mcu_wrapper_conf.h:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="mcu__wrapper__conf_8h__incl.png" border="0" usemap="#a_f_1_2_work_2_projects_2_m_a_t_l_a_b_2matlab__stm__emulate_2_m_c_u___wrapper_2mcu__wrapper__conf_8h" alt=""/></div>
<map name="a_f_1_2_work_2_projects_2_m_a_t_l_a_b_2matlab__stm__emulate_2_m_c_u___wrapper_2mcu__wrapper__conf_8h" id="a_f_1_2_work_2_projects_2_m_a_t_l_a_b_2matlab__stm__emulate_2_m_c_u___wrapper_2mcu__wrapper__conf_8h">
<area shape="rect" title=" " alt="" coords="328,5,530,64"/>
<area shape="rect" href="stm32f4xx__matlab__conf_8h.html" title=" " alt="" coords="192,112,364,139"/>
<area shape="poly" title=" " alt="" coords="381,67,314,106,311,102,379,62"/>
<area shape="rect" title=" " alt="" coords="534,261,617,288"/>
<area shape="poly" title=" " alt="" coords="467,63,520,116,546,149,567,186,576,216,579,246,574,246,571,217,562,188,542,152,516,119,463,67"/>
<area shape="rect" title=" " alt="" coords="627,112,705,139"/>
<area shape="poly" title=" " alt="" coords="507,62,619,104,618,109,505,67"/>
<area shape="rect" href="stm32f4xx__matlab__rcc_8h.html" title=" " alt="" coords="5,187,170,213"/>
<area shape="poly" title=" " alt="" coords="246,142,136,183,134,178,244,137"/>
<area shape="rect" href="stm32f4xx__matlab__gpio_8h.html" title=" " alt="" coords="382,187,553,213"/>
<area shape="poly" title=" " alt="" coords="312,137,421,178,419,183,310,142"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8h.html" title=" " alt="" coords="193,187,358,213"/>
<area shape="poly" title=" " alt="" coords="280,139,279,171,274,171,275,139"/>
<area shape="poly" title=" " alt="" coords="96,184,130,148,154,127,180,110,245,79,313,57,314,62,247,84,182,114,157,132,134,152,100,188"/>
<area shape="poly" title=" " alt="" coords="462,187,436,79,442,78,467,186"/>
<area shape="rect" title=" " alt="" coords="380,261,497,288"/>
<area shape="poly" title=" " alt="" coords="465,215,451,248,446,246,460,213"/>
<area shape="poly" title=" " alt="" coords="488,212,545,250,542,254,485,216"/>
<area shape="poly" title=" " alt="" coords="304,184,340,164,374,137,395,108,411,77,416,79,399,111,377,141,343,169,307,188"/>
<area shape="poly" title=" " alt="" coords="305,211,397,252,395,257,303,216"/>
<area shape="rect" title=" " alt="" coords="222,261,329,288"/>
<area shape="poly" title=" " alt="" coords="278,214,278,246,273,246,273,214"/>
</map>
</div>
</div><div class="textblock"><div id="dynsection-1" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-1-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="mcu__wrapper__conf_8h__dep__incl.png" border="0" usemap="#a_f_1_2_work_2_projects_2_m_a_t_l_a_b_2matlab__stm__emulate_2_m_c_u___wrapper_2mcu__wrapper__conf_8hdep" alt=""/></div>
<map name="a_f_1_2_work_2_projects_2_m_a_t_l_a_b_2matlab__stm__emulate_2_m_c_u___wrapper_2mcu__wrapper__conf_8hdep" id="a_f_1_2_work_2_projects_2_m_a_t_l_a_b_2matlab__stm__emulate_2_m_c_u___wrapper_2mcu__wrapper__conf_8hdep">
<area shape="rect" title=" " alt="" coords="573,5,774,64"/>
<area shape="rect" href="stm32f4xx__matlab__gpio_8h.html" title=" " alt="" coords="5,112,238,203"/>
<area shape="poly" title=" " alt="" coords="558,55,410,79,250,115,239,118,237,113,249,109,409,74,557,49"/>
<area shape="rect" href="stm32f4xx__matlab__rcc_8h.html" title=" " alt="" coords="261,112,494,203"/>
<area shape="poly" title=" " alt="" coords="590,73,488,114,486,109,588,68"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8h.html" title=" " alt="" coords="1213,112,1446,203"/>
<area shape="poly" title=" " alt="" coords="790,44,984,68,1094,86,1202,109,1214,112,1212,117,1201,115,1093,92,983,73,789,49"/>
<area shape="rect" href="stm32f4xx__matlab__conf_8c.html" title=" " alt="" coords="568,120,779,195"/>
<area shape="poly" title=" " alt="" coords="676,80,676,120,671,120,671,80"/>
<area shape="rect" href="_m_c_u_8c.html" title=" " alt="" coords="803,128,984,187"/>
<area shape="poly" title=" " alt="" coords="740,69,842,125,840,130,737,74"/>
<area shape="rect" href="mcu__wrapper_8c.html" title=" " alt="" coords="1008,128,1190,187"/>
<area shape="poly" title=" " alt="" coords="790,56,892,79,997,109,1038,125,1036,130,995,115,890,84,789,61"/>
<area shape="rect" href="stm32f4xx__matlab__gpio_8c.html" title=" " alt="" coords="5,251,238,341"/>
<area shape="poly" title=" " alt="" coords="124,218,124,250,119,250,119,218"/>
<area shape="rect" href="stm32f4xx__matlab__conf_8h.html" title=" " alt="" coords="348,259,559,333"/>
<area shape="poly" title=" " alt="" coords="245,206,366,256,363,261,243,211"/>
<area shape="poly" title=" " alt="" coords="479,244,503,201,525,154,536,133,554,110,584,84,616,62,619,67,587,88,558,114,540,136,530,156,508,204,484,246"/>
<area shape="poly" title=" " alt="" coords="412,215,435,257,431,260,407,218"/>
<area shape="poly" title=" " alt="" coords="1199,206,1020,240,845,265,686,281,559,291,559,286,686,276,844,259,1020,235,1198,201"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html" title=" " alt="" coords="1213,251,1446,341"/>
<area shape="poly" title=" " alt="" coords="1332,218,1332,250,1327,250,1327,218"/>
</map>
</div>
</div>
<p><a href="mcu__wrapper__conf_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="nested-classes" name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_i_m_____m_c_u_handle_type_def.html">SIM__MCUHandleTypeDef</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">MCU handle Structure definition. <a href="struct_s_i_m_____m_c_u_handle_type_def.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:ga98a12c757c95bd7c8ae75999092af30f" id="r_ga98a12c757c95bd7c8ae75999092af30f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_r_a_p_p_e_r___c_o_n_f.html#ga98a12c757c95bd7c8ae75999092af30f">CREATE_SUSPENDED</a>&#160;&#160;&#160;0x00000004</td></tr>
<tr class="memdesc:ga98a12c757c95bd7c8ae75999092af30f"><td class="mdescLeft">&#160;</td><td class="mdescRight">define from WinBase.h. We dont wanna include "Windows.h" or smth like this, because of HAL there are a lot of redefine errors. <br /></td></tr>
<tr class="separator:ga98a12c757c95bd7c8ae75999092af30f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc876c6cc8fa4255636740b201ac1d66" id="r_gafc876c6cc8fa4255636740b201ac1d66"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_r_a_p_p_e_r___c_o_n_f.html#gafc876c6cc8fa4255636740b201ac1d66">DEKSTOP_CYCLES_FOR_MCU_APP</a>&#160;&#160;&#160;0xFFFF</td></tr>
<tr class="memdesc:gafc876c6cc8fa4255636740b201ac1d66"><td class="mdescLeft">&#160;</td><td class="mdescRight">number of for() cycles after which MCU thread would be suspended <br /></td></tr>
<tr class="separator:gafc876c6cc8fa4255636740b201ac1d66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga80d9b6ce1525c1148d94c021f0b8c83e" id="r_ga80d9b6ce1525c1148d94c021f0b8c83e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_r_a_p_p_e_r___c_o_n_f.html#ga80d9b6ce1525c1148d94c021f0b8c83e">PORT_WIDTH</a>&#160;&#160;&#160;16</td></tr>
<tr class="memdesc:ga80d9b6ce1525c1148d94c021f0b8c83e"><td class="mdescLeft">&#160;</td><td class="mdescRight">width of one port <br /></td></tr>
<tr class="separator:ga80d9b6ce1525c1148d94c021f0b8c83e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab59d8303ff443409a05cef11e3e7176e" id="r_gab59d8303ff443409a05cef11e3e7176e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_r_a_p_p_e_r___c_o_n_f.html#gab59d8303ff443409a05cef11e3e7176e">PORT_NUMB</a>&#160;&#160;&#160;3</td></tr>
<tr class="memdesc:gab59d8303ff443409a05cef11e3e7176e"><td class="mdescLeft">&#160;</td><td class="mdescRight">amount of ports <br /></td></tr>
<tr class="separator:gab59d8303ff443409a05cef11e3e7176e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae468832efa6adf5e9a96cabd8f878b47" id="r_gae468832efa6adf5e9a96cabd8f878b47"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_r_a_p_p_e_r___c_o_n_f.html#gae468832efa6adf5e9a96cabd8f878b47">NPARAMS</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:gae468832efa6adf5e9a96cabd8f878b47"><td class="mdescLeft">&#160;</td><td class="mdescRight">number of input parametrs (only Ts) <br /></td></tr>
<tr class="separator:gae468832efa6adf5e9a96cabd8f878b47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac41471250c3d92da182a969e378addfc" id="r_gac41471250c3d92da182a969e378addfc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_r_a_p_p_e_r___c_o_n_f.html#gac41471250c3d92da182a969e378addfc">IN_PORT_WIDTH</a>&#160;&#160;&#160;(8)</td></tr>
<tr class="memdesc:gac41471250c3d92da182a969e378addfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">width of input ports <br /></td></tr>
<tr class="separator:gac41471250c3d92da182a969e378addfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga25be09b98d138ff8c740bece06e1bcc6" id="r_ga25be09b98d138ff8c740bece06e1bcc6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_r_a_p_p_e_r___c_o_n_f.html#ga25be09b98d138ff8c740bece06e1bcc6">IN_PORT_NUMB</a>&#160;&#160;&#160;1</td></tr>
<tr class="memdesc:ga25be09b98d138ff8c740bece06e1bcc6"><td class="mdescLeft">&#160;</td><td class="mdescRight">number of input ports <br /></td></tr>
<tr class="separator:ga25be09b98d138ff8c740bece06e1bcc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac90b37686b0abfe29835c9632310897a" id="r_gac90b37686b0abfe29835c9632310897a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_r_a_p_p_e_r___c_o_n_f.html#gac90b37686b0abfe29835c9632310897a">OUT_PORT_WIDTH</a>&#160;&#160;&#160;<a class="el" href="group___w_r_a_p_p_e_r___c_o_n_f.html#ga80d9b6ce1525c1148d94c021f0b8c83e">PORT_WIDTH</a></td></tr>
<tr class="memdesc:gac90b37686b0abfe29835c9632310897a"><td class="mdescLeft">&#160;</td><td class="mdescRight">width of output ports <br /></td></tr>
<tr class="separator:gac90b37686b0abfe29835c9632310897a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9fa483e805a6570c4793b1e0ff9719ac" id="r_ga9fa483e805a6570c4793b1e0ff9719ac"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_r_a_p_p_e_r___c_o_n_f.html#ga9fa483e805a6570c4793b1e0ff9719ac">OUT_PORT_NUMB</a>&#160;&#160;&#160;<a class="el" href="group___w_r_a_p_p_e_r___c_o_n_f.html#gab59d8303ff443409a05cef11e3e7176e">PORT_NUMB</a></td></tr>
<tr class="memdesc:ga9fa483e805a6570c4793b1e0ff9719ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">number of output ports <br /></td></tr>
<tr class="separator:ga9fa483e805a6570c4793b1e0ff9719ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaed909ba8fd0e4f7a3c2533836dae5d9" id="r_gaaed909ba8fd0e4f7a3c2533836dae5d9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___w_r_a_p_p_e_r___c_o_n_f.html#gaaed909ba8fd0e4f7a3c2533836dae5d9">DISC_STATES_WIDTH</a>&#160;&#160;&#160;<a class="el" href="group___w_r_a_p_p_e_r___c_o_n_f.html#ga80d9b6ce1525c1148d94c021f0b8c83e">PORT_WIDTH</a>*<a class="el" href="group___w_r_a_p_p_e_r___c_o_n_f.html#gab59d8303ff443409a05cef11e3e7176e">PORT_NUMB</a></td></tr>
<tr class="memdesc:gaaed909ba8fd0e4f7a3c2533836dae5d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">width of discrete states array <br /></td></tr>
<tr class="separator:gaaed909ba8fd0e4f7a3c2533836dae5d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a866c2dad3e54488a018e859b3dc6feba" id="r_a866c2dad3e54488a018e859b3dc6feba"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a866c2dad3e54488a018e859b3dc6feba">while</a>(_expression_)&#160;&#160;&#160;<a class="el" href="#a1fef2893362ee1f5032b523ff8c7fd9d">sim_while</a>(_expression_)</td></tr>
<tr class="memdesc:a866c2dad3e54488a018e859b3dc6feba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Redefine C while statement with <a class="el" href="#a1fef2893362ee1f5032b523ff8c7fd9d" title="While statement for emulate MCU code in Simulink.">sim_while()</a> macro. <br /></td></tr>
<tr class="separator:a866c2dad3e54488a018e859b3dc6feba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fef2893362ee1f5032b523ff8c7fd9d" id="r_a1fef2893362ee1f5032b523ff8c7fd9d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a1fef2893362ee1f5032b523ff8c7fd9d">sim_while</a>(_expression_)&#160;&#160;&#160;<a class="el" href="#a866c2dad3e54488a018e859b3dc6feba">while</a>((_expression_)&amp;&amp;(hmcu.MCU_Stop == 0))</td></tr>
<tr class="memdesc:a1fef2893362ee1f5032b523ff8c7fd9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">While statement for emulate MCU code in Simulink. <br /></td></tr>
<tr class="separator:a1fef2893362ee1f5032b523ff8c7fd9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abaad5b5eb9243ab531775be5eda6ee02" id="r_abaad5b5eb9243ab531775be5eda6ee02"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#abaad5b5eb9243ab531775be5eda6ee02">native_while</a>(_expression_)&#160;&#160;&#160;for(; (_expression_); )</td></tr>
<tr class="memdesc:abaad5b5eb9243ab531775be5eda6ee02"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default/Native C while statement. <br /></td></tr>
<tr class="separator:abaad5b5eb9243ab531775be5eda6ee02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa8c0374618b33785ccb02f74bcfebc46" id="r_gaa8c0374618b33785ccb02f74bcfebc46"><td class="memItemLeft" align="right" valign="top">typedef void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___m_c_u___w_r_a_p_p_e_r.html#gaa8c0374618b33785ccb02f74bcfebc46">HANDLE</a></td></tr>
<tr class="memdesc:gaa8c0374618b33785ccb02f74bcfebc46"><td class="mdescLeft">&#160;</td><td class="mdescRight">MCU handle typedef. <br /></td></tr>
<tr class="separator:gaa8c0374618b33785ccb02f74bcfebc46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7bd77e7f9825a3661f357e430246bfe8" id="r_a7bd77e7f9825a3661f357e430246bfe8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_s_i_m_____m_c_u_handle_type_def.html">SIM__MCUHandleTypeDef</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a7bd77e7f9825a3661f357e430246bfe8">hmcu</a></td></tr>
<tr class="memdesc:a7bd77e7f9825a3661f357e430246bfe8"><td class="mdescLeft">&#160;</td><td class="mdescRight">extern для видимости переменной во всех файлах <br /></td></tr>
<tr class="separator:a7bd77e7f9825a3661f357e430246bfe8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3c4ea41584d0367dfbfb697f5e57456" id="r_ad3c4ea41584d0367dfbfb697f5e57456"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad3c4ea41584d0367dfbfb697f5e57456">MCU_Step_Simulation</a> (SimStruct *S, time_T time)</td></tr>
<tr class="memdesc:ad3c4ea41584d0367dfbfb697f5e57456"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read from simulink S-Block Inputs and write to MCU I/O ports. <br /></td></tr>
<tr class="separator:ad3c4ea41584d0367dfbfb697f5e57456"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accdef5b45f3d1646f248304e02b00e54" id="r_accdef5b45f3d1646f248304e02b00e54"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#accdef5b45f3d1646f248304e02b00e54">MCU_Periph_Simulation</a> (void)</td></tr>
<tr class="memdesc:accdef5b45f3d1646f248304e02b00e54"><td class="mdescLeft">&#160;</td><td class="mdescRight">Simulate peripheral of MCU. <br /></td></tr>
<tr class="separator:accdef5b45f3d1646f248304e02b00e54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54429d6d68b1d72ce16bab374e3ffa08" id="r_a54429d6d68b1d72ce16bab374e3ffa08"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a54429d6d68b1d72ce16bab374e3ffa08">SIM_Initialize_Simulation</a> (void)</td></tr>
<tr class="memdesc:a54429d6d68b1d72ce16bab374e3ffa08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize structures and variables for simulating MCU. <br /></td></tr>
<tr class="separator:a54429d6d68b1d72ce16bab374e3ffa08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f04b162923bada308d9668743425b92" id="r_a6f04b162923bada308d9668743425b92"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a6f04b162923bada308d9668743425b92">SIM_deInitialize_Simulation</a> (void)</td></tr>
<tr class="memdesc:a6f04b162923bada308d9668743425b92"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitialize structures and variables for simulating MCU. <br /></td></tr>
<tr class="separator:a6f04b162923bada308d9668743425b92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc7d8087f585d1d627093e18df213512" id="r_abc7d8087f585d1d627093e18df213512"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#abc7d8087f585d1d627093e18df213512">MCU_readInputs</a> (real_T *in)</td></tr>
<tr class="separator:abc7d8087f585d1d627093e18df213512"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a823c4fab88e5ef9b283cee495b2524ad" id="r_a823c4fab88e5ef9b283cee495b2524ad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a823c4fab88e5ef9b283cee495b2524ad">MCU_writeOutputs</a> (real_T *disc)</td></tr>
<tr class="separator:a823c4fab88e5ef9b283cee495b2524ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad38bfad0ee1e186c0663565abb6bc71a" id="r_ad38bfad0ee1e186c0663565abb6bc71a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ad38bfad0ee1e186c0663565abb6bc71a">SIM_writeOutput</a> (SimStruct *S)</td></tr>
<tr class="separator:ad38bfad0ee1e186c0663565abb6bc71a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a866c2dad3e54488a018e859b3dc6feba" name="a866c2dad3e54488a018e859b3dc6feba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a866c2dad3e54488a018e859b3dc6feba">&#9670;&#160;</a></span>while</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define while</td>
<td>(</td>
<td class="paramtype"></td> <td class="paramname"><span class="paramname">_expression_</span></td><td>)</td>
<td>&#160;&#160;&#160;<a class="el" href="#a1fef2893362ee1f5032b523ff8c7fd9d">sim_while</a>(_expression_)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Redefine C while statement with <a class="el" href="#a1fef2893362ee1f5032b523ff8c7fd9d" title="While statement for emulate MCU code in Simulink.">sim_while()</a> macro. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">_expression_</td><td>- expression for while.</td></tr>
</table>
</dd>
</dl>
<p>Это while который будет использоваться в симулинке <a class="el" href="#a1fef2893362ee1f5032b523ff8c7fd9d">sim_while</a> для подробностей. </p>
</div>
</div>
<a id="a1fef2893362ee1f5032b523ff8c7fd9d" name="a1fef2893362ee1f5032b523ff8c7fd9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1fef2893362ee1f5032b523ff8c7fd9d">&#9670;&#160;</a></span>sim_while</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define sim_while</td>
<td>(</td>
<td class="paramtype"></td> <td class="paramname"><span class="paramname">_expression_</span></td><td>)</td>
<td>&#160;&#160;&#160;<a class="el" href="#a866c2dad3e54488a018e859b3dc6feba">while</a>((_expression_)&amp;&amp;(hmcu.MCU_Stop == 0))</td>
</tr>
</table>
</div><div class="memdoc">
<p>While statement for emulate MCU code in Simulink. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">_expression_</td><td>- expression for while.</td></tr>
</table>
</dd>
</dl>
<p>Данный while необходим, чтобы в конце симуляции, завершить поток МК: При выставлении флага окончания симуляции, все while будут пропускаться и поток сможет дойти до конца функции main и завершить себя. </p>
</div>
</div>
<a id="abaad5b5eb9243ab531775be5eda6ee02" name="abaad5b5eb9243ab531775be5eda6ee02"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abaad5b5eb9243ab531775be5eda6ee02">&#9670;&#160;</a></span>native_while</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define native_while</td>
<td>(</td>
<td class="paramtype"></td> <td class="paramname"><span class="paramname">_expression_</span></td><td>)</td>
<td>&#160;&#160;&#160;for(; (_expression_); )</td>
</tr>
</table>
</div><div class="memdoc">
<p>Default/Native C while statement. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">_expression_</td><td>- expression for while.</td></tr>
</table>
</dd>
</dl>
<p>Данный while - аналог обычного while, без дополнительного функционала. </p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ad3c4ea41584d0367dfbfb697f5e57456" name="ad3c4ea41584d0367dfbfb697f5e57456"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad3c4ea41584d0367dfbfb697f5e57456">&#9670;&#160;</a></span>MCU_Step_Simulation()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MCU_Step_Simulation </td>
<td>(</td>
<td class="paramtype">SimStruct *</td> <td class="paramname"><span class="paramname"><em>S</em>, </span></td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">time_T</td> <td class="paramname"><span class="paramname"><em>time</em></span>&#160;)</td>
</tr>
</table>
</div><div class="memdoc">
<p>Read from simulink S-Block Inputs and write to MCU I/O ports. </p>
<p>SIMULATE MCU FOR ONE SIMULATION STEP </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">time</td><td>- current time of simulation (in second).</td></tr>
</table>
</dd>
</dl>
<p>Запускает поток, который выполняет код МК и управляет ходом потока: Если прошел таймаут, поток прерывается, симулируется периферия и на следующем шаге поток возобнавляется. </p>
<div id="dynsection-2" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-2-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
<div class="center"><img src="mcu__wrapper__conf_8h_ad3c4ea41584d0367dfbfb697f5e57456_cgraph.png" border="0" usemap="#amcu__wrapper__conf_8h_ad3c4ea41584d0367dfbfb697f5e57456_cgraph" alt=""/></div>
<map name="amcu__wrapper__conf_8h_ad3c4ea41584d0367dfbfb697f5e57456_cgraph" id="amcu__wrapper__conf_8h_ad3c4ea41584d0367dfbfb697f5e57456_cgraph">
<area shape="rect" title="Read from simulink S&#45;Block Inputs and write to MCU I/O ports." alt="" coords="5,335,160,361"/>
<area shape="rect" href="mcu__wrapper_8c.html#accdef5b45f3d1646f248304e02b00e54" title="Simulate peripheral of MCU." alt="" coords="208,284,372,311"/>
<area shape="poly" title=" " alt="" coords="140,331,217,312,218,318,141,337"/>
<area shape="rect" href="mcu__wrapper_8c.html#a15045e0feba8ddf08e20958fd1e36cd5" title="Read from simulink S&#45;Block Inputs and write to MCU I/O ports." alt="" coords="230,335,350,361"/>
<area shape="poly" title=" " alt="" coords="160,345,214,345,214,351,160,351"/>
<area shape="rect" href="mcu__wrapper_8c.html#ad6b7bb9233d746d7709276f9ea1914c2" title="Read from MCU I/O ports and write to simulink S&#45;Block Outputs." alt="" coords="223,385,356,412"/>
<area shape="poly" title=" " alt="" coords="141,359,218,378,217,384,140,365"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga3128cf64eeea541a8e25a72ce10da335" title=" " alt="" coords="428,284,538,311"/>
<area shape="poly" title=" " alt="" coords="373,295,413,295,413,300,373,300"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga3fcb4dd48557c21fdd6c379ad16bd229" title=" " alt="" coords="594,284,707,311"/>
<area shape="poly" title=" " alt="" coords="538,295,579,295,579,300,538,300"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga63dc3b53fe4b165b4c70e4d600258d50" title=" " alt="" coords="776,157,920,184"/>
<area shape="poly" title=" " alt="" coords="672,281,811,190,814,195,674,286"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga05b798408f2179ae27731f231cf4b620" title=" " alt="" coords="789,259,907,285"/>
<area shape="poly" title=" " alt="" coords="707,287,773,279,774,284,707,293"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga9689b1f2e04622487f039dfb74d8e0db" title=" " alt="" coords="755,309,941,336"/>
<area shape="poly" title=" " alt="" coords="707,302,739,306,739,311,707,307"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga55e7ce9aae452502d5104acbe8fa4237" title=" " alt="" coords="801,360,894,387"/>
<area shape="poly" title=" " alt="" coords="678,309,756,346,787,356,785,361,754,350,675,314"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga609dd2da1a15ffb80256e85942ed2671" title=" " alt="" coords="989,5,1169,32"/>
<area shape="poly" title=" " alt="" coords="858,155,910,100,947,69,988,42,1000,36,1002,41,990,46,950,73,914,104,862,159"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#gaef90da33b410dcd77d9cdb58363d729c" title=" " alt="" coords="989,56,1169,83"/>
<area shape="poly" title=" " alt="" coords="870,154,923,124,988,92,1006,85,1008,90,990,97,925,128,873,159"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga99db7a05808ca9b5aa12df01745ed2ef" title=" " alt="" coords="989,107,1169,133"/>
<area shape="poly" title=" " alt="" coords="912,154,1000,135,1001,140,913,159"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#gad51e3fbb47f5768c33876ad803fbef20" title=" " alt="" coords="989,157,1169,184"/>
<area shape="poly" title=" " alt="" coords="920,168,974,168,974,173,920,173"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga28ab1124ab4cfbd21acb613cb0873d2d" title=" " alt="" coords="1011,208,1147,235"/>
<area shape="poly" title=" " alt="" coords="913,182,1001,202,1000,207,912,187"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga4ac3f9a63d2433519bd5137bab286080" title=" " alt="" coords="1008,259,1150,285"/>
<area shape="poly" title=" " alt="" coords="873,182,925,213,990,244,1008,251,1006,256,988,249,923,218,870,187"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#gaa2b3ab4507a894ffa6e4487d42054e67" title=" " alt="" coords="1019,309,1139,336"/>
<area shape="poly" title=" " alt="" coords="908,282,1004,304,1003,309,907,288"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a3b60f6118cdd3449f4ed29fde4704236" title=" " alt="" coords="1221,15,1420,41"/>
<area shape="poly" title=" " alt="" coords="1139,313,1154,306,1167,296,1187,266,1195,236,1195,206,1190,175,1186,144,1186,113,1194,82,1215,52,1218,49,1222,53,1219,55,1199,85,1191,114,1191,144,1195,174,1200,205,1200,236,1192,268,1171,299,1157,311,1141,318"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a098245bf4e2f8844b22692b034a266fb" title=" " alt="" coords="1237,65,1404,108"/>
<area shape="poly" title=" " alt="" coords="1139,313,1154,306,1167,295,1183,274,1190,253,1191,209,1192,164,1199,141,1215,118,1222,112,1226,116,1219,122,1204,143,1197,165,1196,209,1196,254,1188,277,1171,299,1157,310,1141,317"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#ad1fd361bc5ad89facee67c76d1ff8dc0" title=" " alt="" coords="1222,132,1419,159"/>
<area shape="poly" title=" " alt="" coords="1139,312,1168,295,1180,280,1187,265,1190,233,1195,201,1202,184,1215,169,1220,165,1224,169,1219,173,1206,187,1200,202,1196,234,1192,267,1185,283,1171,299,1141,316"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a38ad4725462bdc5e86c4ead4f04b9fc2" title=" " alt="" coords="1257,183,1384,209"/>
<area shape="poly" title=" " alt="" coords="1139,310,1168,295,1183,277,1191,258,1198,238,1216,219,1241,206,1244,211,1219,223,1203,241,1196,260,1188,280,1171,299,1141,315"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#ac8e51d2183b5230cbd5481f8867adce9" title=" " alt="" coords="1257,233,1384,260"/>
<area shape="poly" title=" " alt="" coords="1135,306,1168,295,1192,282,1216,270,1241,261,1243,266,1218,274,1195,287,1170,300,1137,311"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a7133f3f78767503641d307386e68bd28" title=" " alt="" coords="1257,284,1384,311"/>
<area shape="poly" title=" " alt="" coords="1139,314,1241,303,1242,308,1140,319"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a5e66446caf21dd90191dc07a13ce2378" title=" " alt="" coords="1257,335,1384,361"/>
<area shape="poly" title=" " alt="" coords="1140,326,1242,337,1241,342,1139,332"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a0839a45f331c4c067939b9c4533bbf4d" title=" " alt="" coords="1239,385,1402,412"/>
<area shape="poly" title=" " alt="" coords="1116,334,1218,371,1245,378,1244,384,1217,376,1114,339"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a98cff83252098363b2dbca9608df964e" title=" " alt="" coords="1257,436,1384,463"/>
<area shape="poly" title=" " alt="" coords="1097,334,1148,377,1182,401,1218,422,1243,431,1241,436,1216,426,1179,406,1145,382,1093,338"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a301e0d3520f05f672ce047976f75ff6a" title=" " alt="" coords="1217,487,1424,513"/>
<area shape="poly" title=" " alt="" coords="1091,335,1139,402,1176,440,1219,472,1229,478,1227,483,1216,477,1173,444,1135,405,1087,338"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a4c8359a023f7ede4a9d9f94ea6fb92da" title=" " alt="" coords="1236,537,1405,580"/>
<area shape="poly" title=" " alt="" coords="1088,335,1105,372,1133,423,1171,477,1194,502,1219,523,1224,527,1221,531,1216,527,1190,505,1167,480,1129,426,1101,375,1083,337"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a7fb516f8826d882ac91cfc093884fcf5" title=" " alt="" coords="1222,604,1419,631"/>
<area shape="poly" title=" " alt="" coords="1086,336,1098,384,1123,454,1141,491,1163,527,1189,561,1219,590,1224,594,1221,598,1216,594,1185,565,1158,530,1137,493,1119,456,1093,386,1081,337"/>
<area shape="rect" href="group___g_p_i_o___s_i_m_u_l_a_t_o_r.html#ga9bce93a37f6835a1824bec5f235c9ef5" title="Write S&#45;Function inputs to MCU." alt="" coords="420,335,546,361"/>
<area shape="poly" title=" " alt="" coords="350,345,405,345,405,351,350,351"/>
<area shape="rect" href="group___g_p_i_o___s_i_m_u_l_a_t_o_r.html#ga487177c90297da30ee8ec0dca0ce3067" title="Write S&#45;Function disc ports from MCU GPIOs." alt="" coords="420,385,546,412"/>
<area shape="poly" title=" " alt="" coords="357,396,405,396,405,401,357,401"/>
</map>
</div>
</div>
</div>
<a id="accdef5b45f3d1646f248304e02b00e54" name="accdef5b45f3d1646f248304e02b00e54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accdef5b45f3d1646f248304e02b00e54">&#9670;&#160;</a></span>MCU_Periph_Simulation()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MCU_Periph_Simulation </td>
<td>(</td>
<td class="paramtype">void</td> <td class="paramname"><span class="paramname"></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Simulate peripheral of MCU. </p>
<p>SIMULATE MCU PERIPHERAL</p>
<p>Пользовательский код, который симулирует работу периферии МК. </p>
<div id="dynsection-3" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-3-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-3-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-3-content" class="dyncontent" style="display:none;">
<div class="center"><img src="mcu__wrapper__conf_8h_accdef5b45f3d1646f248304e02b00e54_cgraph.png" border="0" usemap="#amcu__wrapper__conf_8h_accdef5b45f3d1646f248304e02b00e54_cgraph" alt=""/></div>
<map name="amcu__wrapper__conf_8h_accdef5b45f3d1646f248304e02b00e54_cgraph" id="amcu__wrapper__conf_8h_accdef5b45f3d1646f248304e02b00e54_cgraph">
<area shape="rect" title="Simulate peripheral of MCU." alt="" coords="5,284,170,311"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga3128cf64eeea541a8e25a72ce10da335" title=" " alt="" coords="218,284,327,311"/>
<area shape="poly" title=" " alt="" coords="170,295,202,295,202,300,170,300"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga3fcb4dd48557c21fdd6c379ad16bd229" title=" " alt="" coords="375,284,487,311"/>
<area shape="poly" title=" " alt="" coords="327,295,359,295,359,300,327,300"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga63dc3b53fe4b165b4c70e4d600258d50" title=" " alt="" coords="556,157,701,184"/>
<area shape="poly" title=" " alt="" coords="452,281,592,190,595,195,455,286"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga05b798408f2179ae27731f231cf4b620" title=" " alt="" coords="569,259,688,285"/>
<area shape="poly" title=" " alt="" coords="487,287,554,279,554,284,488,293"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga9689b1f2e04622487f039dfb74d8e0db" title=" " alt="" coords="535,309,722,336"/>
<area shape="poly" title=" " alt="" coords="488,302,520,306,519,311,487,307"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga55e7ce9aae452502d5104acbe8fa4237" title=" " alt="" coords="582,360,675,387"/>
<area shape="poly" title=" " alt="" coords="458,309,536,346,567,356,566,361,534,350,456,314"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga609dd2da1a15ffb80256e85942ed2671" title=" " alt="" coords="770,5,950,32"/>
<area shape="poly" title=" " alt="" coords="639,155,691,100,728,69,768,42,780,36,783,41,771,46,731,73,695,104,643,159"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#gaef90da33b410dcd77d9cdb58363d729c" title=" " alt="" coords="770,56,950,83"/>
<area shape="poly" title=" " alt="" coords="651,154,703,124,769,92,787,85,789,90,771,97,706,128,653,159"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga99db7a05808ca9b5aa12df01745ed2ef" title=" " alt="" coords="770,107,950,133"/>
<area shape="poly" title=" " alt="" coords="692,154,780,135,782,140,693,159"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#gad51e3fbb47f5768c33876ad803fbef20" title=" " alt="" coords="770,157,950,184"/>
<area shape="poly" title=" " alt="" coords="701,168,754,168,754,173,701,173"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga28ab1124ab4cfbd21acb613cb0873d2d" title=" " alt="" coords="792,208,928,235"/>
<area shape="poly" title=" " alt="" coords="693,182,782,202,780,207,692,187"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga4ac3f9a63d2433519bd5137bab286080" title=" " alt="" coords="789,259,930,285"/>
<area shape="poly" title=" " alt="" coords="653,182,706,213,771,244,789,251,787,256,769,249,703,218,651,187"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#gaa2b3ab4507a894ffa6e4487d42054e67" title=" " alt="" coords="800,309,920,336"/>
<area shape="poly" title=" " alt="" coords="689,282,785,304,784,309,688,288"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a3b60f6118cdd3449f4ed29fde4704236" title=" " alt="" coords="1002,15,1201,41"/>
<area shape="poly" title=" " alt="" coords="919,313,935,306,948,296,968,266,976,236,975,206,971,175,966,144,966,113,975,82,996,52,999,49,1002,53,1000,55,980,85,972,114,972,144,976,174,981,205,981,236,973,268,952,299,938,311,921,318"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a098245bf4e2f8844b22692b034a266fb" title=" " alt="" coords="1018,65,1185,108"/>
<area shape="poly" title=" " alt="" coords="919,313,935,306,948,295,964,274,971,253,972,209,972,164,980,141,996,118,1003,112,1006,116,1000,122,985,143,977,165,977,209,976,254,969,277,952,299,938,310,921,317"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#ad1fd361bc5ad89facee67c76d1ff8dc0" title=" " alt="" coords="1002,132,1200,159"/>
<area shape="poly" title=" " alt="" coords="919,312,948,295,961,280,967,265,971,233,975,201,983,184,996,169,1001,165,1004,169,1000,173,987,187,980,202,976,234,972,267,965,283,952,299,922,316"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a38ad4725462bdc5e86c4ead4f04b9fc2" title=" " alt="" coords="1038,183,1165,209"/>
<area shape="poly" title=" " alt="" coords="919,310,948,295,964,277,971,258,979,238,996,219,1022,206,1024,211,1000,223,984,241,976,260,969,280,952,299,922,315"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#ac8e51d2183b5230cbd5481f8867adce9" title=" " alt="" coords="1038,233,1165,260"/>
<area shape="poly" title=" " alt="" coords="916,306,949,295,973,282,997,270,1022,261,1024,266,999,274,975,287,951,300,918,311"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a7133f3f78767503641d307386e68bd28" title=" " alt="" coords="1038,284,1165,311"/>
<area shape="poly" title=" " alt="" coords="920,314,1022,303,1022,308,920,319"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a5e66446caf21dd90191dc07a13ce2378" title=" " alt="" coords="1038,335,1165,361"/>
<area shape="poly" title=" " alt="" coords="920,326,1022,337,1022,342,920,332"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a0839a45f331c4c067939b9c4533bbf4d" title=" " alt="" coords="1020,385,1183,412"/>
<area shape="poly" title=" " alt="" coords="897,334,999,371,1026,378,1024,384,997,376,895,339"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a98cff83252098363b2dbca9608df964e" title=" " alt="" coords="1038,436,1165,463"/>
<area shape="poly" title=" " alt="" coords="877,334,929,377,963,401,999,422,1024,431,1022,436,997,426,960,406,925,382,874,338"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a301e0d3520f05f672ce047976f75ff6a" title=" " alt="" coords="998,487,1204,513"/>
<area shape="poly" title=" " alt="" coords="872,335,920,402,957,440,999,472,1010,478,1008,483,997,477,953,444,916,405,867,338"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a4c8359a023f7ede4a9d9f94ea6fb92da" title=" " alt="" coords="1017,537,1185,580"/>
<area shape="poly" title=" " alt="" coords="869,335,886,372,914,423,952,477,975,502,1000,523,1005,527,1002,531,996,527,971,505,948,480,909,426,881,375,864,337"/>
<area shape="rect" href="stm32f4xx__matlab__tim_8c.html#a7fb516f8826d882ac91cfc093884fcf5" title=" " alt="" coords="1002,604,1200,631"/>
<area shape="poly" title=" " alt="" coords="866,336,879,384,904,454,922,491,944,527,969,561,1000,590,1005,594,1002,598,996,594,965,565,939,530,917,493,899,456,874,386,861,337"/>
</map>
</div>
</div>
</div>
<a id="a54429d6d68b1d72ce16bab374e3ffa08" name="a54429d6d68b1d72ce16bab374e3ffa08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54429d6d68b1d72ce16bab374e3ffa08">&#9670;&#160;</a></span>SIM_Initialize_Simulation()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SIM_Initialize_Simulation </td>
<td>(</td>
<td class="paramtype">void</td> <td class="paramname"><span class="paramname"></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Initialize structures and variables for simulating MCU. </p>
<p>MCU WRAPPER DEINITIALIZATION</p>
<p>Пользовательский код, который будет настраивать все структуры для симуляции. </p>
<div id="dynsection-4" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-4-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-4-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-4-content" class="dyncontent" style="display:none;">
<div class="center"><img src="mcu__wrapper__conf_8h_a54429d6d68b1d72ce16bab374e3ffa08_cgraph.png" border="0" usemap="#amcu__wrapper__conf_8h_a54429d6d68b1d72ce16bab374e3ffa08_cgraph" alt=""/></div>
<map name="amcu__wrapper__conf_8h_a54429d6d68b1d72ce16bab374e3ffa08_cgraph" id="amcu__wrapper__conf_8h_a54429d6d68b1d72ce16bab374e3ffa08_cgraph">
<area shape="rect" title="Initialize structures and variables for simulating MCU." alt="" coords="5,31,174,57"/>
<area shape="rect" href="group___m_a_i_n___s_i_m_u_l_a_t_o_r.html#gab020a77f89d6c0ea99c7559cfa7e3ba0" title=" " alt="" coords="222,5,365,32"/>
<area shape="poly" title=" " alt="" coords="173,31,206,27,207,32,174,36"/>
<area shape="rect" href="mcu__wrapper_8c.html#a1ea76a95b9b28061fb34ece9f6f0a85f" title="Thread that run MCU code." alt="" coords="229,56,358,83"/>
<area shape="poly" title=" " alt="" coords="174,52,214,57,213,62,173,57"/>
<area shape="rect" href="group___m_a_i_n___s_i_m_u_l_a_t_o_r.html#ga617bc2e624bea041e844a0ac0c6a50f9" title=" " alt="" coords="413,5,513,32"/>
<area shape="poly" title=" " alt="" coords="366,16,397,16,397,21,366,21"/>
<area shape="rect" href="mcu__wrapper_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="Main function of MCU app." alt="" coords="438,56,488,83"/>
<area shape="poly" title=" " alt="" coords="358,67,423,67,423,72,358,72"/>
</map>
</div>
</div>
</div>
<a id="a6f04b162923bada308d9668743425b92" name="a6f04b162923bada308d9668743425b92"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f04b162923bada308d9668743425b92">&#9670;&#160;</a></span>SIM_deInitialize_Simulation()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SIM_deInitialize_Simulation </td>
<td>(</td>
<td class="paramtype">void</td> <td class="paramname"><span class="paramname"></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Deinitialize structures and variables for simulating MCU. </p>
<p>MCU WRAPPER DEINITIALIZATION</p>
<p>Пользовательский код, который будет очищать все структуры после окончания симуляции. </p>
<div id="dynsection-5" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-5-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-5-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-5-content" class="dyncontent" style="display:none;">
<div class="center"><img src="mcu__wrapper__conf_8h_a6f04b162923bada308d9668743425b92_cgraph.png" border="0" usemap="#amcu__wrapper__conf_8h_a6f04b162923bada308d9668743425b92_cgraph" alt=""/></div>
<map name="amcu__wrapper__conf_8h_a6f04b162923bada308d9668743425b92_cgraph" id="amcu__wrapper__conf_8h_a6f04b162923bada308d9668743425b92_cgraph">
<area shape="rect" title="Deinitialize structures and variables for simulating MCU." alt="" coords="5,31,188,57"/>
<area shape="rect" href="group___m_a_i_n___s_i_m_u_l_a_t_o_r.html#gad7d9ddf99be97748bc7417425271d85e" title=" " alt="" coords="254,5,375,32"/>
<area shape="poly" title=" " alt="" coords="188,31,238,25,238,30,188,36"/>
<area shape="rect" href="group___m_a_i_n___s_i_m_u_l_a_t_o_r.html#gaff389f4df35953d82d9d30ae161a8cf9" title=" " alt="" coords="236,56,393,83"/>
<area shape="poly" title=" " alt="" coords="188,52,221,56,220,61,188,57"/>
<area shape="rect" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga52ac5ac026ea57787d19cd1a8611abba" title=" " alt="" coords="441,56,568,83"/>
<area shape="poly" title=" " alt="" coords="394,67,426,67,426,72,394,72"/>
</map>
</div>
</div>
</div>
<a id="abc7d8087f585d1d627093e18df213512" name="abc7d8087f585d1d627093e18df213512"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc7d8087f585d1d627093e18df213512">&#9670;&#160;</a></span>MCU_readInputs()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MCU_readInputs </td>
<td>(</td>
<td class="paramtype">real_T *</td> <td class="paramname"><span class="paramname"><em>in</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a823c4fab88e5ef9b283cee495b2524ad" name="a823c4fab88e5ef9b283cee495b2524ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a823c4fab88e5ef9b283cee495b2524ad">&#9670;&#160;</a></span>MCU_writeOutputs()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void MCU_writeOutputs </td>
<td>(</td>
<td class="paramtype">real_T *</td> <td class="paramname"><span class="paramname"><em>disc</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ad38bfad0ee1e186c0663565abb6bc71a" name="ad38bfad0ee1e186c0663565abb6bc71a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad38bfad0ee1e186c0663565abb6bc71a">&#9670;&#160;</a></span>SIM_writeOutput()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void SIM_writeOutput </td>
<td>(</td>
<td class="paramtype">SimStruct *</td> <td class="paramname"><span class="paramname"><em>S</em></span></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a7bd77e7f9825a3661f357e430246bfe8" name="a7bd77e7f9825a3661f357e430246bfe8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bd77e7f9825a3661f357e430246bfe8">&#9670;&#160;</a></span>hmcu</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_s_i_m_____m_c_u_handle_type_def.html">SIM__MCUHandleTypeDef</a> hmcu</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">extern</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>extern для видимости переменной во всех файлах </p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0
</small></address>
</body>
</html>