MCB1700_Welcome/Doxygen/html/_fsm_tape_8h.html

682 lines
38 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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Labor04: FsmTape.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Labor04
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_fsm_tape_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">FsmTape.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Header FSM for Tape.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="_e_s2___v4__app_8h_source.html">ES2_V4_app.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for FsmTape.h:</div>
<div class="dyncontent">
<div class="center"><img src="_fsm_tape_8h__incl.png" border="0" usemap="#a_fsm_tape_8h" alt=""/></div>
<map name="_fsm_tape_8h" id="a_fsm_tape_8h">
<area shape="rect" title="Header FSM for Tape." alt="" coords="893,5,979,32"/>
<area shape="rect" href="_e_s2___v4__app_8h.html" title="global header file for project" alt="" coords="881,80,991,107"/>
<area shape="rect" title=" " alt="" coords="8,155,69,181"/>
<area shape="rect" title=" " alt="" coords="93,155,184,181"/>
<area shape="rect" title=" " alt="" coords="5,229,120,256"/>
<area shape="rect" title=" " alt="" coords="817,155,927,181"/>
<area shape="rect" title=" " alt="" coords="951,155,1051,181"/>
<area shape="rect" href="_app_board2_buttons_8h.html" title="Read state of buttons." alt="" coords="650,155,793,181"/>
<area shape="rect" href="_fsm_framework_8h.html" title=" " alt="" coords="381,155,507,181"/>
<area shape="rect" href="_externals_8h.html" title="declare global variables" alt="" coords="1076,155,1164,181"/>
<area shape="rect" href="_fsm_v_c_r_8h.html" title=" " alt="" coords="1189,155,1275,181"/>
<area shape="rect" href="_free_r_t_o_s_8h.html" title=" " alt="" coords="531,155,626,181"/>
<area shape="rect" href="task_8h.html" title=" " alt="" coords="1300,155,1359,181"/>
<area shape="rect" href="_threads_8h.html" title="threads tun by HeiOS" alt="" coords="1383,155,1463,181"/>
<area shape="rect" href="queue_8h.html" title=" " alt="" coords="1487,155,1555,181"/>
<area shape="rect" href="displaytask_8h.html" title=" " alt="" coords="259,155,357,181"/>
<area shape="rect" title=" " alt="" coords="993,229,1119,256"/>
<area shape="rect" title=" " alt="" coords="1144,229,1261,256"/>
<area shape="rect" title=" " alt="" coords="910,304,997,331"/>
<area shape="rect" title=" " alt="" coords="294,229,359,256"/>
<area shape="rect" title=" " alt="" coords="384,229,459,256"/>
<area shape="rect" title=" " alt="" coords="587,229,656,256"/>
<area shape="rect" href="_free_r_t_o_s_config_8h.html" title=" " alt="" coords="680,229,813,256"/>
<area shape="rect" href="projdefs_8h.html" title=" " alt="" coords="838,229,917,256"/>
<area shape="rect" href="portable_8h.html" title=" " alt="" coords="483,229,563,256"/>
<area shape="rect" title=" " alt="" coords="748,304,839,331"/>
<area shape="rect" href="deprecated__definitions_8h.html" title=" " alt="" coords="561,304,724,331"/>
<area shape="rect" href="portmacro_8h.html" title=" " alt="" coords="302,304,394,331"/>
<area shape="rect" href="mpu__wrappers_8h.html" title=" " alt="" coords="418,304,537,331"/>
<area shape="rect" href="list_8h.html" title=" " alt="" coords="1304,229,1355,256"/>
<area shape="rect" title=" " alt="" coords="144,229,269,256"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="_fsm_tape_8h__dep__incl.png" border="0" usemap="#a_fsm_tape_8hdep" alt=""/></div>
<map name="_fsm_tape_8hdep" id="a_fsm_tape_8hdep">
<area shape="rect" title="Header FSM for Tape." alt="" coords="555,5,642,32"/>
<area shape="rect" href="_e_s2___v4__app_8h.html" title="global header file for project" alt="" coords="544,80,653,107"/>
<area shape="rect" href="displaytask_8c.html" title=" " alt="" coords="5,155,104,181"/>
<area shape="rect" href="_externals_8h.html" title="declare global variables" alt="" coords="128,155,216,181"/>
<area shape="rect" href="_fsm_framework_8c.html" title=" " alt="" coords="240,155,365,181"/>
<area shape="rect" href="_fsm_tape_8c.html" title="FSM for Tape." alt="" coords="390,155,477,181"/>
<area shape="rect" href="_fsm_v_c_r_8c.html" title="FSM for VCR." alt="" coords="501,155,587,181"/>
<area shape="rect" href="_fsm_v_c_r_8h.html" title=" " alt="" coords="611,155,698,181"/>
<area shape="rect" href="_globals_8c.html" title=" " alt="" coords="723,155,800,181"/>
<area shape="rect" href="_interrupt_8c.html" title="timer isr handler" alt="" coords="825,155,906,181"/>
<area shape="rect" href="_main_8c.html" title="app main" alt="" coords="931,155,992,181"/>
<area shape="rect" href="_threads_8c.html" title="threads tun by HeiOS" alt="" coords="1016,155,1096,181"/>
</map>
</div>
</div>
<p><a href="_fsm_tape_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 name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:af8a95161371015ff2698c0dad22e8168"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="_fsm_tape_8h.html#ae5c1bc1bcccf60a729d584bdf67e0a45">fsmTapeevents</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fsm_tape_8h.html#af8a95161371015ff2698c0dad22e8168">eEventsTape_t</a></td></tr>
<tr class="memdesc:af8a95161371015ff2698c0dad22e8168"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumeration holds all possible events for this state machine. <a href="_fsm_tape_8h.html#af8a95161371015ff2698c0dad22e8168">More...</a><br /></td></tr>
<tr class="separator:af8a95161371015ff2698c0dad22e8168"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d298efbee33aac1acab671082904b33"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="_fsm_tape_8h.html#a56e618e57ab6703997d5a4c8275f0cd9">fsmTapestates</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fsm_tape_8h.html#a6d298efbee33aac1acab671082904b33">eStatesTape_t</a></td></tr>
<tr class="memdesc:a6d298efbee33aac1acab671082904b33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumeration holds all defined states for video recorder state machine. <a href="_fsm_tape_8h.html#a6d298efbee33aac1acab671082904b33">More...</a><br /></td></tr>
<tr class="separator:a6d298efbee33aac1acab671082904b33"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ae5c1bc1bcccf60a729d584bdf67e0a45"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fsm_tape_8h.html#ae5c1bc1bcccf60a729d584bdf67e0a45">fsmTapeevents</a> { <a class="el" href="_fsm_tape_8h.html#ae5c1bc1bcccf60a729d584bdf67e0a45ab0cbf1d5ba54ac2bfa3d1a6b18b6343e">evBegin</a> = 0,
<a class="el" href="_fsm_tape_8h.html#ae5c1bc1bcccf60a729d584bdf67e0a45a2d764f9241468307967eaa67d9cc2b9d">evInOut</a>,
<a class="el" href="_fsm_tape_8h.html#ae5c1bc1bcccf60a729d584bdf67e0a45a627ee2cb241f24a6204b547a3d937ab1">evEnd</a>,
<a class="el" href="_fsm_tape_8h.html#ae5c1bc1bcccf60a729d584bdf67e0a45a04a4716d93ce780cd623e596cdd5be17">EV_LAST_TAPE</a>
}</td></tr>
<tr class="memdesc:ae5c1bc1bcccf60a729d584bdf67e0a45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumeration holds all possible events for this state machine. <a href="_fsm_tape_8h.html#ae5c1bc1bcccf60a729d584bdf67e0a45">More...</a><br /></td></tr>
<tr class="separator:ae5c1bc1bcccf60a729d584bdf67e0a45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56e618e57ab6703997d5a4c8275f0cd9"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fsm_tape_8h.html#a56e618e57ab6703997d5a4c8275f0cd9">fsmTapestates</a> { <br />
&#160;&#160;<a class="el" href="_fsm_tape_8h.html#a56e618e57ab6703997d5a4c8275f0cd9aad8e7e47d364eaa913d2acfd40320b6a">sTapeOut</a> = 0,
<a class="el" href="_fsm_tape_8h.html#a56e618e57ab6703997d5a4c8275f0cd9afff6f99c32f88aeefbf5ed4b096b1344">sTapeBegin</a>,
<a class="el" href="_fsm_tape_8h.html#a56e618e57ab6703997d5a4c8275f0cd9a9ef51e5f28f60a120d40b2ca0b71244d">sTapeEnd</a>,
<a class="el" href="_fsm_tape_8h.html#a56e618e57ab6703997d5a4c8275f0cd9a2dfc72b81afe12eed33e39cc9160a391">sTapeBetween</a>,
<br />
&#160;&#160;<a class="el" href="_fsm_tape_8h.html#a56e618e57ab6703997d5a4c8275f0cd9a87ceb9dca774658824e1c28ab7525445">STATE_LAST_TAPE</a>
<br />
}</td></tr>
<tr class="memdesc:a56e618e57ab6703997d5a4c8275f0cd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumeration holds all defined states for video recorder state machine. <a href="_fsm_tape_8h.html#a56e618e57ab6703997d5a4c8275f0cd9">More...</a><br /></td></tr>
<tr class="separator:a56e618e57ab6703997d5a4c8275f0cd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a16cc105cba4a2bcc187b37802e58f83c"><td class="memItemLeft" align="right" valign="top">_Bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fsm_tape_8h.html#a16cc105cba4a2bcc187b37802e58f83c">bFsmTapeInitialize</a> (void)</td></tr>
<tr class="memdesc:a16cc105cba4a2bcc187b37802e58f83c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrapper function to statemachine_init(). <a href="_fsm_tape_8h.html#a16cc105cba4a2bcc187b37802e58f83c">More...</a><br /></td></tr>
<tr class="separator:a16cc105cba4a2bcc187b37802e58f83c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a923a26f00769affe35ff37a5bdddfbf9"><td class="memItemLeft" align="right" valign="top">_Bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fsm_tape_8h.html#a923a26f00769affe35ff37a5bdddfbf9">bFsmTapeDispatchEvent</a> (int32_t event)</td></tr>
<tr class="memdesc:a923a26f00769affe35ff37a5bdddfbf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends an event to the state machine. <a href="_fsm_tape_8h.html#a923a26f00769affe35ff37a5bdddfbf9">More...</a><br /></td></tr>
<tr class="separator:a923a26f00769affe35ff37a5bdddfbf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae19eae07dda85143329af0a384fe5296"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fsm_tape_8h.html#ae19eae07dda85143329af0a384fe5296">s32FsmTapeGetState</a> (void)</td></tr>
<tr class="memdesc:ae19eae07dda85143329af0a384fe5296"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current state of the fsm. <a href="_fsm_tape_8h.html#ae19eae07dda85143329af0a384fe5296">More...</a><br /></td></tr>
<tr class="separator:ae19eae07dda85143329af0a384fe5296"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4a4baca999da573307c7b1ba3a1ebfa"><td class="memItemLeft" align="right" valign="top">_Bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fsm_tape_8h.html#ae4a4baca999da573307c7b1ba3a1ebfa">bFsmTapeIsStateChanged</a> (void)</td></tr>
<tr class="memdesc:ae4a4baca999da573307c7b1ba3a1ebfa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates if a state changed happend. <a href="_fsm_tape_8h.html#ae4a4baca999da573307c7b1ba3a1ebfa">More...</a><br /></td></tr>
<tr class="separator:ae4a4baca999da573307c7b1ba3a1ebfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afff00aa02205354a0983d59352b60397"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fsm_tape_8h.html#afff00aa02205354a0983d59352b60397">pcFsmTapeGetStateName</a> (void)</td></tr>
<tr class="memdesc:afff00aa02205354a0983d59352b60397"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the name of the current state. <a href="_fsm_tape_8h.html#afff00aa02205354a0983d59352b60397">More...</a><br /></td></tr>
<tr class="separator:afff00aa02205354a0983d59352b60397"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13c9781b0f1bf2d778b511cf6cb68004"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fsm_tape_8h.html#a13c9781b0f1bf2d778b511cf6cb68004">vEntry_sTapeBegin</a> (void)</td></tr>
<tr class="memdesc:a13c9781b0f1bf2d778b511cf6cb68004"><td class="mdescLeft">&#160;</td><td class="mdescRight">entry for sTapeBegin <a href="_fsm_tape_8h.html#a13c9781b0f1bf2d778b511cf6cb68004">More...</a><br /></td></tr>
<tr class="separator:a13c9781b0f1bf2d778b511cf6cb68004"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc9d848bc0fa2a625cf225d3d43262bd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fsm_tape_8h.html#abc9d848bc0fa2a625cf225d3d43262bd">vEntry_sTapeBetween</a> (void)</td></tr>
<tr class="memdesc:abc9d848bc0fa2a625cf225d3d43262bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">entry for sTapeBetween <a href="_fsm_tape_8h.html#abc9d848bc0fa2a625cf225d3d43262bd">More...</a><br /></td></tr>
<tr class="separator:abc9d848bc0fa2a625cf225d3d43262bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15c0573868b5e92b168d6c50c34c7234"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fsm_tape_8h.html#a15c0573868b5e92b168d6c50c34c7234">vEntry_sTapeEnd</a> (void)</td></tr>
<tr class="memdesc:a15c0573868b5e92b168d6c50c34c7234"><td class="mdescLeft">&#160;</td><td class="mdescRight">entry for sTapeEnd <a href="_fsm_tape_8h.html#a15c0573868b5e92b168d6c50c34c7234">More...</a><br /></td></tr>
<tr class="separator:a15c0573868b5e92b168d6c50c34c7234"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ce5175c9c24a43df6d359ca106206ad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_fsm_tape_8h.html#a9ce5175c9c24a43df6d359ca106206ad">vEntry_sTapeOut</a> (void)</td></tr>
<tr class="memdesc:a9ce5175c9c24a43df6d359ca106206ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">entry for sTapeOut <a href="_fsm_tape_8h.html#a9ce5175c9c24a43df6d359ca106206ad">More...</a><br /></td></tr>
<tr class="separator:a9ce5175c9c24a43df6d359ca106206ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Header FSM for Tape. </p>
<dl class="section author"><dt>Author</dt><dd>Hendrik Schutter </dd></dl>
<dl class="section version"><dt>Version</dt><dd>V1.0 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>27.10.2020</dd></dl>
<p>This file contains the Header FSM for Tape. </p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a id="af8a95161371015ff2698c0dad22e8168"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8a95161371015ff2698c0dad22e8168">&#9670;&nbsp;</a></span>eEventsTape_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef enum <a class="el" href="_fsm_tape_8h.html#ae5c1bc1bcccf60a729d584bdf67e0a45">fsmTapeevents</a> <a class="el" href="_fsm_tape_8h.html#af8a95161371015ff2698c0dad22e8168">eEventsTape_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Enumeration holds all possible events for this state machine. </p>
</div>
</div>
<a id="a6d298efbee33aac1acab671082904b33"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d298efbee33aac1acab671082904b33">&#9670;&nbsp;</a></span>eStatesTape_t</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef enum <a class="el" href="_fsm_tape_8h.html#a56e618e57ab6703997d5a4c8275f0cd9">fsmTapestates</a> <a class="el" href="_fsm_tape_8h.html#a6d298efbee33aac1acab671082904b33">eStatesTape_t</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Enumeration holds all defined states for video recorder state machine. </p>
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ae5c1bc1bcccf60a729d584bdf67e0a45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5c1bc1bcccf60a729d584bdf67e0a45">&#9670;&nbsp;</a></span>fsmTapeevents</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="_fsm_tape_8h.html#ae5c1bc1bcccf60a729d584bdf67e0a45">fsmTapeevents</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Enumeration holds all possible events for this state machine. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ae5c1bc1bcccf60a729d584bdf67e0a45ab0cbf1d5ba54ac2bfa3d1a6b18b6343e"></a>evBegin&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ae5c1bc1bcccf60a729d584bdf67e0a45a2d764f9241468307967eaa67d9cc2b9d"></a>evInOut&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ae5c1bc1bcccf60a729d584bdf67e0a45a627ee2cb241f24a6204b547a3d937ab1"></a>evEnd&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="ae5c1bc1bcccf60a729d584bdf67e0a45a04a4716d93ce780cd623e596cdd5be17"></a>EV_LAST_TAPE&#160;</td><td class="fielddoc"></td></tr>
</table>
</div>
</div>
<a id="a56e618e57ab6703997d5a4c8275f0cd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56e618e57ab6703997d5a4c8275f0cd9">&#9670;&nbsp;</a></span>fsmTapestates</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="_fsm_tape_8h.html#a56e618e57ab6703997d5a4c8275f0cd9">fsmTapestates</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Enumeration holds all defined states for video recorder state machine. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a56e618e57ab6703997d5a4c8275f0cd9aad8e7e47d364eaa913d2acfd40320b6a"></a>sTapeOut&#160;</td><td class="fielddoc"><p>no tape present </p>
</td></tr>
<tr><td class="fieldname"><a id="a56e618e57ab6703997d5a4c8275f0cd9afff6f99c32f88aeefbf5ed4b096b1344"></a>sTapeBegin&#160;</td><td class="fielddoc"><p>tape on begin </p>
</td></tr>
<tr><td class="fieldname"><a id="a56e618e57ab6703997d5a4c8275f0cd9a9ef51e5f28f60a120d40b2ca0b71244d"></a>sTapeEnd&#160;</td><td class="fielddoc"><p>tape on end </p>
</td></tr>
<tr><td class="fieldname"><a id="a56e618e57ab6703997d5a4c8275f0cd9a2dfc72b81afe12eed33e39cc9160a391"></a>sTapeBetween&#160;</td><td class="fielddoc"><p>tape is playing </p>
</td></tr>
<tr><td class="fieldname"><a id="a56e618e57ab6703997d5a4c8275f0cd9a87ceb9dca774658824e1c28ab7525445"></a>STATE_LAST_TAPE&#160;</td><td class="fielddoc"></td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a923a26f00769affe35ff37a5bdddfbf9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a923a26f00769affe35ff37a5bdddfbf9">&#9670;&nbsp;</a></span>bFsmTapeDispatchEvent()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">_Bool bFsmTapeDispatchEvent </td>
<td>(</td>
<td class="paramtype">int32_t&#160;</td>
<td class="paramname"><em>s32Event</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sends an event to the state machine. </p>
<p>This functions wrapps the statemachine_dispatchEvent() function, overgives the event id and returns the return value of statemachine_dispatchEvent().</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">event</td><td>Event for the state machine. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Returns the return value of statemachine_dispatchEvent().</dd></dl>
<p>Sends an event to the state machine.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">void</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>_Bool </dd></dl>
<dl class="section author"><dt>Author</dt><dd>hendrik schutter </dd></dl>
<dl class="section date"><dt>Date</dt><dd>27.10.2020 </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="_fsm_tape_8h_a923a26f00769affe35ff37a5bdddfbf9_cgraph.png" border="0" usemap="#a_fsm_tape_8h_a923a26f00769affe35ff37a5bdddfbf9_cgraph" alt=""/></div>
<map name="_fsm_tape_8h_a923a26f00769affe35ff37a5bdddfbf9_cgraph" id="_fsm_tape_8h_a923a26f00769affe35ff37a5bdddfbf9_cgraph">
<area shape="rect" title="Sends an event to the state machine." alt="" coords="5,5,173,32"/>
<area shape="rect" href="group___s_m.html#gab37c7b983ce34de002616a0607371c69" title="Dispatch Event." alt="" coords="221,5,424,32"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="_fsm_tape_8h_a923a26f00769affe35ff37a5bdddfbf9_icgraph.png" border="0" usemap="#a_fsm_tape_8h_a923a26f00769affe35ff37a5bdddfbf9_icgraph" alt=""/></div>
<map name="_fsm_tape_8h_a923a26f00769affe35ff37a5bdddfbf9_icgraph" id="a_fsm_tape_8h_a923a26f00769affe35ff37a5bdddfbf9_icgraph">
<area shape="rect" title="Sends an event to the state machine." alt="" coords="271,5,439,32"/>
<area shape="rect" href="_threads_8h.html#a9f2e86465d7a7cdc9d30365569b93a42" title="run FSM for Tape" alt="" coords="104,5,223,32"/>
<area shape="rect" href="_main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="app entry point" alt="" coords="5,5,56,32"/>
</map>
</div>
</div>
</div>
<a id="a16cc105cba4a2bcc187b37802e58f83c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16cc105cba4a2bcc187b37802e58f83c">&#9670;&nbsp;</a></span>bFsmTapeInitialize()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">_Bool bFsmTapeInitialize </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Wrapper function to statemachine_init(). </p>
<p>Initializes the state machine with the state table, the number of states and events and the start state. Returns the return value of the statemachine_init() function.</p>
<dl class="section return"><dt>Returns</dt><dd>Returns the return value from the statemachine_init().</dd></dl>
<p>Wrapper function to statemachine_init().</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">void</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>_Bool </dd></dl>
<dl class="section author"><dt>Author</dt><dd>hendrik schutter </dd></dl>
<dl class="section date"><dt>Date</dt><dd>27.10.2020 </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="_fsm_tape_8h_a16cc105cba4a2bcc187b37802e58f83c_cgraph.png" border="0" usemap="#a_fsm_tape_8h_a16cc105cba4a2bcc187b37802e58f83c_cgraph" alt=""/></div>
<map name="_fsm_tape_8h_a16cc105cba4a2bcc187b37802e58f83c_cgraph" id="_fsm_tape_8h_a16cc105cba4a2bcc187b37802e58f83c_cgraph">
<area shape="rect" title="Wrapper function to statemachine_init()." alt="" coords="5,5,136,32"/>
<area shape="rect" href="group___s_m.html#gaacfab84b89a33fb81412b97c8cf089eb" title="Initialization of the State Machine." alt="" coords="184,5,349,32"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="_fsm_tape_8h_a16cc105cba4a2bcc187b37802e58f83c_icgraph.png" border="0" usemap="#a_fsm_tape_8h_a16cc105cba4a2bcc187b37802e58f83c_icgraph" alt=""/></div>
<map name="_fsm_tape_8h_a16cc105cba4a2bcc187b37802e58f83c_icgraph" id="_fsm_tape_8h_a16cc105cba4a2bcc187b37802e58f83c_icgraph">
<area shape="rect" title="Wrapper function to statemachine_init()." alt="" coords="251,5,381,32"/>
<area shape="rect" href="_main_8c.html#a28f2269e99057d03a06ba743893ce407" title="initialize app" alt="" coords="104,5,203,32"/>
<area shape="rect" href="_main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="app entry point" alt="" coords="5,5,56,32"/>
</map>
</div>
</div>
</div>
<a id="ae4a4baca999da573307c7b1ba3a1ebfa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4a4baca999da573307c7b1ba3a1ebfa">&#9670;&nbsp;</a></span>bFsmTapeIsStateChanged()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">_Bool bFsmTapeIsStateChanged </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Indicates if a state changed happend. </p>
<p>This function returns a TRUE if the state of the fsm changed initiated by the last event</p>
<dl class="section return"><dt>Returns</dt><dd>Returns the current state of the fsm</dd></dl>
<p>Indicates if a state changed happend.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">voids</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>_Bool </dd></dl>
<dl class="section author"><dt>Author</dt><dd>hendrik schutter </dd></dl>
<dl class="section date"><dt>Date</dt><dd>27.10.2020 </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="_fsm_tape_8h_ae4a4baca999da573307c7b1ba3a1ebfa_cgraph.png" border="0" usemap="#a_fsm_tape_8h_ae4a4baca999da573307c7b1ba3a1ebfa_cgraph" alt=""/></div>
<map name="_fsm_tape_8h_ae4a4baca999da573307c7b1ba3a1ebfa_cgraph" id="_fsm_tape_8h_ae4a4baca999da573307c7b1ba3a1ebfa_cgraph">
<area shape="rect" title="Indicates if a state changed happend." alt="" coords="5,5,183,32"/>
<area shape="rect" href="group___s_m.html#ga6e0454440b6c4435def62aa706c9f8b3" title="Get the statechanged flag. 1 if last event changed the state, 0 if last event did not changed the sta..." alt="" coords="231,5,441,32"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="_fsm_tape_8h_ae4a4baca999da573307c7b1ba3a1ebfa_icgraph.png" border="0" usemap="#a_fsm_tape_8h_ae4a4baca999da573307c7b1ba3a1ebfa_icgraph" alt=""/></div>
<map name="_fsm_tape_8h_ae4a4baca999da573307c7b1ba3a1ebfa_icgraph" id="a_fsm_tape_8h_ae4a4baca999da573307c7b1ba3a1ebfa_icgraph">
<area shape="rect" title="Indicates if a state changed happend." alt="" coords="271,5,448,32"/>
<area shape="rect" href="_threads_8h.html#a9f2e86465d7a7cdc9d30365569b93a42" title="run FSM for Tape" alt="" coords="104,5,223,32"/>
<area shape="rect" href="_main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="app entry point" alt="" coords="5,5,56,32"/>
</map>
</div>
</div>
</div>
<a id="afff00aa02205354a0983d59352b60397"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afff00aa02205354a0983d59352b60397">&#9670;&nbsp;</a></span>pcFsmTapeGetStateName()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* pcFsmTapeGetStateName </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the name of the current state. </p>
<dl class="section return"><dt>Returns</dt><dd>Returns a pointer to the current state namen</dd></dl>
<p>Get the name of the current state.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">void</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>const char* State Name </dd></dl>
<dl class="section author"><dt>Author</dt><dd>hendrik schutter </dd></dl>
<dl class="section date"><dt>Date</dt><dd>27.10.2020 </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="_fsm_tape_8h_afff00aa02205354a0983d59352b60397_cgraph.png" border="0" usemap="#a_fsm_tape_8h_afff00aa02205354a0983d59352b60397_cgraph" alt=""/></div>
<map name="_fsm_tape_8h_afff00aa02205354a0983d59352b60397_cgraph" id="_fsm_tape_8h_afff00aa02205354a0983d59352b60397_cgraph">
<area shape="rect" title="Get the name of the current state." alt="" coords="5,5,183,32"/>
<area shape="rect" href="group___s_m.html#ga1647cf225f639c7336518153c8a5ea85" title="Get the actual state of a statemachine." alt="" coords="231,5,413,32"/>
</map>
</div>
</div>
</div>
<a id="ae19eae07dda85143329af0a384fe5296"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae19eae07dda85143329af0a384fe5296">&#9670;&nbsp;</a></span>s32FsmTapeGetState()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int32_t s32FsmTapeGetState </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the current state of the fsm. </p>
<dl class="section return"><dt>Returns</dt><dd>Returns current state of the fsm.</dd></dl>
<p>Returns the current state of the fsm.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">voids</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>int32_t FSM state </dd></dl>
<dl class="section author"><dt>Author</dt><dd>hendrik schutter </dd></dl>
<dl class="section date"><dt>Date</dt><dd>27.10.2020 </dd></dl>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="_fsm_tape_8h_ae19eae07dda85143329af0a384fe5296_cgraph.png" border="0" usemap="#a_fsm_tape_8h_ae19eae07dda85143329af0a384fe5296_cgraph" alt=""/></div>
<map name="_fsm_tape_8h_ae19eae07dda85143329af0a384fe5296_cgraph" id="_fsm_tape_8h_ae19eae07dda85143329af0a384fe5296_cgraph">
<area shape="rect" title="Returns the current state of the fsm." alt="" coords="5,5,155,32"/>
<area shape="rect" href="group___s_m.html#ga1647cf225f639c7336518153c8a5ea85" title="Get the actual state of a statemachine." alt="" coords="203,5,385,32"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="_fsm_tape_8h_ae19eae07dda85143329af0a384fe5296_icgraph.png" border="0" usemap="#a_fsm_tape_8h_ae19eae07dda85143329af0a384fe5296_icgraph" alt=""/></div>
<map name="_fsm_tape_8h_ae19eae07dda85143329af0a384fe5296_icgraph" id="_fsm_tape_8h_ae19eae07dda85143329af0a384fe5296_icgraph">
<area shape="rect" title="Returns the current state of the fsm." alt="" coords="205,46,355,73"/>
<area shape="rect" href="_fsm_v_c_r_8h.html#a698d66c10ea05d79d2d41b2e3f7148c3" title="guard for Tape in and not at begin" alt="" coords="5,5,157,47"/>
<area shape="rect" href="_fsm_v_c_r_8h.html#a26e841d7379310a74190a21d88212813" title="guard for Tape in and not at end" alt="" coords="5,71,157,112"/>
</map>
</div>
</div>
</div>
<a id="a13c9781b0f1bf2d778b511cf6cb68004"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13c9781b0f1bf2d778b511cf6cb68004">&#9670;&nbsp;</a></span>vEntry_sTapeBegin()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void vEntry_sTapeBegin </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>entry for sTapeBegin </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">void</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
<dl class="section author"><dt>Author</dt><dd>hendrik schutter </dd></dl>
<dl class="section date"><dt>Date</dt><dd>27.10.2020 </dd></dl>
</div>
</div>
<a id="abc9d848bc0fa2a625cf225d3d43262bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc9d848bc0fa2a625cf225d3d43262bd">&#9670;&nbsp;</a></span>vEntry_sTapeBetween()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void vEntry_sTapeBetween </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>entry for sTapeBetween </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">void</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
<dl class="section author"><dt>Author</dt><dd>hendrik schutter </dd></dl>
<dl class="section date"><dt>Date</dt><dd>27.10.2020 </dd></dl>
</div>
</div>
<a id="a15c0573868b5e92b168d6c50c34c7234"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15c0573868b5e92b168d6c50c34c7234">&#9670;&nbsp;</a></span>vEntry_sTapeEnd()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void vEntry_sTapeEnd </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>entry for sTapeEnd </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">void</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
<dl class="section author"><dt>Author</dt><dd>hendrik schutter </dd></dl>
<dl class="section date"><dt>Date</dt><dd>27.10.2020 </dd></dl>
</div>
</div>
<a id="a9ce5175c9c24a43df6d359ca106206ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ce5175c9c24a43df6d359ca106206ad">&#9670;&nbsp;</a></span>vEntry_sTapeOut()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void vEntry_sTapeOut </td>
<td>(</td>
<td class="paramtype">void&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>entry for sTapeOut </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">void</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
<dl class="section author"><dt>Author</dt><dd>hendrik schutter </dd></dl>
<dl class="section date"><dt>Date</dt><dd>27.10.2020 </dd></dl>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="_fsm_tape_8h.html">FsmTape.h</a></li>
<li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
</ul>
</div>
</body>
</html>