ram_util.c
Go to the documentation of this file.
1 /******************************************************************************/
35 /******************************************************************************/
36 
37 #include "ram_util.h"
38 
39 int
41 ) {
42  extern int __heap_start, *__brkval;
43  int v;
44 
45  return (int) &v - (__brkval == 0 ? (int) &__heap_start : (int) __brkval);
46 }
int free_ram()
Definition: ram_util.c:40
Utility function to check how many bytes of available RAM remains.