forked from ZhuYanzhen1/miniFOC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pid_8h.html
384 lines (335 loc) · 22.5 KB
/
pid_8h.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>miniFOC: algorithm/pid.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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="projectlogo"><img alt="Logo" src="Acme_LOGO.png"/></td>
<td id="projectalign">
<div id="projectname">miniFOC<span id="projectnumber"> 1.0.3</span>
</div>
<div id="projectbrief">This open-source project aims to accomplish a FOC(Field Oriented Control) scheme that is operatable with minimum costs in China.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- 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">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_99d3723365464dd656f512988bb8dbbd.html">algorithm</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> |
<a href="#define-members">Macros</a> |
<a href="#func-members">Functions</a> |
<a href="#var-members">Variables</a> </div>
<div class="headertitle"><div class="title">pid.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<p>this is the header file of <a class="el" href="pid_8c.html" title="PID algorithm implementation source code.">pid.c</a>, which defines the structure of PID algorithm and closed-loop state macro.
<a href="#details">More...</a></p>
<p><a href="pid_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  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_p_i_d___structure__t.html">PID_Structure_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">structure of PID algorithm <a href="struct_p_i_d___structure__t.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </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:a8ffc8824a06f7892f9691a65b83982a7"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="pid_8h.html#a8ffc8824a06f7892f9691a65b83982a7">TORQUE_LOOP_CONTROL</a>   1</td></tr>
<tr class="memdesc:a8ffc8824a06f7892f9691a65b83982a7"><td class="mdescLeft"> </td><td class="mdescRight">torque loop control mode <a href="pid_8h.html#a8ffc8824a06f7892f9691a65b83982a7">More...</a><br /></td></tr>
<tr class="separator:a8ffc8824a06f7892f9691a65b83982a7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa5ef3ead33ee14a82e7ee277d31e02d1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="pid_8h.html#aa5ef3ead33ee14a82e7ee277d31e02d1">SPEED_LOOP_CONTROL</a>   2</td></tr>
<tr class="memdesc:aa5ef3ead33ee14a82e7ee277d31e02d1"><td class="mdescLeft"> </td><td class="mdescRight">speed loop control mode <a href="pid_8h.html#aa5ef3ead33ee14a82e7ee277d31e02d1">More...</a><br /></td></tr>
<tr class="separator:aa5ef3ead33ee14a82e7ee277d31e02d1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7dad3a985101eaec7ac078f43747c928"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="pid_8h.html#a7dad3a985101eaec7ac078f43747c928">ANGLE_LOOP_CONTROL</a>   3</td></tr>
<tr class="memdesc:a7dad3a985101eaec7ac078f43747c928"><td class="mdescLeft"> </td><td class="mdescRight">angle loop control mode <a href="pid_8h.html#a7dad3a985101eaec7ac078f43747c928">More...</a><br /></td></tr>
<tr class="separator:a7dad3a985101eaec7ac078f43747c928"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a58a093011af03fae7427eb1980434a5e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="pid_8h.html#a58a093011af03fae7427eb1980434a5e">pid_config</a> (unsigned char mode)</td></tr>
<tr class="memdesc:a58a093011af03fae7427eb1980434a5e"><td class="mdescLeft"> </td><td class="mdescRight">configure pid loop parameters <a href="pid_8h.html#a58a093011af03fae7427eb1980434a5e">More...</a><br /></td></tr>
<tr class="separator:a58a093011af03fae7427eb1980434a5e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abe6a9dce63d0eaad5a10d4c8c5ffcd07"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="pid_8h.html#abe6a9dce63d0eaad5a10d4c8c5ffcd07">pid_calculate_result</a> (<a class="el" href="struct_p_i_d___structure__t.html">PID_Structure_t</a> *pid_handler, float collect)</td></tr>
<tr class="memdesc:abe6a9dce63d0eaad5a10d4c8c5ffcd07"><td class="mdescLeft"> </td><td class="mdescRight">calculate result using sampling value <a href="pid_8h.html#abe6a9dce63d0eaad5a10d4c8c5ffcd07">More...</a><br /></td></tr>
<tr class="separator:abe6a9dce63d0eaad5a10d4c8c5ffcd07"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a48934d9569b54761658f7fe0484db10c"><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="pid_8h.html#a48934d9569b54761658f7fe0484db10c">pid_parameter_available_flag</a></td></tr>
<tr class="memdesc:a48934d9569b54761658f7fe0484db10c"><td class="mdescLeft"> </td><td class="mdescRight">flag variable for PID parameter availability <a href="pid_8h.html#a48934d9569b54761658f7fe0484db10c">More...</a><br /></td></tr>
<tr class="separator:a48934d9569b54761658f7fe0484db10c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2c7bcbec66fa40a2347b1cd253a5ae82"><td class="memItemLeft" align="right" valign="top">volatile unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="pid_8h.html#a2c7bcbec66fa40a2347b1cd253a5ae82">pid_control_mode_flag</a></td></tr>
<tr class="memdesc:a2c7bcbec66fa40a2347b1cd253a5ae82"><td class="mdescLeft"> </td><td class="mdescRight">flag variable of PID closed loop mode <a href="pid_8h.html#a2c7bcbec66fa40a2347b1cd253a5ae82">More...</a><br /></td></tr>
<tr class="separator:a2c7bcbec66fa40a2347b1cd253a5ae82"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab051c8f4a730b934b146f330514efd95"><td class="memItemLeft" align="right" valign="top">volatile <a class="el" href="struct_p_i_d___structure__t.html">PID_Structure_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="pid_8h.html#ab051c8f4a730b934b146f330514efd95">speed_pid_handler</a></td></tr>
<tr class="memdesc:ab051c8f4a730b934b146f330514efd95"><td class="mdescLeft"> </td><td class="mdescRight">algorithm handler of PID speed loop <a href="pid_8h.html#ab051c8f4a730b934b146f330514efd95">More...</a><br /></td></tr>
<tr class="separator:ab051c8f4a730b934b146f330514efd95"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaa8f5bad87ffc78a20f06863ab6bad5c"><td class="memItemLeft" align="right" valign="top">volatile <a class="el" href="struct_p_i_d___structure__t.html">PID_Structure_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="pid_8h.html#aaa8f5bad87ffc78a20f06863ab6bad5c">angle_pid_handler</a></td></tr>
<tr class="memdesc:aaa8f5bad87ffc78a20f06863ab6bad5c"><td class="mdescLeft"> </td><td class="mdescRight">algorithm handler of PID angle loop <a href="pid_8h.html#aaa8f5bad87ffc78a20f06863ab6bad5c">More...</a><br /></td></tr>
<tr class="separator:aaa8f5bad87ffc78a20f06863ab6bad5c"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >this is the header file of <a class="el" href="pid_8c.html" title="PID algorithm implementation source code.">pid.c</a>, which defines the structure of PID algorithm and closed-loop state macro. </p>
<dl class="section author"><dt>Author</dt><dd>Lao·Zhu </dd></dl>
<dl class="section version"><dt>Version</dt><dd>V1.0.1 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>9. October 2021 </dd></dl>
<p class="definition">Definition in file <a class="el" href="pid_8h_source.html">pid.h</a>.</p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="a7dad3a985101eaec7ac078f43747c928" name="a7dad3a985101eaec7ac078f43747c928"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7dad3a985101eaec7ac078f43747c928">◆ </a></span>ANGLE_LOOP_CONTROL</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define ANGLE_LOOP_CONTROL   3</td>
</tr>
</table>
</div><div class="memdoc">
<p>angle loop control mode </p>
<p class="definition">Definition at line <a class="el" href="pid_8h_source.html#l00018">18</a> of file <a class="el" href="pid_8h_source.html">pid.h</a>.</p>
</div>
</div>
<a id="aa5ef3ead33ee14a82e7ee277d31e02d1" name="aa5ef3ead33ee14a82e7ee277d31e02d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5ef3ead33ee14a82e7ee277d31e02d1">◆ </a></span>SPEED_LOOP_CONTROL</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define SPEED_LOOP_CONTROL   2</td>
</tr>
</table>
</div><div class="memdoc">
<p>speed loop control mode </p>
<p class="definition">Definition at line <a class="el" href="pid_8h_source.html#l00016">16</a> of file <a class="el" href="pid_8h_source.html">pid.h</a>.</p>
</div>
</div>
<a id="a8ffc8824a06f7892f9691a65b83982a7" name="a8ffc8824a06f7892f9691a65b83982a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ffc8824a06f7892f9691a65b83982a7">◆ </a></span>TORQUE_LOOP_CONTROL</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define TORQUE_LOOP_CONTROL   1</td>
</tr>
</table>
</div><div class="memdoc">
<p>torque loop control mode </p>
<p class="definition">Definition at line <a class="el" href="pid_8h_source.html#l00014">14</a> of file <a class="el" href="pid_8h_source.html">pid.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="abe6a9dce63d0eaad5a10d4c8c5ffcd07" name="abe6a9dce63d0eaad5a10d4c8c5ffcd07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe6a9dce63d0eaad5a10d4c8c5ffcd07">◆ </a></span>pid_calculate_result()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float pid_calculate_result </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_p_i_d___structure__t.html">PID_Structure_t</a> * </td>
<td class="paramname"><em>pid_handler</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float </td>
<td class="paramname"><em>collect</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>calculate result using sampling value </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">pid_handler</td><td>PID data handler </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">collect</td><td>sampled data </td></tr>
</table>
</dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
<table class="retval">
<tr><td class="paramname">calculated</td><td>output value of PID controller </td></tr>
</table>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="pid_8c_source.html#l00061">61</a> of file <a class="el" href="pid_8c_source.html">pid.c</a>.</p>
<p class="reference">References <a class="el" href="pid_8h_source.html#l00029">PID_Structure_t::expect</a>, <a class="el" href="fast__math_8h_source.html#l00020">fast_constrain</a>, <a class="el" href="pid_8h_source.html#l00027">PID_Structure_t::kd</a>, <a class="el" href="pid_8h_source.html#l00026">PID_Structure_t::ki</a>, <a class="el" href="pid_8h_source.html#l00025">PID_Structure_t::kp</a>, <a class="el" href="pid_8h_source.html#l00033">PID_Structure_t::last_error</a>, <a class="el" href="pid_8h_source.html#l00030">PID_Structure_t::maximum</a>, <a class="el" href="pid_8h_source.html#l00031">PID_Structure_t::minimum</a>, <a class="el" href="pid_8h_source.html#l00032">PID_Structure_t::sum_maximum</a>, and <a class="el" href="pid_8h_source.html#l00028">PID_Structure_t::summary</a>.</p>
<p class="reference">Referenced by <a class="el" href="gd32f1x0__it_8c_source.html#l00124">TIMER13_IRQHandler()</a>.</p>
</div>
</div>
<a id="a58a093011af03fae7427eb1980434a5e" name="a58a093011af03fae7427eb1980434a5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58a093011af03fae7427eb1980434a5e">◆ </a></span>pid_config()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void pid_config </td>
<td>(</td>
<td class="paramtype">unsigned char </td>
<td class="paramname"><em>mode</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>configure pid loop parameters </p>
<p class="definition">Definition at line <a class="el" href="pid_8c_source.html#l00033">33</a> of file <a class="el" href="pid_8c_source.html">pid.c</a>.</p>
<p class="reference">References <a class="el" href="pid_8c_source.html#l00028">angle_pid_handler</a>, <a class="el" href="pid_8h_source.html#l00027">PID_Structure_t::kd</a>, <a class="el" href="pid_8h_source.html#l00026">PID_Structure_t::ki</a>, <a class="el" href="pid_8h_source.html#l00025">PID_Structure_t::kp</a>, <a class="el" href="pid_8h_source.html#l00030">PID_Structure_t::maximum</a>, <a class="el" href="pid_8h_source.html#l00031">PID_Structure_t::minimum</a>, <a class="el" href="pid_8c_source.html#l00020">pid_control_mode_flag</a>, <a class="el" href="pid_8c_source.html#l00024">speed_pid_handler</a>, <a class="el" href="pid_8h_source.html#l00032">PID_Structure_t::sum_maximum</a>, and <a class="el" href="system_8c_source.html#l00049">user_memset()</a>.</p>
<p class="reference">Referenced by <a class="el" href="main_8c_source.html#l00139">main()</a>, and <a class="el" href="main_8c_source.html#l00028">mdtp_callback_handler()</a>.</p>
</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="aaa8f5bad87ffc78a20f06863ab6bad5c" name="aaa8f5bad87ffc78a20f06863ab6bad5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa8f5bad87ffc78a20f06863ab6bad5c">◆ </a></span>angle_pid_handler</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">volatile <a class="el" href="struct_p_i_d___structure__t.html">PID_Structure_t</a> angle_pid_handler</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>algorithm handler of PID angle loop </p>
<p class="definition">Definition at line <a class="el" href="pid_8c_source.html#l00028">28</a> of file <a class="el" href="pid_8c_source.html">pid.c</a>.</p>
<p class="reference">Referenced by <a class="el" href="flash_8c_source.html#l00046">flash_read_parameters()</a>, <a class="el" href="flash_8c_source.html#l00026">flash_write_parameters()</a>, <a class="el" href="main_8c_source.html#l00028">mdtp_callback_handler()</a>, <a class="el" href="pid_8c_source.html#l00033">pid_config()</a>, <a class="el" href="report_8c_source.html#l00015">report_local_variable()</a>, and <a class="el" href="gd32f1x0__it_8c_source.html#l00124">TIMER13_IRQHandler()</a>.</p>
</div>
</div>
<a id="a2c7bcbec66fa40a2347b1cd253a5ae82" name="a2c7bcbec66fa40a2347b1cd253a5ae82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c7bcbec66fa40a2347b1cd253a5ae82">◆ </a></span>pid_control_mode_flag</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">volatile unsigned char pid_control_mode_flag</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>flag variable of PID closed loop mode </p>
<p class="definition">Definition at line <a class="el" href="pid_8c_source.html#l00020">20</a> of file <a class="el" href="pid_8c_source.html">pid.c</a>.</p>
<p class="reference">Referenced by <a class="el" href="main_8c_source.html#l00139">main()</a>, <a class="el" href="main_8c_source.html#l00028">mdtp_callback_handler()</a>, <a class="el" href="pid_8c_source.html#l00033">pid_config()</a>, <a class="el" href="report_8c_source.html#l00015">report_local_variable()</a>, and <a class="el" href="gd32f1x0__it_8c_source.html#l00124">TIMER13_IRQHandler()</a>.</p>
</div>
</div>
<a id="a48934d9569b54761658f7fe0484db10c" name="a48934d9569b54761658f7fe0484db10c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48934d9569b54761658f7fe0484db10c">◆ </a></span>pid_parameter_available_flag</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">unsigned char pid_parameter_available_flag</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>flag variable for PID parameter availability </p>
<p class="definition">Definition at line <a class="el" href="pid_8c_source.html#l00016">16</a> of file <a class="el" href="pid_8c_source.html">pid.c</a>.</p>
<p class="reference">Referenced by <a class="el" href="flash_8c_source.html#l00046">flash_read_parameters()</a>, <a class="el" href="flash_8c_source.html#l00026">flash_write_parameters()</a>, <a class="el" href="main_8c_source.html#l00028">mdtp_callback_handler()</a>, and <a class="el" href="report_8c_source.html#l00015">report_local_variable()</a>.</p>
</div>
</div>
<a id="ab051c8f4a730b934b146f330514efd95" name="ab051c8f4a730b934b146f330514efd95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab051c8f4a730b934b146f330514efd95">◆ </a></span>speed_pid_handler</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">volatile <a class="el" href="struct_p_i_d___structure__t.html">PID_Structure_t</a> speed_pid_handler</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>algorithm handler of PID speed loop </p>
<p class="definition">Definition at line <a class="el" href="pid_8c_source.html#l00024">24</a> of file <a class="el" href="pid_8c_source.html">pid.c</a>.</p>
<p class="reference">Referenced by <a class="el" href="flash_8c_source.html#l00046">flash_read_parameters()</a>, <a class="el" href="flash_8c_source.html#l00026">flash_write_parameters()</a>, <a class="el" href="main_8c_source.html#l00028">mdtp_callback_handler()</a>, <a class="el" href="pid_8c_source.html#l00033">pid_config()</a>, <a class="el" href="report_8c_source.html#l00015">report_local_variable()</a>, and <a class="el" href="gd32f1x0__it_8c_source.html#l00124">TIMER13_IRQHandler()</a>.</p>
</div>
</div>
</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.9.4
</small></address>
</body>
</html>