Separate routine for fetching the current stack pointer

This commit is contained in:
Nav
2021-11-11 19:03:23 +00:00
parent 7409134314
commit cd0f2428ef
3 changed files with 22 additions and 0 deletions

View File

@@ -275,6 +275,13 @@ namespace Bloom::Targets
*/
virtual void setProgramCounter(std::uint32_t programCounter) = 0;
/**
* Should fetch the current stack pointer value.
*
* @return
*/
virtual std::uint32_t getStackPointer() = 0;
/**
* Should get the current pin states for each pin on the target, mapped by pin number
*