Introduced concept of programming mode

This commit is contained in:
Nav
2022-06-05 16:13:43 +01:00
parent accea6a08c
commit cfe533e5db
11 changed files with 172 additions and 0 deletions

View File

@@ -183,6 +183,20 @@ namespace Bloom::TargetController
*/
void resetTarget();
/**
* Enables programming mode on the target.
*
* From the point of invoking this function, the TargetController will reject any subsequent commands for
* debug operations (such as ResumeTargetExecution, ReadTargetRegisters, etc), until programming mode has
* been disabled.
*/
void enableProgrammingMode();
/**
* Disables programming mode on the target.
*/
void disableProgrammingMode();
private:
CommandManager commandManager = CommandManager();