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

@@ -602,10 +602,10 @@ namespace Targets::Microchip::Avr8
output.emplace_back(
*padDescriptor,
TargetGpioPadState{
(readGpioReg(stateRegisterDescriptor) & gpioPadDescriptor.registerMask) != 0
.value = (readGpioReg(stateRegisterDescriptor) & gpioPadDescriptor.registerMask) != 0
? TargetGpioPadState::State::HIGH
: TargetGpioPadState::State::LOW,
ddrValue
.direction = ddrValue
}
);
}