USB_Host_Shield_2.0/version__helper_8h_source.html
Kristian Sloth Lauszus 4f510c5316 Updated documentation
2015-04-07 16:07:33 +02:00

332 lines
43 KiB
HTML

<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>USB Host Shield 2.0: version_helper.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>
<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>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="imageStyle.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 style="padding-left: 0.5em;">
<div id="projectname">USB Host Shield 2.0
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<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 id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></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)">
</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_e5fbe6d2783ccd4c93c7856d92d7be6e.html">GitHub</a></li><li class="navelem"><a class="el" href="dir_397a095372f04465e811d0ee219bbf8f.html">USB_Host_Shield_2.0</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">version_helper.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="version__helper_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/* Copyright (C) 2011 Circuits At Home, LTD. All rights reserved.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">This software may be distributed and modified under the terms of the GNU</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">General Public License version 2 (GPL2) as published by the Free Software</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">Foundation and appearing in the file GPL2.TXT included in the packaging of</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">this file. Please note that GPL2 Section 2[b] requires that all works based</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">on this software must also be made publicly available under the terms of</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">the GPL2 (&quot;Copyleft&quot;).</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">Contact information</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">-------------------</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">Circuits At Home, LTD</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">Web : http://www.circuitsathome.com</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">e-mail : support@circuitsathome.com</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment"> * Universal Arduino(tm) &quot;IDE&quot; fixups.</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment"> * Includes fixes for versions as low as 0023, used by Digilent.</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#if defined(ARDUINO) &amp;&amp; ARDUINO &gt;=100</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;Arduino.h&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;WProgram.h&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;pins_arduino.h&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#ifdef __AVR__</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &lt;avr/pgmspace.h&gt;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &lt;avr/io.h&gt;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#ifndef __PGMSPACE_H_</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a3e19ec020621f8b99268a81a85d29f57"> 36</a></span>&#160;<span class="preprocessor">#define __PGMSPACE_H_ 1</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#include &lt;inttypes.h&gt;</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor">#ifndef PROGMEM</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#define PROGMEM</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="preprocessor">#ifndef PGM_P</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a963f816fc88a5d8479c285ed4c630229"> 44</a></span>&#160;<span class="preprocessor">#define PGM_P const char *</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#ifndef PSTR</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a73809107539df84eaf01f6a4dea4fbff"> 47</a></span>&#160;<span class="preprocessor">#define PSTR(str) (str)</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor">#ifndef F</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a0e3009529aac180ed5f48296d6670d6b"> 50</a></span>&#160;<span class="preprocessor">#define F(str) (str)</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#ifndef _SFR_BYTE</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a0c2ed15ee215e2a578c8a975441b841e"> 53</a></span>&#160;<span class="preprocessor">#define _SFR_BYTE(n) (n)</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#ifndef prog_void</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a132cade895232da163e344f296267817"> 57</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="version__helper_8h.html#a132cade895232da163e344f296267817">prog_void</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="preprocessor">#ifndef prog_char</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a8c58c1a4bc98cdbf19a2a070cf889524"> 60</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">char</span> <a class="code" href="version__helper_8h.html#a8c58c1a4bc98cdbf19a2a070cf889524">prog_char</a>;</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#ifndef prog_uchar</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a5c79ab4508e17a83c5d89c787cbd6774"> 63</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="version__helper_8h.html#a5c79ab4508e17a83c5d89c787cbd6774">prog_uchar</a>;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor">#ifndef prog_int8_t</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ae2aefb42a042fa5cb20e06f7fcfa327e"> 66</a></span>&#160;<span class="keyword">typedef</span> int8_t <a class="code" href="version__helper_8h.html#ae2aefb42a042fa5cb20e06f7fcfa327e">prog_int8_t</a>;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="preprocessor">#ifndef prog_uint8_t</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a1292f2f164a1997206e9cf714f2372fe"> 69</a></span>&#160;<span class="keyword">typedef</span> uint8_t <a class="code" href="version__helper_8h.html#a1292f2f164a1997206e9cf714f2372fe">prog_uint8_t</a>;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor">#ifndef prog_int16_t</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a8a3c5c6e2c14ced6f6bb5c68ffc70082"> 72</a></span>&#160;<span class="keyword">typedef</span> int16_t <a class="code" href="version__helper_8h.html#a8a3c5c6e2c14ced6f6bb5c68ffc70082">prog_int16_t</a>;</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="preprocessor">#ifndef prog_uint16_t</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a05ca2f20b55933ad782917161d54287d"> 75</a></span>&#160;<span class="keyword">typedef</span> uint16_t <a class="code" href="version__helper_8h.html#a05ca2f20b55933ad782917161d54287d">prog_uint16_t</a>;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="preprocessor">#ifndef prog_int32_t</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a9d67538d7ddfd038ce8b0068d03dd679"> 78</a></span>&#160;<span class="keyword">typedef</span> int32_t <a class="code" href="version__helper_8h.html#a9d67538d7ddfd038ce8b0068d03dd679">prog_int32_t</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="preprocessor">#ifndef prog_uint32_t</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a0756e93e3e7d572f24952cbd8e35b158"> 81</a></span>&#160;<span class="keyword">typedef</span> uint32_t <a class="code" href="version__helper_8h.html#a0756e93e3e7d572f24952cbd8e35b158">prog_uint32_t</a>;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="preprocessor">#ifndef memchr_P</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a0701320e4ee6b49c390113373afad5ac"> 85</a></span>&#160;<span class="preprocessor">#define memchr_P(str, c, len) memchr((str), (c), (len))</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<span class="preprocessor">#ifndef memcmp_P</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="version__helper_8h.html#aa643537fe238d74f3e5e4dda08bb399e"> 88</a></span>&#160;<span class="preprocessor">#define memcmp_P(a, b, n) memcmp((a), (b), (n))</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="preprocessor">#ifndef memcpy_P</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ae0444ad0cb3250a5778a573dd10f41be"> 91</a></span>&#160;<span class="preprocessor">#define memcpy_P(dest, src, num) memcpy((dest), (src), (num))</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="preprocessor">#ifndef memmem_P</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="version__helper_8h.html#afe1e08150140cc176a8d0a5b11081dd0"> 94</a></span>&#160;<span class="preprocessor">#define memmem_P(a, alen, b, blen) memmem((a), (alen), (b), (blen))</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;<span class="preprocessor">#ifndef memrchr_P</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a243235b923ff7a3411ed43653abc727a"> 97</a></span>&#160;<span class="preprocessor">#define memrchr_P(str, val, len) memrchr((str), (val), (len))</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="preprocessor">#ifndef strcat_P</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a2ca9304dda7dc2472812baa9e9ede965"> 100</a></span>&#160;<span class="preprocessor">#define strcat_P(dest, src) strcat((dest), (src))</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;<span class="preprocessor">#ifndef strchr_P</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="version__helper_8h.html#abb3516e179fb3e8ef87c5d0cac4045cb"> 103</a></span>&#160;<span class="preprocessor">#define strchr_P(str, c) strchr((str), (c))</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;<span class="preprocessor">#ifndef strchrnul_P</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ab2472535e049353329b4026b5ea0ae47"> 106</a></span>&#160;<span class="preprocessor">#define strchrnul_P(str, c) strchrnul((str), (c))</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="preprocessor">#ifndef strcmp_P</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="version__helper_8h.html#abbb2cd396dde2d1575948bb16ce2853a"> 109</a></span>&#160;<span class="preprocessor">#define strcmp_P(a, b) strcmp((a), (b))</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;<span class="preprocessor">#ifndef strcpy_P</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ae74941b597bdd8ffb5c35f45b636946b"> 112</a></span>&#160;<span class="preprocessor">#define strcpy_P(dest, src) strcpy((dest), (src))</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;<span class="preprocessor">#ifndef strcasecmp_P</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ae97e89b6ed4b46ade2eca9cafc6abd8d"> 115</a></span>&#160;<span class="preprocessor">#define strcasecmp_P(a, b) strcasecmp((a), (b))</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;<span class="preprocessor">#ifndef strcasestr_P</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="version__helper_8h.html#aaa89d5a1f38d2344fdb7542d89d35871"> 118</a></span>&#160;<span class="preprocessor">#define strcasestr_P(a, b) strcasestr((a), (b))</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;<span class="preprocessor">#ifndef strlcat_P</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a1196925b7d2e212dcdef7ceb4c52d86b"> 121</a></span>&#160;<span class="preprocessor">#define strlcat_P(dest, src, len) strlcat((dest), (src), (len))</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;<span class="preprocessor">#ifndef strlcpy_P</span></div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a342608671474428bdccd3c47ee3a635f"> 124</a></span>&#160;<span class="preprocessor">#define strlcpy_P(dest, src, len) strlcpy((dest), (src), (len))</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<span class="preprocessor">#ifndef strlen_P</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a9962d6786d3d28802e67dde07a9bfc0e"> 127</a></span>&#160;<span class="preprocessor">#define strlen_P(s) strlen((const char *)(s))</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;<span class="preprocessor">#ifndef strnlen_P</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a88a58af15fc8867019bde93e47d5e170"> 130</a></span>&#160;<span class="preprocessor">#define strnlen_P(str, len) strnlen((str), (len))</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;<span class="preprocessor">#ifndef strncmp_P</span></div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a83b1e057d9ee4c5160557575be07c41f"> 133</a></span>&#160;<span class="preprocessor">#define strncmp_P(a, b, n) strncmp((a), (b), (n))</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="preprocessor">#ifndef strncasecmp_P</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a6986d443d13df0a4f28c6d1b52effb7d"> 136</a></span>&#160;<span class="preprocessor">#define strncasecmp_P(a, b, n) strncasecmp((a), (b), (n))</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;<span class="preprocessor">#ifndef strncat_P</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a86116ae518b3a7c8d7802897ad4d4437"> 139</a></span>&#160;<span class="preprocessor">#define strncat_P(a, b, n) strncat((a), (b), (n))</span></div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;<span class="preprocessor">#ifndef strncpy_P</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="version__helper_8h.html#afc6a478676d2474bb02daccb34462d22"> 142</a></span>&#160;<span class="preprocessor">#define strncpy_P(a, b, n) strncmp((a), (b), (n))</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;<span class="preprocessor">#ifndef strpbrk_P</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a0d7d99b4acb1736f8d82c504439d955b"> 145</a></span>&#160;<span class="preprocessor">#define strpbrk_P(str, chrs) strpbrk((str), (chrs))</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="preprocessor">#ifndef strrchr_P</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a802c70c90bdce26fb6e0219d54b0107f"> 148</a></span>&#160;<span class="preprocessor">#define strrchr_P(str, c) strrchr((str), (c))</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<span class="preprocessor">#ifndef strsep_P</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ae791604aa35173f156a2c49041531726"> 151</a></span>&#160;<span class="preprocessor">#define strsep_P(strp, delim) strsep((strp), (delim))</span></div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;<span class="preprocessor">#ifndef strspn_P</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ae67a03953a61e164588820c94f7fe416"> 154</a></span>&#160;<span class="preprocessor">#define strspn_P(str, chrs) strspn((str), (chrs))</span></div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;<span class="preprocessor">#ifndef strstr_P</span></div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="version__helper_8h.html#aca1ecbfa8b94eba4b5228f0a6a18a888"> 157</a></span>&#160;<span class="preprocessor">#define strstr_P(a, b) strstr((a), (b))</span></div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;<span class="preprocessor">#ifndef sprintf_P</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ab85c96c01fd285b8b9513e2cdd4c2ed4"> 160</a></span>&#160;<span class="preprocessor">#define sprintf_P(s, ...) sprintf((s), __VA_ARGS__)</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;<span class="preprocessor">#ifndef vfprintf_P</span></div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a1c1f6f95b0f654f7c8280065feccf5cf"> 163</a></span>&#160;<span class="preprocessor">#define vfprintf_P(s, ...) vfprintf((s), __VA_ARGS__)</span></div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;<span class="preprocessor">#ifndef printf_P</span></div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ab9261eba134bf3ec83f80bd34e6c2faf"> 166</a></span>&#160;<span class="preprocessor">#define printf_P(...) printf(__VA_ARGS__)</span></div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;<span class="preprocessor">#ifndef snprintf_P</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a6e0c87b2591aa1587c4d767ff9a2e5dd"> 169</a></span>&#160;<span class="preprocessor">#define snprintf_P(s, n, ...) ((s), (n), __VA_ARGS__)</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;<span class="preprocessor">#ifndef vsprintf_P</span></div>
<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a331f11242bffa41fbae842a55185e8cc"> 172</a></span>&#160;<span class="preprocessor">#define vsprintf_P(s, ...) ((s),__VA_ARGS__)</span></div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160;<span class="preprocessor">#ifndef vsnprintf_P</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ada0f0fa2c127b5486a9d7cba324b00d6"> 175</a></span>&#160;<span class="preprocessor">#define vsnprintf_P(s, n, ...) ((s), (n),__VA_ARGS__)</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;<span class="preprocessor">#ifndef fprintf_P</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="version__helper_8h.html#affc751c94fd67fe22fb951c83cdb328e"> 178</a></span>&#160;<span class="preprocessor">#define fprintf_P(s, ...) ((s), __VA_ARGS__)</span></div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;<span class="preprocessor">#ifndef pgm_read_byte</span></div>
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a48c60b057902adf805797f183286728d"> 182</a></span>&#160;<span class="preprocessor">#define pgm_read_byte(addr) (*(const unsigned char *)(addr))</span></div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;<span class="preprocessor">#ifndef pgm_read_word</span></div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a910fb5f01313d339d3b835d45e1e5ad0"> 185</a></span>&#160;<span class="preprocessor">#define pgm_read_word(addr) (*(const unsigned short *)(addr))</span></div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;<span class="preprocessor">#ifndef pgm_read_dword</span></div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a73cf3e57e32321cb193b3cc4b041cc6c"> 188</a></span>&#160;<span class="preprocessor">#define pgm_read_dword(addr) (*(const unsigned long *)(addr))</span></div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;<span class="preprocessor">#ifndef pgm_read_float</span></div>
<div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a334426a3824fc08cee3a557ded696128"> 191</a></span>&#160;<span class="preprocessor">#define pgm_read_float(addr) (*(const float *)(addr))</span></div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160;<span class="preprocessor">#ifndef pgm_read_byte_near</span></div>
<div class="line"><a name="l00195"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ad2b71a6faa0583b51569b531a443cb0a"> 195</a></span>&#160;<span class="preprocessor">#define pgm_read_byte_near(addr) pgm_read_byte(addr)</span></div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;<span class="preprocessor">#ifndef pgm_read_word_near</span></div>
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a515a845ea5139d8cf1c7f09ad6dad243"> 198</a></span>&#160;<span class="preprocessor">#define pgm_read_word_near(addr) pgm_read_word(addr)</span></div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;<span class="preprocessor">#ifndef pgm_read_dword_near</span></div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a27619bf0e01033f6049a11a6d5d754f3"> 201</a></span>&#160;<span class="preprocessor">#define pgm_read_dword_near(addr) pgm_read_dword(addr)</span></div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;<span class="preprocessor">#ifndef pgm_read_float_near</span></div>
<div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a93b33ee6ceaf1dd3ebcfa6f4c96f8b27"> 204</a></span>&#160;<span class="preprocessor">#define pgm_read_float_near(addr) pgm_read_float(addr)</span></div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160;<span class="preprocessor">#ifndef pgm_read_byte_far</span></div>
<div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a96c2bf865e6b08ed5f881ad25f5d47d4"> 207</a></span>&#160;<span class="preprocessor">#define pgm_read_byte_far(addr) pgm_read_byte(addr)</span></div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;<span class="preprocessor">#ifndef pgm_read_word_far</span></div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a3aaf70e2e58f5749ccbcd36032b1d1b3"> 210</a></span>&#160;<span class="preprocessor">#define pgm_read_word_far(addr) pgm_read_word(addr)</span></div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160;<span class="preprocessor">#ifndef pgm_read_dword_far</span></div>
<div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="version__helper_8h.html#a2829b030e67c660d451045dd1ee6b1e9"> 213</a></span>&#160;<span class="preprocessor">#define pgm_read_dword_far(addr) pgm_read_dword(addr)</span></div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;<span class="preprocessor">#ifndef pgm_read_float_far</span></div>
<div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ac9201560d03a0cfa240d0421a22c74d1"> 216</a></span>&#160;<span class="preprocessor">#define pgm_read_float_far(addr) pgm_read_float(addr)</span></div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;<span class="preprocessor">#ifndef pgm_read_pointer</span></div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="version__helper_8h.html#ac75ec4c27491d1c4b5d9198dd7dc0155"> 220</a></span>&#160;<span class="preprocessor">#define pgm_read_pointer</span></div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="version__helper_8h_html_a132cade895232da163e344f296267817"><div class="ttname"><a href="version__helper_8h.html#a132cade895232da163e344f296267817">prog_void</a></div><div class="ttdeci">void prog_void</div><div class="ttdef"><b>Definition:</b> <a href="version__helper_8h_source.html#l00057">version_helper.h:57</a></div></div>
<div class="ttc" id="version__helper_8h_html_ae2aefb42a042fa5cb20e06f7fcfa327e"><div class="ttname"><a href="version__helper_8h.html#ae2aefb42a042fa5cb20e06f7fcfa327e">prog_int8_t</a></div><div class="ttdeci">int8_t prog_int8_t</div><div class="ttdef"><b>Definition:</b> <a href="version__helper_8h_source.html#l00066">version_helper.h:66</a></div></div>
<div class="ttc" id="version__helper_8h_html_a9d67538d7ddfd038ce8b0068d03dd679"><div class="ttname"><a href="version__helper_8h.html#a9d67538d7ddfd038ce8b0068d03dd679">prog_int32_t</a></div><div class="ttdeci">int32_t prog_int32_t</div><div class="ttdef"><b>Definition:</b> <a href="version__helper_8h_source.html#l00078">version_helper.h:78</a></div></div>
<div class="ttc" id="version__helper_8h_html_a1292f2f164a1997206e9cf714f2372fe"><div class="ttname"><a href="version__helper_8h.html#a1292f2f164a1997206e9cf714f2372fe">prog_uint8_t</a></div><div class="ttdeci">uint8_t prog_uint8_t</div><div class="ttdef"><b>Definition:</b> <a href="version__helper_8h_source.html#l00069">version_helper.h:69</a></div></div>
<div class="ttc" id="version__helper_8h_html_a8a3c5c6e2c14ced6f6bb5c68ffc70082"><div class="ttname"><a href="version__helper_8h.html#a8a3c5c6e2c14ced6f6bb5c68ffc70082">prog_int16_t</a></div><div class="ttdeci">int16_t prog_int16_t</div><div class="ttdef"><b>Definition:</b> <a href="version__helper_8h_source.html#l00072">version_helper.h:72</a></div></div>
<div class="ttc" id="version__helper_8h_html_a0756e93e3e7d572f24952cbd8e35b158"><div class="ttname"><a href="version__helper_8h.html#a0756e93e3e7d572f24952cbd8e35b158">prog_uint32_t</a></div><div class="ttdeci">uint32_t prog_uint32_t</div><div class="ttdef"><b>Definition:</b> <a href="version__helper_8h_source.html#l00081">version_helper.h:81</a></div></div>
<div class="ttc" id="version__helper_8h_html_a05ca2f20b55933ad782917161d54287d"><div class="ttname"><a href="version__helper_8h.html#a05ca2f20b55933ad782917161d54287d">prog_uint16_t</a></div><div class="ttdeci">uint16_t prog_uint16_t</div><div class="ttdef"><b>Definition:</b> <a href="version__helper_8h_source.html#l00075">version_helper.h:75</a></div></div>
<div class="ttc" id="version__helper_8h_html_a5c79ab4508e17a83c5d89c787cbd6774"><div class="ttname"><a href="version__helper_8h.html#a5c79ab4508e17a83c5d89c787cbd6774">prog_uchar</a></div><div class="ttdeci">unsigned char prog_uchar</div><div class="ttdef"><b>Definition:</b> <a href="version__helper_8h_source.html#l00063">version_helper.h:63</a></div></div>
<div class="ttc" id="version__helper_8h_html_a8c58c1a4bc98cdbf19a2a070cf889524"><div class="ttname"><a href="version__helper_8h.html#a8c58c1a4bc98cdbf19a2a070cf889524">prog_char</a></div><div class="ttdeci">char prog_char</div><div class="ttdef"><b>Definition:</b> <a href="version__helper_8h_source.html#l00060">version_helper.h:60</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>