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