Added new exception class for debug wire physical interface errors - to be handled with a DWEN fuse check

This commit is contained in:
Nav
2022-03-02 00:56:40 +00:00
parent 0f7ab7b814
commit 5309c1117f
4 changed files with 48 additions and 3 deletions

View File

@@ -102,6 +102,10 @@ namespace Bloom::DebugToolDrivers::TargetInterfaces::Microchip::Avr::Avr8
/**
* Should activate the physical interface between the debug tool and the AVR8 target.
*
* If the debugWire interface has been selected - this function should throw a DebugWirePhysicalInterfaceError
* exception, in the event of a failure when activating the interface. The reason for this is to allow us the
* chance to check the DWEN fuse bit, via an ISP interface. See Avr8::activate() for more.
*/
virtual void activate() = 0;