J L / Mbed 2 deprecated Neptune_170620

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers NVM.h Source File

NVM.h

00001 
00002 #ifndef NVM_H
00003 #define NVM_H
00004 
00005 #include "mbed.h"
00006 
00007 extern const char romNVM[];
00008 
00009 bool writeNVM(uint16_t start_addr,uint8_t len,struct settingsNVM *data);
00010 void clearNVM(void);
00011 bool blkChkEEPROM(void);
00012 bool writeNVMByte(uint16_t addr,uint8_t val);
00013 bool writeNVMfloat(uint16_t addr,float val);
00014 void wrtDefNVM(struct settingsNVM *data);
00015 void initNVM(void);
00016 void loadNVM(struct settingsNVM *data, bool loadDefaults);
00017 
00018 
00019 #endif