Device to measure angle and get IMU measurements.
Dependencies: mbed commands BLE_API nRF51822
Storage.h
- Committer:
- dkester
- Date:
- 2015-06-03
- Revision:
- 4:2a5a08b14539
- Parent:
- 3:a3e1a06c486d
- Child:
- 5:46947b447701
File content as of revision 4:2a5a08b14539:
#ifndef _STORAGE_H_ #define _STORAGE_H_ #include "mbed.h" class Storage { static Storage* instance; Storage(); public: static Storage* getInstance(); void setup(); void setWREN(); void setWRDI(); int8_t getSR1(); int8_t getSR2(); void clearSR(); bool isBusy(); void endAction(); void pageProgram(int32_t addr); void writeData(int8_t data); void read(int32_t addr); int8_t readData(); void bulkErase(); void sectorErase(int32_t); void reset(); }; #endif /* _STORAGE_H_ */