![]() |
Speeduino
|
Helper methods for items stored in flash memory. More...

Go to the source code of this file.
Functions | |
| template<typename T > | |
| static T & | copyObject_P (const T *pAddress, T &t) |
| Copy an object stored in flash to an existing RAM based instance. | |
| template<typename T > | |
| static T | copyObject_P (const T *pAddress) |
| Copy an object stored in flash to a new instance in RAM. | |
Helper methods for items stored in flash memory.
Copy an object stored in flash to a new instance in RAM.
| T | Type of object to load. Must be a POD |
| pAddress | Address to load from |

Copy an object stored in flash to an existing RAM based instance.
| T | Type of object to load. Must be a POD |
| pAddress | Address to load from |
| t | Object instance to load into. |

