Files
BloomPatched/src/Targets/Microchip/AVR/AVR8/PhysicalInterface.hpp

25 lines
434 B
C++
Raw Normal View History

#pragma once
2022-06-04 15:20:37 +01:00
#include <cstdint>
#include <map>
#include <string>
2022-06-04 15:20:37 +01:00
namespace Targets::Microchip::Avr::Avr8Bit
{
2022-06-04 15:20:37 +01:00
enum class PhysicalInterface: std::uint8_t
{
ISP,
JTAG,
DEBUG_WIRE,
PDI,
UPDI,
};
/**
* Returns a mapping of physical interfaces to their marketing name.
*
* @return
*/
std::map<PhysicalInterface, std::string> getPhysicalInterfaceNames();
}