Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
memory.h
- Committer:
- DANIELOM1916
- Date:
- 2018-04-24
- Revision:
- 0:a6b9cdab3197
File content as of revision 0:a6b9cdab3197:
#ifndef MEMORY_ARRAY_H
#define MEMORY_ARRAY_H
#include "mbed.h"
#define MEM_SIZE 10
#define MEM_TYPE uint32_t
void tail_reset();
void mem_free();
uint8_t mem_put(MEM_TYPE data);
uint8_t mem_get(MEM_TYPE* data);
#endif // MEMORY_H