aboutsummaryrefslogtreecommitdiff
path: root/McuSt10f269/McuSt10f269.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'McuSt10f269/McuSt10f269.hpp')
-rwxr-xr-xMcuSt10f269/McuSt10f269.hpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/McuSt10f269/McuSt10f269.hpp b/McuSt10f269/McuSt10f269.hpp
new file mode 100755
index 0000000..01063d6
--- /dev/null
+++ b/McuSt10f269/McuSt10f269.hpp
@@ -0,0 +1,25 @@
+#ifndef MCU_ST10F269_HPP
+#define MCU_ST10F269_HPP
+
+#include "McuSpecifics.hpp"
+
+class CMcuSt10f269 : public IMcuSpecifics {
+private:
+ list<uint32_t> mBlockSizes;
+public:
+ static bool hasThisId(uint16_t idmanuf, uint16_t idchip);
+
+ CMcuSt10f269();
+ ~CMcuSt10f269();
+
+ string getName();
+ uint8_t *getFirmware();
+ int getFirmwareLength();
+ const list<uint32_t> getBlockSizes();
+ uint32_t getFlashSize();
+ int getEraseTimeout();
+ string getMessageForRetCode(uint16_t ret);
+ const list<uint16_t> getConfigData(float mcuFrequency);
+};
+
+#endif