I am trying to setup external interrupt on my target hw. I successfully configured PORTE pin28 interrupt. However when I tried to do the same on PORTA same pin number. MCU is reseting. This specifically happens when I try to set a value in PORTA->DFER .
Any help is appreciated.