GY-63_MS5611/libraries/AvrHeap/avrheap.h
2015-12-10 18:26:56 +01:00

39 lines
698 B
C++

#ifndef AVRHEAP_H
#define AVRHEAP_H
//
// FILE: Avrheap.h
// AUTHOR: Rob dot Tillaart at gmail dot com
// VERSION: 0.1.00
// PURPOSE: heap library for Arduino (AVR)
// HISTORY: See avrheap.cpp
//
// Released to the public domain
//
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "Printable.h"
#define AVRHEAP_LIB_VERSION "0.1.00"
class Avrheap
{
public:
Avrheap();
size_t printTo(Print& p) const;
// uint32_t freeRAM(); // should this be in ?
bool isFragmented();
uint16_t freeListCount();
uint16_t freeListSize();
void freeListDump();
void dump(uint16_t count);
private:
};
#endif