Function to calculate the memory available for malloc

Dependents:   AvailableMemory_HelloWorld MCBBThermostat helloaabbc SP14P1_skeleton

Committer:
segundo
Date:
Sun Nov 07 19:11:52 2010 +0000
Revision:
0:a98bf0c96bf1
Child:
1:d8432d8a5b6d

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
segundo 0:a98bf0c96bf1 1 #ifndef SEGUNDO_UTILITIES_AVAILABLEMEMORY_H
segundo 0:a98bf0c96bf1 2 #define SEGUNDO_UTILITIES_AVAILABLEMEMORY_H
segundo 0:a98bf0c96bf1 3
segundo 0:a98bf0c96bf1 4 namespace segundo {
segundo 0:a98bf0c96bf1 5 namespace Utilities {
segundo 0:a98bf0c96bf1 6
segundo 0:a98bf0c96bf1 7 int AvailableMemory();
segundo 0:a98bf0c96bf1 8 int AvailableMemory(int resolution, int maximum, bool disableInterrupts);
segundo 0:a98bf0c96bf1 9
segundo 0:a98bf0c96bf1 10 } // namespace Utilities
segundo 0:a98bf0c96bf1 11 } // namespace segundo
segundo 0:a98bf0c96bf1 12
segundo 0:a98bf0c96bf1 13 using namespace segundo::Utilities;
segundo 0:a98bf0c96bf1 14
segundo 0:a98bf0c96bf1 15 #endif // SEGUNDO_UTILITIES_AVAILABLEMEMORY_H