I was making a basic test for GPIO ports (reading switches and turning on LEDs). After configuring PORTB (all pins) as input with internal pull-up and external interrupts disabled, PB7 seems to be always in '0'. After opening IAR-EW debugger, PB_DDR...