COSA
An Object-Oriented Platform for Arduino Programming
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
30
free_memory
()
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
__brkval
int * __brkval
free_memory
int free_memory()
Definition:
Memory.h:30
__heap_start
int __heap_start
cores
cosa
Cosa
Memory.h
Generated on Thu Aug 31 2017 17:02:02 for COSA by
1.8.11