Extract EESAVE fuse bit descriptor from AVR8 TDF

This commit is contained in:
Nav
2023-05-26 22:42:48 +01:00
parent f3f0b504f3
commit 6aca0731b2
2 changed files with 13 additions and 0 deletions

View File

@@ -127,6 +127,15 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit::TargetDescription
*/
[[nodiscard]] std::optional<FuseBitsDescriptor> getJtagenFuseBitsDescriptor() const;
/**
* Constructs a FuseBitDescriptor for the "Preserve EEPROM" (EESAVE) fuse bit, with information extracted from
* the TDF.
*
* @return
* std::nullopt if the EESAVE bit field could not be found in the TDF.
*/
[[nodiscard]] std::optional<FuseBitsDescriptor> getEesaveFuseBitsDescriptor() const;
/**
* Returns a set of all supported physical interfaces for debugging.
*