-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclassMMU2_1_1DropOutFilter.html
155 lines (147 loc) · 7.69 KB
/
classMMU2_1_1DropOutFilter.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
<!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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Prusa3d Marlin fork: MMU2::DropOutFilter Class 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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Prusa3d Marlin fork
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'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:cf05388f2679ee054f2beb29a391d25f4e673ac3&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>
<!-- 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="namespaceMMU2.html">MMU2</a></li><li class="navelem"><a class="el" href="classMMU2_1_1DropOutFilter.html">DropOutFilter</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-attribs">Static Public Attributes</a> |
<a href="classMMU2_1_1DropOutFilter-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">MMU2::DropOutFilter Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Filter of short consecutive drop outs which are recovered instantly.
</p>
<p><code>#include <<a class="el" href="mmu2__protocol__logic_8h_source.html">mmu2_protocol_logic.h</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a364c12d902679fa31aeaa4a5b3811cb2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classMMU2_1_1DropOutFilter.html#a364c12d902679fa31aeaa4a5b3811cb2">Record</a> (<a class="el" href="namespaceMMU2.html#a97c61052106eec16584a03325028f2db">StepStatus</a> ss)</td></tr>
<tr class="separator:a364c12d902679fa31aeaa4a5b3811cb2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a58c62f423481970ae6a842193397698f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceMMU2.html#a97c61052106eec16584a03325028f2db">StepStatus</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classMMU2_1_1DropOutFilter.html#a58c62f423481970ae6a842193397698f">InitialCause</a> () const</td></tr>
<tr class="separator:a58c62f423481970ae6a842193397698f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a579956a2501e224a298d1393f9356f77"><td class="memItemLeft" align="right" valign="top"><a id="a579956a2501e224a298d1393f9356f77"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classMMU2_1_1DropOutFilter.html#a579956a2501e224a298d1393f9356f77">Reset</a> ()</td></tr>
<tr class="memdesc:a579956a2501e224a298d1393f9356f77"><td class="mdescLeft"> </td><td class="mdescRight">Rearms the object for further processing - basically call this once the MMU responds with something meaningful (e.g. S0 A2) <br /></td></tr>
<tr class="separator:a579956a2501e224a298d1393f9356f77"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a0d522c98fb0e169dcc100583c8c4eb66"><td class="memItemLeft" align="right" valign="top"><a id="a0d522c98fb0e169dcc100583c8c4eb66"></a>
static constexpr uint8_t </td><td class="memItemRight" valign="bottom"><b>maxOccurrences</b> = 10</td></tr>
<tr class="separator:a0d522c98fb0e169dcc100583c8c4eb66"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a58c62f423481970ae6a842193397698f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58c62f423481970ae6a842193397698f">◆ </a></span>InitialCause()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespaceMMU2.html#a97c61052106eec16584a03325028f2db">StepStatus</a> MMU2::DropOutFilter::InitialCause </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the initial cause which started this drop out event </dd></dl>
</div>
</div>
<a id="a364c12d902679fa31aeaa4a5b3811cb2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a364c12d902679fa31aeaa4a5b3811cb2">◆ </a></span>Record()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool MMU2::DropOutFilter::Record </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceMMU2.html#a97c61052106eec16584a03325028f2db">StepStatus</a> </td>
<td class="paramname"><em>ss</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>true if the error should be reported to higher levels (max. number of consecutive occurrences reached) </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="mmu2__protocol__logic_8h_source.html">mmu2_protocol_logic.h</a></li>
<li>mmu2_protocol_logic.cpp</li>
</ul>
</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.1
</small></address>
</body>
</html>