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.
Diff: NVM.h
- Revision:
- 0:20b4b057fa7f
diff -r 000000000000 -r 20b4b057fa7f NVM.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/NVM.h Wed Jun 17 10:11:19 2020 +0000 @@ -0,0 +1,19 @@ + +#ifndef NVM_H +#define NVM_H + +#include "mbed.h" + +extern const char romNVM[]; + +bool writeNVM(uint16_t start_addr,uint8_t len,struct settingsNVM *data); +void clearNVM(void); +bool blkChkEEPROM(void); +bool writeNVMByte(uint16_t addr,uint8_t val); +bool writeNVMfloat(uint16_t addr,float val); +void wrtDefNVM(struct settingsNVM *data); +void initNVM(void); +void loadNVM(struct settingsNVM *data, bool loadDefaults); + + +#endif