Files
BloomPatched/src/DebugToolDrivers/Microchip/PowerDebugger/PowerDebugger.hpp

32 lines
840 B
C++
Raw Normal View History

2021-04-04 21:04:12 +01:00
#pragma once
#include <cstdint>
#include <string>
2021-04-04 21:04:12 +01:00
#include "src/DebugToolDrivers/Microchip/EdbgDevice.hpp"
2021-04-04 21:04:12 +01:00
namespace DebugToolDrivers::Microchip
2021-04-04 21:04:12 +01:00
{
/**
* The Power Debugger device is very similar to the Atmel-ICE. It is an EDBG device.
2021-04-04 21:04:12 +01:00
*
* USB:
2021-04-04 21:04:12 +01:00
* Vendor ID: 0x03eb (1003)
* Product ID: 0x2141 (8513)
*/
class PowerDebugger: public EdbgDevice
2021-04-04 21:04:12 +01:00
{
public:
static const inline std::uint16_t USB_VENDOR_ID = 0x03eb;
2025-08-17 23:42:58 +02:00
static const inline std::uint16_t USB_PRODUCT_ID = 0x2144;
static const inline std::uint8_t USB_CONFIGURATION_INDEX = 0;
static const inline std::uint8_t CMSIS_HID_INTERFACE_NUMBER = 0;
2021-04-04 21:04:12 +01:00
PowerDebugger(const DebugToolConfig& debugToolConfig);
2021-04-04 21:04:12 +01:00
std::string getName() override {
return "Power Debugger";
}
2021-04-04 21:04:12 +01:00
};
}