diff options
| author | Ján Sučan <sucanjan@fit.cvut.cz> | 2017-05-10 15:13:29 +0200 |
|---|---|---|
| committer | Ján Sučan <sucanjan@fit.cvut.cz> | 2017-05-10 15:13:29 +0200 |
| commit | 02e24f0f533fe904c3a5275c4060c10c38d7c17a (patch) | |
| tree | 19d05c60e3d6a6782c4712de960a8f6705054063 /McuSt10f269/McuSt10f269.hpp | |
Uvodny commit, subory su rovnake ako na CD prilozenom k vytlacenemu texu bakalarskej prace, naviac je pridany len subor LICENCIA
Diffstat (limited to 'McuSt10f269/McuSt10f269.hpp')
| -rwxr-xr-x | McuSt10f269/McuSt10f269.hpp | 25 |
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 |
