256 lines
46 KiB
HTML
256 lines
46 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.10.0"/>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||
<title>STM MATLAB Simulator: F:/Work/Projects/MATLAB/matlab_stm_emulate/MCU_STM32F4xx_Matlab/Drivers/STM32F4xx_SIMULINK/stm32f4xx_matlab_tim.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>
|
||
<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&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');
|
||
$(function() { init_search(); });
|
||
});
|
||
/* @license-end */
|
||
</script>
|
||
<div id="main-nav"></div>
|
||
<script type="text/javascript">
|
||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||
$(function() { codefold.init(0); });
|
||
/* @license-end */
|
||
</script>
|
||
<!-- 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_9609623a411adcd586e91350a30aa9d5.html">MCU_STM32F4xx_Matlab</a></li><li class="navelem"><a class="el" href="dir_afe59ba76eea2f90e4e37233dbf4f6f2.html">Drivers</a></li><li class="navelem"><a class="el" href="dir_3a36e4bca13e6b41578f51df425c6641.html">STM32F4xx_SIMULINK</a></li> </ul>
|
||
</div>
|
||
</div><!-- top -->
|
||
<div class="header">
|
||
<div class="headertitle"><div class="title">stm32f4xx_matlab_tim.h</div></div>
|
||
</div><!--header-->
|
||
<div class="contents">
|
||
<a href="stm32f4xx__matlab__tim_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="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">Данный файл содержит объявления всякого для симуляции таймеров STM32F407xx.</span></div>
|
||
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"></span> </div>
|
||
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment">**************************************************************************/</span></div>
|
||
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#ifndef _MATLAB_TIM_H_</span></div>
|
||
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#define _MATLAB_TIM_H_</span></div>
|
||
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div>
|
||
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include "stm32f4xx_hal.h"</span></div>
|
||
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include "stm32f4xx_it.h"</span></div>
|
||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include "<a class="code" href="mcu__wrapper__conf_8h.html">mcu_wrapper_conf.h</a>"</span></div>
|
||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
|
||
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
|
||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#gae44a51b8c43872a8186ef4740d8f83d4"> 22</a></span><span class="preprocessor">#define TIM_OCMODE_SECOND_SHIFT (TIM_CCMR1_OC2M_Pos - TIM_CCMR1_OC1M_Pos)</span></div>
|
||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
|
||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga332e5c16b48c0bc5a7c1f978442ef49f"> 25</a></span><span class="preprocessor">#define Check_OCx_GPIO_Output(_tims_, _OCx_GPIOx_, _OCx_PIN_SHIFT_) (_tims_->Channels._OCx_GPIOx_->MODER & (0b11<<(2*_tims_->Channels._OCx_PIN_SHIFT_))) == (0b10<<(2*_tims_->Channels._OCx_PIN_SHIFT_))</span></div>
|
||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga819ef3dc9ad489178802ed1dcb0e6b41"> 27</a></span><span class="preprocessor">#define Check_OC1_GPIO_Output(_tims_) Check_OCx_GPIO_Output(_tims_, OC1_GPIOx, OC1_PIN_SHIFT)</span></div>
|
||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#gab05cf435dbdfc0a827fc6cf093d27694"> 29</a></span><span class="preprocessor">#define Check_OC2_GPIO_Output(_tims_) Check_OCx_GPIO_Output(_tims_, OC2_GPIOx, OC2_PIN_SHIFT)</span></div>
|
||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga1303da0a61cb89d0952378d46b1be2a3"> 31</a></span><span class="preprocessor">#define Check_OC3_GPIO_Output(_tims_) Check_OCx_GPIO_Output(_tims_, OC3_GPIOx, OC3_PIN_SHIFT)</span></div>
|
||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#gadd3fec5a120bcd59e8396435da2cb639"> 33</a></span><span class="preprocessor">#define Check_OC4_GPIO_Output(_tims_) Check_OCx_GPIO_Output(_tims_, OC4_GPIOx, OC4_PIN_SHIFT)</span></div>
|
||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
|
||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</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"> 38</span> </div>
|
||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
|
||
<div class="foldopen" id="foldopen00041" data-start="{" data-end="};">
|
||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="struct_slave_channels.html"> 41</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_slave_channels.html">SlaveChannels</a></div>
|
||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span>{</div>
|
||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="struct_slave_channels.html#a1bb1d8089ac5eff5af1df34649b50a94"> 43</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="struct_slave_channels.html#a1bb1d8089ac5eff5af1df34649b50a94">TIM1_TRGO</a> : 1; </div>
|
||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="struct_slave_channels.html#a7b0ea9ba4357a49b11b9c1ef79252613"> 44</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="struct_slave_channels.html#a7b0ea9ba4357a49b11b9c1ef79252613">TIM2_TRGO</a> : 1; </div>
|
||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="struct_slave_channels.html#aab5be57f956df4be03effc282a0479e5"> 45</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="struct_slave_channels.html#aab5be57f956df4be03effc282a0479e5">TIM3_TRGO</a> : 1; </div>
|
||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="struct_slave_channels.html#ab9bff03506a4f82f55b13a1065bccaa6"> 46</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="struct_slave_channels.html#ab9bff03506a4f82f55b13a1065bccaa6">TIM4_TRGO</a> : 1; </div>
|
||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="struct_slave_channels.html#a9780a406b85390dddcc18d4c6e606462"> 47</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="struct_slave_channels.html#a9780a406b85390dddcc18d4c6e606462">TIM5_TRGO</a> : 1; </div>
|
||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="struct_slave_channels.html#a2b1207a49068c13e3257396b4f369932"> 48</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="struct_slave_channels.html#a2b1207a49068c13e3257396b4f369932">TIM6_TRGO</a> : 1; </div>
|
||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="struct_slave_channels.html#a8a06a1b3f32a6abaf0a7ad38e27cf0e1"> 49</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="struct_slave_channels.html#a8a06a1b3f32a6abaf0a7ad38e27cf0e1">TIM7_TRGO</a> : 1; </div>
|
||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="struct_slave_channels.html#a591c0247b983b782f88fb92aea40f0c7"> 50</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="struct_slave_channels.html#a591c0247b983b782f88fb92aea40f0c7">TIM8_TRGO</a> : 1; </div>
|
||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
|
||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span>};</div>
|
||
</div>
|
||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> </div>
|
||
<div class="foldopen" id="foldopen00055" data-start="{" data-end="};">
|
||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="struct_channels___sim.html"> 55</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_channels___sim.html">Channels_Sim</a></div>
|
||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span>{</div>
|
||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="comment">// Каналы таймера</span></div>
|
||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="struct_channels___sim.html#aae6762f43d55e99c3076c9f7e5cda5d9"> 58</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="struct_channels___sim.html#aae6762f43d55e99c3076c9f7e5cda5d9">OC1REF</a>:1; </div>
|
||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="struct_channels___sim.html#aa038da4ce5b26f3d86cda283a9cd749e"> 59</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="struct_channels___sim.html#aa038da4ce5b26f3d86cda283a9cd749e">OC2REF</a>:1; </div>
|
||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="struct_channels___sim.html#abbea161f1b685a5d353d453fc9b56284"> 60</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="struct_channels___sim.html#abbea161f1b685a5d353d453fc9b56284">OC3REF</a>:1; </div>
|
||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="struct_channels___sim.html#a1c6c166d70bfe9597717f6892da4f446"> 61</a></span> <span class="keywordtype">unsigned</span> <a class="code hl_variable" href="struct_channels___sim.html#a1c6c166d70bfe9597717f6892da4f446">OC4REF</a>:1; </div>
|
||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
|
||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="comment">// связанные с каналами GPIO порты и пины</span></div>
|
||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="struct_channels___sim.html#a48f9b22f7e44d1b56aa793c2344e06d1"> 64</a></span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *<a class="code hl_variable" href="struct_channels___sim.html#a48f9b22f7e44d1b56aa793c2344e06d1">OC1_GPIOx</a>; </div>
|
||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="struct_channels___sim.html#a2d558fbd100d8052eb0e235ad9b1edfe"> 65</a></span> <a class="code hl_typedef" href="stdint_8h.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code hl_variable" href="struct_channels___sim.html#a2d558fbd100d8052eb0e235ad9b1edfe">OC1_PIN_SHIFT</a>; </div>
|
||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
|
||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="struct_channels___sim.html#a095026a66ff13e090dae52ee17263f2d"> 67</a></span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *<a class="code hl_variable" href="struct_channels___sim.html#a095026a66ff13e090dae52ee17263f2d">OC2_GPIOx</a>; </div>
|
||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="struct_channels___sim.html#ac2fdf8c4e985eee4ab2e6c82251c12cf"> 68</a></span> <a class="code hl_typedef" href="stdint_8h.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code hl_variable" href="struct_channels___sim.html#ac2fdf8c4e985eee4ab2e6c82251c12cf">OC2_PIN_SHIFT</a>; </div>
|
||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> </div>
|
||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="struct_channels___sim.html#a7d239c94641795d3caf5c28f8b7cc68d"> 70</a></span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *<a class="code hl_variable" href="struct_channels___sim.html#a7d239c94641795d3caf5c28f8b7cc68d">OC3_GPIOx</a>; </div>
|
||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="struct_channels___sim.html#ac15bcebfa2102716c5b6a4f80b2d51ab"> 71</a></span> <a class="code hl_typedef" href="stdint_8h.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code hl_variable" href="struct_channels___sim.html#ac15bcebfa2102716c5b6a4f80b2d51ab">OC3_PIN_SHIFT</a>; </div>
|
||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> </div>
|
||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="struct_channels___sim.html#a851558373b04d1a8a5dbb3c0da9279d8"> 73</a></span> <a class="code hl_struct" href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a> *<a class="code hl_variable" href="struct_channels___sim.html#a851558373b04d1a8a5dbb3c0da9279d8">OC4_GPIOx</a>; </div>
|
||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="struct_channels___sim.html#aa87736409f5ca9986200fcb480920c5b"> 74</a></span> <a class="code hl_typedef" href="stdint_8h.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a> <a class="code hl_variable" href="struct_channels___sim.html#aa87736409f5ca9986200fcb480920c5b">OC4_PIN_SHIFT</a>; </div>
|
||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> </div>
|
||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span>};</div>
|
||
</div>
|
||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> </div>
|
||
<div class="foldopen" id="foldopen00079" data-start="{" data-end="};">
|
||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="struct_t_i_m___sim.html"> 79</a></span><span class="keyword">struct </span><a class="code hl_struct" href="struct_t_i_m___sim.html">TIM_Sim</a></div>
|
||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span>{</div>
|
||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="struct_t_i_m___sim.html#a369177ee20a3798f0d7b98cf7c549498"> 81</a></span> <span class="keywordtype">double</span> <a class="code hl_variable" href="struct_t_i_m___sim.html#a369177ee20a3798f0d7b98cf7c549498">tx_cnt</a>; </div>
|
||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="struct_t_i_m___sim.html#a838a96dee1a1980434ae35295f85141e"> 82</a></span> <span class="keywordtype">double</span> <a class="code hl_variable" href="struct_t_i_m___sim.html#a838a96dee1a1980434ae35295f85141e">tx_step</a>; </div>
|
||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"><a class="line" href="struct_t_i_m___sim.html#a1798863b8849972c8e0cf75abbbd116b"> 83</a></span> <span class="keywordtype">int</span> <a class="code hl_variable" href="struct_t_i_m___sim.html#a1798863b8849972c8e0cf75abbbd116b">RELOAD</a>; </div>
|
||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="struct_t_i_m___sim.html#a41f21d0d1bfe0fb45e3f643ece9cdcee"> 84</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="struct_channels___sim.html">Channels_Sim</a> <a class="code hl_variable" href="struct_t_i_m___sim.html#a41f21d0d1bfe0fb45e3f643ece9cdcee">Channels</a>; </div>
|
||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span>};</div>
|
||
</div>
|
||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> </div>
|
||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> </div>
|
||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div>
|
||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> </div>
|
||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span><span class="comment">//----------------------TIMER BASE FUNCTIONS-----------------------//</span></div>
|
||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span><span class="comment">/* Базовая функция для симуляции таймера: она вызывается каждый шаг симуляции */</span></div>
|
||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span><span class="keywordtype">void</span> <a class="code hl_function" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga3fcb4dd48557c21fdd6c379ad16bd229">TIM_Simulation</a>(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a> *TIMx, <span class="keyword">struct</span> <a class="code hl_struct" href="struct_t_i_m___sim.html">TIM_Sim</a> *TIMS);</div>
|
||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span><span class="comment">/* Счет таймера за один такт */</span></div>
|
||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span><span class="keywordtype">void</span> <a class="code hl_function" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga55e7ce9aae452502d5104acbe8fa4237">TIMx_Count</a>(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a>* TIMx, <span class="keyword">struct</span> <a class="code hl_struct" href="struct_t_i_m___sim.html">TIM_Sim</a>* TIMS);</div>
|
||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span><span class="comment">/* Проверка на переполнение и дальнейшая его обработка */</span></div>
|
||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span><span class="keywordtype">void</span> <a class="code hl_function" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga05b798408f2179ae27731f231cf4b620">Overflow_Check</a>(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a>* TIMx, <span class="keyword">struct</span> <a class="code hl_struct" href="struct_t_i_m___sim.html">TIM_Sim</a>* TIMS);</div>
|
||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span><span class="comment">/* Вызов прерывания */</span></div>
|
||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span><span class="keywordtype">void</span> <a class="code hl_function" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#gaa2b3ab4507a894ffa6e4487d42054e67">call_IRQHandller</a>(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a> *TIMx);</div>
|
||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span><span class="comment">//-----------------------------------------------------------------//</span></div>
|
||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> </div>
|
||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
|
||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span><span class="comment">//------------------------CHANNELS FUNCTIONS-----------------------//</span></div>
|
||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span><span class="comment">/* Симуляция каналов таймера */</span></div>
|
||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span><span class="keywordtype">void</span> <a class="code hl_function" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga63dc3b53fe4b165b4c70e4d600258d50">Channels_Simulation</a>(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a> *TIMx, <span class="keyword">struct</span> <a class="code hl_struct" href="struct_t_i_m___sim.html">TIM_Sim</a> *TIMS);</div>
|
||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span><span class="comment">/*---------------- - CAPTURE COPMARE & PWM FUNCTIONS------------------*/</span></div>
|
||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span><span class="comment">/* Выбор режима CaptureCompare или PWM и симуляция для каждого канала */</span></div>
|
||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span><span class="keywordtype">void</span> <a class="code hl_function" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga609dd2da1a15ffb80256e85942ed2671">CC_PWM_Ch1_Simulation</a>(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a>* TIMx, <span class="keyword">struct</span> <a class="code hl_struct" href="struct_t_i_m___sim.html">TIM_Sim</a>* TIMS);</div>
|
||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span><span class="keywordtype">void</span> <a class="code hl_function" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#gaef90da33b410dcd77d9cdb58363d729c">CC_PWM_Ch2_Simulation</a>(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a>* TIMx, <span class="keyword">struct</span> <a class="code hl_struct" href="struct_t_i_m___sim.html">TIM_Sim</a>* TIMS);</div>
|
||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span><span class="keywordtype">void</span> <a class="code hl_function" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga99db7a05808ca9b5aa12df01745ed2ef">CC_PWM_Ch3_Simulation</a>(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a>* TIMx, <span class="keyword">struct</span> <a class="code hl_struct" href="struct_t_i_m___sim.html">TIM_Sim</a>* TIMS);</div>
|
||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span><span class="keywordtype">void</span> <a class="code hl_function" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#gad51e3fbb47f5768c33876ad803fbef20">CC_PWM_Ch4_Simulation</a>(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a>* TIMx, <span class="keyword">struct</span> <a class="code hl_struct" href="struct_t_i_m___sim.html">TIM_Sim</a>* TIMS);</div>
|
||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span><span class="comment">/* Запись каналов таймера в порты GPIO */</span></div>
|
||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span><span class="keywordtype">void</span> <a class="code hl_function" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga28ab1124ab4cfbd21acb613cb0873d2d">Write_OC_to_GPIO</a>(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a>* TIMx, <span class="keyword">struct</span> <a class="code hl_struct" href="struct_t_i_m___sim.html">TIM_Sim</a>* TIMS);</div>
|
||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span><span class="comment">/* Запись результата compare в глабальную структуру с TRIGGER OUTPUT */</span></div>
|
||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span><span class="keywordtype">void</span> <a class="code hl_function" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga4ac3f9a63d2433519bd5137bab286080">Write_OC_to_TRGO</a>(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a>* TIMx, <span class="keyword">struct</span> <a class="code hl_struct" href="struct_t_i_m___sim.html">TIM_Sim</a>* TIMS);</div>
|
||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span><span class="comment">//------------------------------------------------------------------//</span></div>
|
||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> </div>
|
||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
|
||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span><span class="comment">//--------------------MISC (temporary) FUNCTIONS--------------------//</span></div>
|
||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span><span class="comment">/* Определение источника для запуска таймера в SLAVE MODE */</span></div>
|
||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span><span class="keywordtype">void</span> <a class="code hl_function" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga9689b1f2e04622487f039dfb74d8e0db">Slave_Mode_Check_Source</a>(<a class="code hl_struct" href="struct_t_i_m___type_def.html">TIM_TypeDef</a>* TIMx, <span class="keyword">struct</span> <a class="code hl_struct" href="struct_t_i_m___sim.html">TIM_Sim</a>* TIMS);</div>
|
||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span><span class="comment">//------------------------------------------------------------------//</span></div>
|
||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> </div>
|
||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
|
||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span><span class="comment">//------------------------SIMULINK FUNCTIONS------------------------//</span></div>
|
||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span><span class="comment">// Симулирование выбранных таймеров</span></div>
|
||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span><span class="keywordtype">void</span> <a class="code hl_function" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga3128cf64eeea541a8e25a72ce10da335">Simulate_TIMs</a>(<span class="keywordtype">void</span>);</div>
|
||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span><span class="comment">// Деинициализирование выбранных таймеров (вызывается в конце симуляции)</span></div>
|
||
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span><span class="keywordtype">void</span> <a class="code hl_function" href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga52ac5ac026ea57787d19cd1a8611abba">TIM_SIM_DEINIT</a>(<span class="keywordtype">void</span>);</div>
|
||
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span><span class="comment">//------------------------------------------------------------------//</span></div>
|
||
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span><span class="preprocessor">#endif </span><span class="comment">// _MATLAB_TIM_H_</span></div>
|
||
<div class="ttc" id="agroup___t_i_m___s_i_m_u_l_a_t_o_r_html_ga05b798408f2179ae27731f231cf4b620"><div class="ttname"><a href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga05b798408f2179ae27731f231cf4b620">Overflow_Check</a></div><div class="ttdeci">void Overflow_Check(TIM_TypeDef *TIMx, struct TIM_Sim *TIMS)</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.c:49</div></div>
|
||
<div class="ttc" id="agroup___t_i_m___s_i_m_u_l_a_t_o_r_html_ga28ab1124ab4cfbd21acb613cb0873d2d"><div class="ttname"><a href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga28ab1124ab4cfbd21acb613cb0873d2d">Write_OC_to_GPIO</a></div><div class="ttdeci">void Write_OC_to_GPIO(TIM_TypeDef *TIMx, struct TIM_Sim *TIMS)</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.c:255</div></div>
|
||
<div class="ttc" id="agroup___t_i_m___s_i_m_u_l_a_t_o_r_html_ga3128cf64eeea541a8e25a72ce10da335"><div class="ttname"><a href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga3128cf64eeea541a8e25a72ce10da335">Simulate_TIMs</a></div><div class="ttdeci">void Simulate_TIMs(void)</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.c:427</div></div>
|
||
<div class="ttc" id="agroup___t_i_m___s_i_m_u_l_a_t_o_r_html_ga3fcb4dd48557c21fdd6c379ad16bd229"><div class="ttname"><a href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga3fcb4dd48557c21fdd6c379ad16bd229">TIM_Simulation</a></div><div class="ttdeci">void TIM_Simulation(TIM_TypeDef *TIMx, struct TIM_Sim *TIMS)</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.c:14</div></div>
|
||
<div class="ttc" id="agroup___t_i_m___s_i_m_u_l_a_t_o_r_html_ga4ac3f9a63d2433519bd5137bab286080"><div class="ttname"><a href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga4ac3f9a63d2433519bd5137bab286080">Write_OC_to_TRGO</a></div><div class="ttdeci">void Write_OC_to_TRGO(TIM_TypeDef *TIMx, struct TIM_Sim *TIMS)</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.c:329</div></div>
|
||
<div class="ttc" id="agroup___t_i_m___s_i_m_u_l_a_t_o_r_html_ga52ac5ac026ea57787d19cd1a8611abba"><div class="ttname"><a href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga52ac5ac026ea57787d19cd1a8611abba">TIM_SIM_DEINIT</a></div><div class="ttdeci">void TIM_SIM_DEINIT(void)</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.c:473</div></div>
|
||
<div class="ttc" id="agroup___t_i_m___s_i_m_u_l_a_t_o_r_html_ga55e7ce9aae452502d5104acbe8fa4237"><div class="ttname"><a href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga55e7ce9aae452502d5104acbe8fa4237">TIMx_Count</a></div><div class="ttdeci">void TIMx_Count(TIM_TypeDef *TIMx, struct TIM_Sim *TIMS)</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.c:40</div></div>
|
||
<div class="ttc" id="agroup___t_i_m___s_i_m_u_l_a_t_o_r_html_ga609dd2da1a15ffb80256e85942ed2671"><div class="ttname"><a href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga609dd2da1a15ffb80256e85942ed2671">CC_PWM_Ch1_Simulation</a></div><div class="ttdeci">void CC_PWM_Ch1_Simulation(TIM_TypeDef *TIMx, struct TIM_Sim *TIMS)</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.c:87</div></div>
|
||
<div class="ttc" id="agroup___t_i_m___s_i_m_u_l_a_t_o_r_html_ga63dc3b53fe4b165b4c70e4d600258d50"><div class="ttname"><a href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga63dc3b53fe4b165b4c70e4d600258d50">Channels_Simulation</a></div><div class="ttdeci">void Channels_Simulation(TIM_TypeDef *TIMx, struct TIM_Sim *TIMS)</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.c:74</div></div>
|
||
<div class="ttc" id="agroup___t_i_m___s_i_m_u_l_a_t_o_r_html_ga9689b1f2e04622487f039dfb74d8e0db"><div class="ttname"><a href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga9689b1f2e04622487f039dfb74d8e0db">Slave_Mode_Check_Source</a></div><div class="ttdeci">void Slave_Mode_Check_Source(TIM_TypeDef *TIMx, struct TIM_Sim *TIMS)</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.c:375</div></div>
|
||
<div class="ttc" id="agroup___t_i_m___s_i_m_u_l_a_t_o_r_html_ga99db7a05808ca9b5aa12df01745ed2ef"><div class="ttname"><a href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#ga99db7a05808ca9b5aa12df01745ed2ef">CC_PWM_Ch3_Simulation</a></div><div class="ttdeci">void CC_PWM_Ch3_Simulation(TIM_TypeDef *TIMx, struct TIM_Sim *TIMS)</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.c:171</div></div>
|
||
<div class="ttc" id="agroup___t_i_m___s_i_m_u_l_a_t_o_r_html_gaa2b3ab4507a894ffa6e4487d42054e67"><div class="ttname"><a href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#gaa2b3ab4507a894ffa6e4487d42054e67">call_IRQHandller</a></div><div class="ttdeci">void call_IRQHandller(TIM_TypeDef *TIMx)</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.c:562</div></div>
|
||
<div class="ttc" id="agroup___t_i_m___s_i_m_u_l_a_t_o_r_html_gad51e3fbb47f5768c33876ad803fbef20"><div class="ttname"><a href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#gad51e3fbb47f5768c33876ad803fbef20">CC_PWM_Ch4_Simulation</a></div><div class="ttdeci">void CC_PWM_Ch4_Simulation(TIM_TypeDef *TIMx, struct TIM_Sim *TIMS)</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.c:213</div></div>
|
||
<div class="ttc" id="agroup___t_i_m___s_i_m_u_l_a_t_o_r_html_gaef90da33b410dcd77d9cdb58363d729c"><div class="ttname"><a href="group___t_i_m___s_i_m_u_l_a_t_o_r.html#gaef90da33b410dcd77d9cdb58363d729c">CC_PWM_Ch2_Simulation</a></div><div class="ttdeci">void CC_PWM_Ch2_Simulation(TIM_TypeDef *TIMx, struct TIM_Sim *TIMS)</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.c:129</div></div>
|
||
<div class="ttc" id="amcu__wrapper__conf_8h_html"><div class="ttname"><a href="mcu__wrapper__conf_8h.html">mcu_wrapper_conf.h</a></div></div>
|
||
<div class="ttc" id="astdint_8h_html_a435d1572bf3f880d55459d9805097f62"><div class="ttname"><a href="stdint_8h.html#a435d1572bf3f880d55459d9805097f62">uint32_t</a></div><div class="ttdeci">unsigned int uint32_t</div><div class="ttdef"><b>Definition</b> stdint.h:64</div></div>
|
||
<div class="ttc" id="astruct_channels___sim_html"><div class="ttname"><a href="struct_channels___sim.html">Channels_Sim</a></div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:56</div></div>
|
||
<div class="ttc" id="astruct_channels___sim_html_a095026a66ff13e090dae52ee17263f2d"><div class="ttname"><a href="struct_channels___sim.html#a095026a66ff13e090dae52ee17263f2d">Channels_Sim::OC2_GPIOx</a></div><div class="ttdeci">GPIO_TypeDef * OC2_GPIOx</div><div class="ttdoc">Порт второго канала</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:67</div></div>
|
||
<div class="ttc" id="astruct_channels___sim_html_a1c6c166d70bfe9597717f6892da4f446"><div class="ttname"><a href="struct_channels___sim.html#a1c6c166d70bfe9597717f6892da4f446">Channels_Sim::OC4REF</a></div><div class="ttdeci">unsigned OC4REF</div><div class="ttdoc">Четвертый канал</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:61</div></div>
|
||
<div class="ttc" id="astruct_channels___sim_html_a2d558fbd100d8052eb0e235ad9b1edfe"><div class="ttname"><a href="struct_channels___sim.html#a2d558fbd100d8052eb0e235ad9b1edfe">Channels_Sim::OC1_PIN_SHIFT</a></div><div class="ttdeci">uint32_t OC1_PIN_SHIFT</div><div class="ttdoc">Пин первого канала</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:65</div></div>
|
||
<div class="ttc" id="astruct_channels___sim_html_a48f9b22f7e44d1b56aa793c2344e06d1"><div class="ttname"><a href="struct_channels___sim.html#a48f9b22f7e44d1b56aa793c2344e06d1">Channels_Sim::OC1_GPIOx</a></div><div class="ttdeci">GPIO_TypeDef * OC1_GPIOx</div><div class="ttdoc">Порт первого канала</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:64</div></div>
|
||
<div class="ttc" id="astruct_channels___sim_html_a7d239c94641795d3caf5c28f8b7cc68d"><div class="ttname"><a href="struct_channels___sim.html#a7d239c94641795d3caf5c28f8b7cc68d">Channels_Sim::OC3_GPIOx</a></div><div class="ttdeci">GPIO_TypeDef * OC3_GPIOx</div><div class="ttdoc">Порт третьего канала</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:70</div></div>
|
||
<div class="ttc" id="astruct_channels___sim_html_a851558373b04d1a8a5dbb3c0da9279d8"><div class="ttname"><a href="struct_channels___sim.html#a851558373b04d1a8a5dbb3c0da9279d8">Channels_Sim::OC4_GPIOx</a></div><div class="ttdeci">GPIO_TypeDef * OC4_GPIOx</div><div class="ttdoc">Порт четвертого канала</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:73</div></div>
|
||
<div class="ttc" id="astruct_channels___sim_html_aa038da4ce5b26f3d86cda283a9cd749e"><div class="ttname"><a href="struct_channels___sim.html#aa038da4ce5b26f3d86cda283a9cd749e">Channels_Sim::OC2REF</a></div><div class="ttdeci">unsigned OC2REF</div><div class="ttdoc">Второй канал</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:59</div></div>
|
||
<div class="ttc" id="astruct_channels___sim_html_aa87736409f5ca9986200fcb480920c5b"><div class="ttname"><a href="struct_channels___sim.html#aa87736409f5ca9986200fcb480920c5b">Channels_Sim::OC4_PIN_SHIFT</a></div><div class="ttdeci">uint32_t OC4_PIN_SHIFT</div><div class="ttdoc">Пин четвертого канала</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:74</div></div>
|
||
<div class="ttc" id="astruct_channels___sim_html_aae6762f43d55e99c3076c9f7e5cda5d9"><div class="ttname"><a href="struct_channels___sim.html#aae6762f43d55e99c3076c9f7e5cda5d9">Channels_Sim::OC1REF</a></div><div class="ttdeci">unsigned OC1REF</div><div class="ttdoc">Первый канал</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:58</div></div>
|
||
<div class="ttc" id="astruct_channels___sim_html_abbea161f1b685a5d353d453fc9b56284"><div class="ttname"><a href="struct_channels___sim.html#abbea161f1b685a5d353d453fc9b56284">Channels_Sim::OC3REF</a></div><div class="ttdeci">unsigned OC3REF</div><div class="ttdoc">Третьий канал</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:60</div></div>
|
||
<div class="ttc" id="astruct_channels___sim_html_ac15bcebfa2102716c5b6a4f80b2d51ab"><div class="ttname"><a href="struct_channels___sim.html#ac15bcebfa2102716c5b6a4f80b2d51ab">Channels_Sim::OC3_PIN_SHIFT</a></div><div class="ttdeci">uint32_t OC3_PIN_SHIFT</div><div class="ttdoc">Пин третьего канала</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:71</div></div>
|
||
<div class="ttc" id="astruct_channels___sim_html_ac2fdf8c4e985eee4ab2e6c82251c12cf"><div class="ttname"><a href="struct_channels___sim.html#ac2fdf8c4e985eee4ab2e6c82251c12cf">Channels_Sim::OC2_PIN_SHIFT</a></div><div class="ttdeci">uint32_t OC2_PIN_SHIFT</div><div class="ttdoc">Пин второго канала</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:68</div></div>
|
||
<div class="ttc" id="astruct_g_p_i_o___type_def_html"><div class="ttname"><a href="struct_g_p_i_o___type_def.html">GPIO_TypeDef</a></div><div class="ttdoc">General Purpose I/O.</div><div class="ttdef"><b>Definition</b> stm32f407xx_matlab.h:539</div></div>
|
||
<div class="ttc" id="astruct_slave_channels_html"><div class="ttname"><a href="struct_slave_channels.html">SlaveChannels</a></div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:42</div></div>
|
||
<div class="ttc" id="astruct_slave_channels_html_a1bb1d8089ac5eff5af1df34649b50a94"><div class="ttname"><a href="struct_slave_channels.html#a1bb1d8089ac5eff5af1df34649b50a94">SlaveChannels::TIM1_TRGO</a></div><div class="ttdeci">unsigned TIM1_TRGO</div><div class="ttdoc">Синган синхронизации таймера 1.</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:43</div></div>
|
||
<div class="ttc" id="astruct_slave_channels_html_a2b1207a49068c13e3257396b4f369932"><div class="ttname"><a href="struct_slave_channels.html#a2b1207a49068c13e3257396b4f369932">SlaveChannels::TIM6_TRGO</a></div><div class="ttdeci">unsigned TIM6_TRGO</div><div class="ttdoc">Синган синхронизации таймера 6.</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:48</div></div>
|
||
<div class="ttc" id="astruct_slave_channels_html_a591c0247b983b782f88fb92aea40f0c7"><div class="ttname"><a href="struct_slave_channels.html#a591c0247b983b782f88fb92aea40f0c7">SlaveChannels::TIM8_TRGO</a></div><div class="ttdeci">unsigned TIM8_TRGO</div><div class="ttdoc">Синган синхронизации таймера 8</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:50</div></div>
|
||
<div class="ttc" id="astruct_slave_channels_html_a7b0ea9ba4357a49b11b9c1ef79252613"><div class="ttname"><a href="struct_slave_channels.html#a7b0ea9ba4357a49b11b9c1ef79252613">SlaveChannels::TIM2_TRGO</a></div><div class="ttdeci">unsigned TIM2_TRGO</div><div class="ttdoc">Синган синхронизации таймера 2.</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:44</div></div>
|
||
<div class="ttc" id="astruct_slave_channels_html_a8a06a1b3f32a6abaf0a7ad38e27cf0e1"><div class="ttname"><a href="struct_slave_channels.html#a8a06a1b3f32a6abaf0a7ad38e27cf0e1">SlaveChannels::TIM7_TRGO</a></div><div class="ttdeci">unsigned TIM7_TRGO</div><div class="ttdoc">Синган синхронизации таймера 7.</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:49</div></div>
|
||
<div class="ttc" id="astruct_slave_channels_html_a9780a406b85390dddcc18d4c6e606462"><div class="ttname"><a href="struct_slave_channels.html#a9780a406b85390dddcc18d4c6e606462">SlaveChannels::TIM5_TRGO</a></div><div class="ttdeci">unsigned TIM5_TRGO</div><div class="ttdoc">Синган синхронизации таймера 5.</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:47</div></div>
|
||
<div class="ttc" id="astruct_slave_channels_html_aab5be57f956df4be03effc282a0479e5"><div class="ttname"><a href="struct_slave_channels.html#aab5be57f956df4be03effc282a0479e5">SlaveChannels::TIM3_TRGO</a></div><div class="ttdeci">unsigned TIM3_TRGO</div><div class="ttdoc">Синган синхронизации таймера 3.</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:45</div></div>
|
||
<div class="ttc" id="astruct_slave_channels_html_ab9bff03506a4f82f55b13a1065bccaa6"><div class="ttname"><a href="struct_slave_channels.html#ab9bff03506a4f82f55b13a1065bccaa6">SlaveChannels::TIM4_TRGO</a></div><div class="ttdeci">unsigned TIM4_TRGO</div><div class="ttdoc">Синган синхронизации таймера 4.</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:46</div></div>
|
||
<div class="ttc" id="astruct_t_i_m___sim_html"><div class="ttname"><a href="struct_t_i_m___sim.html">TIM_Sim</a></div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:80</div></div>
|
||
<div class="ttc" id="astruct_t_i_m___sim_html_a1798863b8849972c8e0cf75abbbd116b"><div class="ttname"><a href="struct_t_i_m___sim.html#a1798863b8849972c8e0cf75abbbd116b">TIM_Sim::RELOAD</a></div><div class="ttdeci">int RELOAD</div><div class="ttdoc">Буфер, если PRELOAD = 1.</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:83</div></div>
|
||
<div class="ttc" id="astruct_t_i_m___sim_html_a369177ee20a3798f0d7b98cf7c549498"><div class="ttname"><a href="struct_t_i_m___sim.html#a369177ee20a3798f0d7b98cf7c549498">TIM_Sim::tx_cnt</a></div><div class="ttdeci">double tx_cnt</div><div class="ttdoc">Счетчик таймера</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:81</div></div>
|
||
<div class="ttc" id="astruct_t_i_m___sim_html_a41f21d0d1bfe0fb45e3f643ece9cdcee"><div class="ttname"><a href="struct_t_i_m___sim.html#a41f21d0d1bfe0fb45e3f643ece9cdcee">TIM_Sim::Channels</a></div><div class="ttdeci">struct Channels_Sim Channels</div><div class="ttdoc">Структура для симуляции каналов</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:84</div></div>
|
||
<div class="ttc" id="astruct_t_i_m___sim_html_a838a96dee1a1980434ae35295f85141e"><div class="ttname"><a href="struct_t_i_m___sim.html#a838a96dee1a1980434ae35295f85141e">TIM_Sim::tx_step</a></div><div class="ttdeci">double tx_step</div><div class="ttdoc">Шаг счета за один шаг симуляции</div><div class="ttdef"><b>Definition</b> stm32f4xx_matlab_tim.h:82</div></div>
|
||
<div class="ttc" id="astruct_t_i_m___type_def_html"><div class="ttname"><a href="struct_t_i_m___type_def.html">TIM_TypeDef</a></div><div class="ttdoc">TIM.</div><div class="ttdef"><b>Definition</b> stm32f407xx_matlab.h:741</div></div>
|
||
</div><!-- fragment --></div><!-- contents -->
|
||
<!-- start footer part -->
|
||
<hr class="footer"/><address class="footer"><small>
|
||
Generated by <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>
|