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.
Dependencies: mbed commands BLE_API nRF51822
Diff: Storage.h
- Revision:
- 3:a3e1a06c486d
- Parent:
- 1:b44bd62c542f
- Child:
- 4:2a5a08b14539
--- a/Storage.h Sat May 30 12:26:02 2015 +0000 +++ b/Storage.h Mon Jun 01 15:41:01 2015 +0000 @@ -11,9 +11,16 @@ public: static Storage* getInstance(); - int32_t setup(); - //void write(); - //int32_t read(); + void setup(); + bool setWREN(); + bool isBusy(); + void endAction(); + + void pageProgram(int32_t addr); + void writeData(int8_t data); + + void read(int32_t addr); + int8_t readData(); };