Function to calculate the memory available for malloc

Dependents:   AvailableMemory_HelloWorld MCBBThermostat helloaabbc SP14P1_skeleton

Revision:
6:e94f3a11bad7
Parent:
5:45826003052b
Child:
7:b4a90cb19332
--- a/AvailableMemory.h	Sun Nov 07 20:44:15 2010 +0000
+++ b/AvailableMemory.h	Sun Nov 07 21:26:38 2010 +0000
@@ -1,10 +1,10 @@
-/** @file AvailableMemory.h
+/** \file
  * Return the available memory for a malloc call
  */
 #ifndef SEGUNDO_UTILITIES_AVAILABLEMEMORY_H
 #define SEGUNDO_UTILITIES_AVAILABLEMEMORY_H
- 
-/** @fn const char *Test::member(char c,int n) 
+
+/** @fn const char *Test::member(char c,int n)
  *  @brief A member function.
  *  @param c a character.
  *  @param n an integer.
@@ -12,6 +12,13 @@
  *  @return a character pointer.
  */
 
+///Ethernet network interface return codes
+enum EthernetErr {
+    __ETH_MIN = -0xFFFF,
+    ETH_TIMEOUT, ///<Timeout during setup
+    ETH_OK = 0 ///<Success
+};
+
 namespace segundo {
 namespace Utilities {