Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: AvailableMemory_HelloWorld MCBBThermostat helloaabbc SP14P1_skeleton
Revision 15:d00289c15c89, committed 2010-11-08
- Comitter:
- segundo
- Date:
- Mon Nov 08 13:21:36 2010 +0000
- Parent:
- 14:5d5fc6b4ed16
- Commit message:
Changed in this revision
| AvailableMemory.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/AvailableMemory.h Mon Nov 08 13:15:20 2010 +0000
+++ b/AvailableMemory.h Mon Nov 08 13:21:36 2010 +0000
@@ -1,7 +1,5 @@
/** @file
* Return the memory available for a malloc call.
- * This is done by a binary search approach
- * calling malloc/free starting with a maximum.
*/
#ifndef SEGUNDO_UTILITIES_AVAILABLEMEMORY_H
#define SEGUNDO_UTILITIES_AVAILABLEMEMORY_H
@@ -15,7 +13,9 @@
*/
namespace Utilities {
-/** Return the memory available for a malloc call
+/** Return the memory available for a malloc call.
+ * This is done by a binary search approach
+ * calling malloc/free starting with a maximum.
*
* Example:
* @code
@@ -28,7 +28,8 @@
* printf("Available memory (exact bytes) : %d\n", AvailableMemory(1));
*
* }
- * @endcode* @param resolution Resolution in number of bytes,
+ * @endcode
+ * @param resolution Resolution in number of bytes,
* 1 will return the exact value,
* default will return the available memory to the nearest 256 bytes
* @param maximum Maximum amount of memory to check, default is 32K (0x8000)