forked from Traumflug/Teacup_Firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
structintercom__packet__t.html
127 lines (124 loc) · 9.48 KB
/
structintercom__packet__t.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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"/>
<title>Teacup: intercom_packet_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.7.2 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
<li id="searchli">
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<h1>intercom_packet_t Struct Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="intercom_packet_t" -->
<p>intercom packet structure, both tx and rx
<a href="#_details">More...</a></p>
<p><code>#include <<a class="el" href="intercom_8h_source.html">intercom.h</a>></code></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac803ef6f146faff675fddd94fdcf1305"></a><!-- doxytag: member="intercom_packet_t::start" ref="ac803ef6f146faff675fddd94fdcf1305" args="" -->
uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structintercom__packet__t.html#ac803ef6f146faff675fddd94fdcf1305">start</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">start byte, must be 0x55 <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6406590b8a282fb63150edd4a23e97f2"></a><!-- doxytag: member="intercom_packet_t::dio" ref="a6406590b8a282fb63150edd4a23e97f2" args="" -->
uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structintercom__packet__t.html#a6406590b8a282fb63150edd4a23e97f2">dio</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">gpio <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6c9325c2531322d6b98195ac6d6c4e9"></a><!-- doxytag: member="intercom_packet_t::controller_num" ref="ae6c9325c2531322d6b98195ac6d6c4e9" args="" -->
uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structintercom__packet__t.html#ae6c9325c2531322d6b98195ac6d6c4e9">controller_num</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">controller index <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a99b19ddf89129c5f21521bbd463992a2"></a><!-- doxytag: member="intercom_packet_t::control_word" ref="a99b19ddf89129c5f21521bbd463992a2" args="" -->
uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structintercom__packet__t.html#a99b19ddf89129c5f21521bbd463992a2">control_word</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">what to do <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aca82321e03f208840bab37ae398f3fc1"></a><!-- doxytag: member="intercom_packet_t::control_index" ref="aca82321e03f208840bab37ae398f3fc1" args="" -->
uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structintercom__packet__t.html#aca82321e03f208840bab37ae398f3fc1">control_index</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">what to do it to <br/></td></tr>
<tr><td class="memItemLeft" ><a class="anchor" id="aa544cf42f7037bc2a392493649f4fae7"></a><!-- doxytag: member="intercom_packet_t::@12" ref="aa544cf42f7037bc2a392493649f4fae7" args="" -->
union {</td></tr>
<tr><td class="memItemLeft" >   int32_t   <b>control_data_int32</b></td></tr>
<tr><td class="memItemLeft" >   uint32_t   <b>control_data_uint32</b></td></tr>
<tr><td class="memItemLeft" >   float   <b>control_data_float</b></td></tr>
<tr><td class="memItemLeft" >   uint16_t   <b>temp</b> [2]</td></tr>
<tr><td class="memItemLeft" valign="top">}; </td><td class="memItemRight" valign="bottom"></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8642f2d09fc515f8b3fd26526074a3c4"></a><!-- doxytag: member="intercom_packet_t::err" ref="a8642f2d09fc515f8b3fd26526074a3c4" args="" -->
uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structintercom__packet__t.html#a8642f2d09fc515f8b3fd26526074a3c4">err</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">error code, if any <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa8f9c3af6af4ea58c91a86cc89ecd0e1"></a><!-- doxytag: member="intercom_packet_t::crc" ref="aa8f9c3af6af4ea58c91a86cc89ecd0e1" args="" -->
uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structintercom__packet__t.html#aa8f9c3af6af4ea58c91a86cc89ecd0e1">crc</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">crc for packet verification. packets with bad crc are simply ignored <br/></td></tr>
<tr><td class="memItemLeft" ><a class="anchor" id="a639ed58daa15cf1c9768e5d4b1652da1"></a><!-- doxytag: member="intercom_packet_t::@18" ref="a639ed58daa15cf1c9768e5d4b1652da1" args="" -->
union {</td></tr>
<tr><td class="memItemLeft" >   int32_t   <b>control_data_int32</b></td></tr>
<tr><td class="memItemLeft" >   uint32_t   <b>control_data_uint32</b></td></tr>
<tr><td class="memItemLeft" >   float   <b>control_data_float</b></td></tr>
<tr><td class="memItemLeft" >   uint16_t   <b>temp</b> [2]</td></tr>
<tr><td class="memItemLeft" valign="top">}; </td><td class="memItemRight" valign="bottom"></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>intercom packet structure, both tx and rx </p>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li><a class="el" href="intercom_8h_source.html">intercom.h</a></li>
<li><a class="el" href="extruder_2intercom_8h_source.html">extruder/intercom.h</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Defines</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Mar 22 2011 01:02:28 for Teacup by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address>
</body>
</html>