From 914d5bc893cb6b2e2375958502014f5f286341a5 Mon Sep 17 00:00:00 2001 From: Nav Date: Thu, 3 Mar 2022 22:07:24 +0000 Subject: [PATCH] Fuse bit descriptor struct --- src/Targets/Microchip/AVR/Fuse.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Targets/Microchip/AVR/Fuse.hpp b/src/Targets/Microchip/AVR/Fuse.hpp index 0d17f697..b2ef56fd 100644 --- a/src/Targets/Microchip/AVR/Fuse.hpp +++ b/src/Targets/Microchip/AVR/Fuse.hpp @@ -18,4 +18,17 @@ namespace Bloom::Targets::Microchip::Avr Fuse(FuseType type, std::uint8_t value): type(type), value(value) {} }; + + struct FuseBitDescriptor + { + /** + * The type of the fuse byte in which the fuse bit resides. + */ + FuseType fuseType; + + /** + * Fuse bit mask + */ + std::uint8_t bitMask; + }; }