Added AVR Fuse struct and FuseType enum
This commit is contained in:
21
src/Targets/Microchip/AVR/Fuse.hpp
Normal file
21
src/Targets/Microchip/AVR/Fuse.hpp
Normal 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) {}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user