21 lines
416 B
C++
21 lines
416 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <cstdint>
|
||
|
|
|
||
|
|
#include "src/DebugToolDrivers/WCH/Protocols/WchLink/Commands/Command.hpp"
|
||
|
|
|
||
|
|
namespace DebugToolDrivers::Wch::Protocols::WchLink::Commands::Control
|
||
|
|
{
|
||
|
|
class DetachTarget: public Command<std::array<unsigned char, 1>>
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
DetachTarget()
|
||
|
|
: Command(0x0d)
|
||
|
|
{
|
||
|
|
this->payload = {
|
||
|
|
0xff
|
||
|
|
};
|
||
|
|
}
|
||
|
|
};
|
||
|
|
}
|