Files
BloomPatched/src/DebugToolDrivers/Microchip/Protocols/EDBG/EdbgTargetPowerManagementInterface.hpp
Nav 55d3fe76e0 Moved EDBG protocol code to more appropriate directory.
Updated necessary namespaces.
Other bits of tidying.
2023-11-17 22:20:39 +00:00

29 lines
829 B
C++

#pragma once
#include <cstdint>
#include "src/DebugToolDrivers/TargetInterfaces/TargetPowerManagementInterface.hpp"
#include "src/DebugToolDrivers/Microchip/Protocols/EDBG/EdbgInterface.hpp"
namespace DebugToolDrivers::Microchip::Protocols::Edbg
{
class EdbgTargetPowerManagementInterface: public TargetInterfaces::TargetPowerManagementInterface
{
public:
explicit EdbgTargetPowerManagementInterface(EdbgInterface* edbgInterface);
/**
* Issues a Set Parameter command to the EDBG tool, to enable the target power.
*/
void enableTargetPower() override;
/**
* Issues a Set Parameter command to the EDBG tool, to disable the target power.
*/
void disableTargetPower() override;
private:
EdbgInterface* edbgInterface;
};
}