Hi xiangjun.rong !
Thank you for good answer !
I can see DIR loze state for sure, but SET is looks like in place. ( IOCON remains as well.)
+Port0 DIR - 0x0, PIN - 0x6000107C, SET - 0x0, CLR - 0x0
+Port1 DIR - 0xD0, PIN - 0x402D0, SET - 0x2104, CLR - 0x0 // 3 LEDS on EVK is configured as output
----
-Port0 DIR - 0x0, PIN - 0x6000107C, SET - 0x0, CLR - 0x0
-Port1 DIR - 0x0, PIN - 0x2D0, SET - 0x2104, CLR - 0x0
Do you think I can restore DIR only or SET must be returned back as well ?
Why this issue is not so clear from UM ?
From there we can impression that GPIO belong to domain what is retained .
Regards,
Eugene