|
- <!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.14"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>SdFat: ArduinoSdFat/libraries/SdFat/src/FreeStack.h File Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">SdFat
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.14 -->
- <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');
- /* @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="dir_bd3b508a448b79faa7486a2af0c5c4a2.html">ArduinoSdFat</a></li><li class="navelem"><a class="el" href="dir_d7cdc5eb6907b67ec8d6facf0ac28083.html">libraries</a></li><li class="navelem"><a class="el" href="dir_30f4e013e11264f0426cd7e4f10b230b.html">SdFat</a></li><li class="navelem"><a class="el" href="dir_ffa9b8a1695a52c2b9469cb7873a40f4.html">src</a></li> </ul>
- </div>
- </div><!-- top -->
- <div class="header">
- <div class="summary">
- <a href="#define-members">Macros</a> |
- <a href="#func-members">Functions</a> |
- <a href="#var-members">Variables</a> </div>
- <div class="headertitle">
- <div class="title">FreeStack.h File Reference</div> </div>
- </div><!--header-->
- <div class="contents">
-
- <p><a class="el" href="_free_stack_8h.html#a86da1fd0aa8dcc6a981803373bc8839d">FreeStack()</a> function.
- <a href="#details">More...</a></p>
- <div class="textblock"><code>#include <stdint.h></code><br />
- <code>#include <avr/io.h></code><br />
- </div><div class="textblock"><div class="dynheader">
- Include dependency graph for FreeStack.h:</div>
- <div class="dyncontent">
- <div class="center"><img src="_free_stack_8h__incl.png" border="0" usemap="#_arduino_sd_fat_2libraries_2_sd_fat_2src_2_free_stack_8h" alt=""/></div>
- <map name="_arduino_sd_fat_2libraries_2_sd_fat_2src_2_free_stack_8h" id="_arduino_sd_fat_2libraries_2_sd_fat_2src_2_free_stack_8h">
- </map>
- </div>
- </div><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
- Macros</h2></td></tr>
- <tr class="memitem:acd5a8222ee7af79faab74b1df412d600"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_free_stack_8h.html#acd5a8222ee7af79faab74b1df412d600">HAS_UNUSED_STACK</a>   1</td></tr>
- <tr class="separator:acd5a8222ee7af79faab74b1df412d600"><td class="memSeparator" colspan="2"> </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:a534f4eab46987296c6951fc35a2f9a7f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="_free_stack_8h.html#a534f4eab46987296c6951fc35a2f9a7f">FillStack</a> ()</td></tr>
- <tr class="separator:a534f4eab46987296c6951fc35a2f9a7f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a86da1fd0aa8dcc6a981803373bc8839d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="_free_stack_8h.html#a86da1fd0aa8dcc6a981803373bc8839d">FreeStack</a> ()</td></tr>
- <tr class="separator:a86da1fd0aa8dcc6a981803373bc8839d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0a6400cf785c9647c0bacb76b15851de"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="_free_stack_8h.html#a0a6400cf785c9647c0bacb76b15851de">UnusedStack</a> ()</td></tr>
- <tr class="separator:a0a6400cf785c9647c0bacb76b15851de"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
- Variables</h2></td></tr>
- <tr class="memitem:ad193a2cc121e0d4614a1c21eb463fb56"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="_free_stack_8h.html#ad193a2cc121e0d4614a1c21eb463fb56">__brkval</a></td></tr>
- <tr class="separator:ad193a2cc121e0d4614a1c21eb463fb56"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:adbad17f740c2d7f2bc4833681c93c932"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="_free_stack_8h.html#adbad17f740c2d7f2bc4833681c93c932">__bss_end</a></td></tr>
- <tr class="separator:adbad17f740c2d7f2bc4833681c93c932"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <div class="textblock"><p><a class="el" href="_free_stack_8h.html#a86da1fd0aa8dcc6a981803373bc8839d">FreeStack()</a> function. </p>
- <p>Copyright (c) 2011-2019 Bill Greiman This file is part of the SdFat library for SD memory cards.</p>
- <p>MIT License</p>
- <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
- <p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
- <p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </p>
- </div><h2 class="groupheader">Macro Definition Documentation</h2>
- <a id="acd5a8222ee7af79faab74b1df412d600"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#acd5a8222ee7af79faab74b1df412d600">◆ </a></span>HAS_UNUSED_STACK</h2>
-
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define HAS_UNUSED_STACK   1</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Indicate <a class="el" href="_free_stack_8h.html#a534f4eab46987296c6951fc35a2f9a7f">FillStack()</a> and <a class="el" href="_free_stack_8h.html#a0a6400cf785c9647c0bacb76b15851de">UnusedStack()</a> are available. </p>
-
- </div>
- </div>
- <h2 class="groupheader">Function Documentation</h2>
- <a id="a534f4eab46987296c6951fc35a2f9a7f"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a534f4eab46987296c6951fc35a2f9a7f">◆ </a></span>FillStack()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void FillStack </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Fill stack with 0x55 pattern </p>
-
- </div>
- </div>
- <a id="a86da1fd0aa8dcc6a981803373bc8839d"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a86da1fd0aa8dcc6a981803373bc8839d">◆ </a></span>FreeStack()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">int FreeStack </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Amount of free stack space. </p><dl class="section return"><dt>Returns</dt><dd>The number of free bytes. </dd></dl>
-
- </div>
- </div>
- <a id="a0a6400cf785c9647c0bacb76b15851de"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#a0a6400cf785c9647c0bacb76b15851de">◆ </a></span>UnusedStack()</h2>
-
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int UnusedStack </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Determine the amount of unused stack.</p>
- <p><a class="el" href="_free_stack_8h.html#a534f4eab46987296c6951fc35a2f9a7f">FillStack()</a> must be called to fill the stack with a 0x55 pattern.</p>
- <p><a class="el" href="_free_stack_8h.html#a0a6400cf785c9647c0bacb76b15851de">UnusedStack()</a> may fail if malloc() or new is use.</p>
- <dl class="section return"><dt>Returns</dt><dd>number of bytes with 0x55 pattern. </dd></dl>
-
- </div>
- </div>
- <h2 class="groupheader">Variable Documentation</h2>
- <a id="ad193a2cc121e0d4614a1c21eb463fb56"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#ad193a2cc121e0d4614a1c21eb463fb56">◆ </a></span>__brkval</h2>
-
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">char* __brkval</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>boundary between stack and heap. </p>
-
- </div>
- </div>
- <a id="adbad17f740c2d7f2bc4833681c93c932"></a>
- <h2 class="memtitle"><span class="permalink"><a href="#adbad17f740c2d7f2bc4833681c93c932">◆ </a></span>__bss_end</h2>
-
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">char __bss_end</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>End of bss section. </p>
-
- </div>
- </div>
- </div><!-- contents -->
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated on Thu May 9 2019 06:51:28 for SdFat by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.14
- </small></address>
- </body>
- </html>
|