Added AVR Fuse struct and FuseType enum

This commit is contained in:
Nav
2022-03-02 22:43:53 +00:00
parent 67e74a34b6
commit f6399faf9e

View File

@@ -0,0 +1,21 @@
#pragma once
#include <cstdint>
namespace Bloom::Targets::Microchip::Avr
{
enum class FuseType: std::uint8_t
{
LOW,
HIGH,
EXTENDED,
};
struct Fuse
{
FuseType type;
std::uint8_t value;
Fuse(FuseType type, std::uint8_t value): type(type), value(value) {}
};
}