28extern int __heap_start;
43 return (
int) &v - (__brkval ==
nullptr ? (int) &__heap_start : (
int) __brkval);
static void set()
Set pin level to HIGH (i.e.
static void clear()
Set pin level to LOW (i.e.
General Purpose (digital) Input Output API.
Contains a few utility method to deal with free SRAM memory.
bool check_mem(int minimum)
Check if current free SRAM memory is above the provided minimum.
int free_mem()
Return the amount of free SRAM memory.
void alert_mem(int minimum)
Check if current free SRAM memory is above the provided minimum.