Insight GUI changes:

- New target pinout widgets
- Made auto-refresh of registers and GPIO pad states optional (via context menu on refresh tool button)
This commit is contained in:
Nav
2025-02-18 00:35:39 +00:00
parent e8f747a152
commit 8a473473db
75 changed files with 2927 additions and 2304 deletions

View File

@@ -15,24 +15,19 @@ namespace Targets
{
HIGH,
LOW,
UNKNOWN,
};
enum class DataDirection: std::uint8_t
{
INPUT,
OUTPUT,
UNKNOWN,
};
State value;
DataDirection direction;
TargetGpioPadState(
State value,
DataDirection direction
)
: value(value)
, direction(direction)
{}
bool disabled = false;
State value = State::UNKNOWN;
DataDirection direction = DataDirection::UNKNOWN;
bool operator == (const TargetGpioPadState& other) const {
return this->value == other.value && this->direction == other.direction;