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.
Fork of SerialFlash by
Diff: ISPICommand.h
- Revision:
- 2:6f8ab876b516
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ISPICommand.h Wed Mar 02 16:09:09 2011 +0000 @@ -0,0 +1,14 @@ +#pragma once + +class ISPICommand +{ +public: + + virtual ~ISPICommand() {} + virtual void SetMaxFrequency(int frequency) = 0; + + virtual void Write(int command) = 0; + virtual void Write(int command, const void* pParam, int length) = 0; + virtual void Read(int command, void* pReaded, int readLength) = 0; + virtual void Read(int command, const void* pParam, int paramLength, void* pReaded, int readLength) = 0; +};