Ploc Memory Dumper
This commit is contained in:
20
linux/devices/devicedefinitions/PlocMemDumpActions.h
Normal file
20
linux/devices/devicedefinitions/PlocMemDumpActions.h
Normal file
@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <fsfw/action/MinMaxParameter.h>
|
||||
#include <fsfw/action/TemplateAction.h>
|
||||
#include <fsfw/introspection/Enum.h>
|
||||
#include <fsfw/devicehandlers/DeviceHandlerIF.h>
|
||||
|
||||
class PlocMemoryDumper;
|
||||
|
||||
FSFW_ENUM(PlocMemoryDumperCommands, DeviceCommandId_t,
|
||||
((DUMP_MRAM, 1 ,"Dump Memory")))
|
||||
|
||||
class DumpMemoryAction : public TemplateAction<PlocMemoryDumper, DumpMemoryAction, PlocMemoryDumperCommands> {
|
||||
public:
|
||||
DumpMemoryAction(PlocMemoryDumper * owner): TemplateAction(owner, PlocMemoryDumperCommands::DUMP_MRAM) {}
|
||||
|
||||
//Memory is 512KiB
|
||||
MinMaxParameter<uint32_t> startAddress = MinMaxParameter<uint32_t>::createMinMaxParameter(this, "Start Address", 0 , 0x80000);
|
||||
MinMaxParameter<uint32_t> endAddress = MinMaxParameter<uint32_t>::createMinMaxParameter(this, "End Address", 0 , 0x80000);
|
||||
};
|
Reference in New Issue
Block a user