FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
memory.h File Reference

Utilities to check memory usage. More...

#include <stdint.h>
#include "gpio.h"
Include dependency graph for memory.h:

Go to the source code of this file.

Namespaces

namespace  memory
 Contains a few utility method to deal with free SRAM memory.
 

Functions

int memory::free_mem ()
 Return the amount of free SRAM memory. More...
 
bool memory::check_mem (int minimum)
 Check if current free SRAM memory is above the provided minimum. More...
 
void memory::alert_mem (int minimum)
 Check if current free SRAM memory is above the provided minimum. More...
 

Detailed Description

Utilities to check memory usage.

Definition in file memory.h.