COSA
An Object-Oriented Platform for Arduino Programming
Memory.h
Go to the documentation of this file.
1 
21 #ifndef COSA_MEMORY_H
22 #define COSA_MEMORY_H
23 
28 inline int free_memory() __attribute__((always_inline));
29 inline int
31 {
32  extern int __heap_start, *__brkval;
33  int v;
34  return ((int) &v - (__brkval == 0 ? (int) &__heap_start : (int) __brkval));
35 }
36 
37 #endif
int * __brkval
int free_memory()
Definition: Memory.h:30
int __heap_start