|
FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
|
Flash memory utilities. More...
#include "boards/io.h"#include <avr/pgmspace.h>

Go to the source code of this file.
Classes | |
| class | flash::FlashReader< T > |
| Functor reading items from an address in AVR Flash memory (PROGMEM). More... | |
Namespaces | |
| namespace | flash |
| Defines API to handle flash memory storage. | |
Macros | |
| #define | F(ptr) |
| Force string constant to be stored as flash storage. More... | |
Functions | |
| template<typename T = uint8_t> | |
| T * | flash::read_flash (uint16_t address, T *buffer, uint8_t size) |
Read flash memory content at given address into buffer. More... | |
| template<typename T > | |
| T & | flash::read_flash (uint16_t address, T &item) |
Read flash memory content at given address into item. More... | |
| template<typename T > | |
| T & | flash::read_flash (const T *address, T &item) |
Read flash memory content at given address into item. More... | |
Flash memory utilities.
Definition in file flash.h.
| #define F | ( | ptr | ) |
Force string constant to be stored as flash storage.
Here is a classical usage here:
| ptr | the string to be automatically stored on flash |