Device to measure angle and get IMU measurements.
Dependencies: mbed commands BLE_API nRF51822
Diff: Storage.h
- Revision:
- 4:2a5a08b14539
- Parent:
- 3:a3e1a06c486d
- Child:
- 5:46947b447701
--- a/Storage.h Mon Jun 01 15:41:01 2015 +0000 +++ b/Storage.h Wed Jun 03 15:10:45 2015 +0000 @@ -12,7 +12,11 @@ static Storage* getInstance(); void setup(); - bool setWREN(); + void setWREN(); + void setWRDI(); + int8_t getSR1(); + int8_t getSR2(); + void clearSR(); bool isBusy(); void endAction(); @@ -21,6 +25,10 @@ void read(int32_t addr); int8_t readData(); + + void bulkErase(); + void sectorErase(int32_t); + void reset(); };