This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to check the initial configuration of pin used as GPIO/GPIOTE?

Hi, is it possible to check the current configuration of a GPIO pin? I mean if the pin is currently configured as input or output. Next I need to uninitialize it and reinitialize in the opposite configuration. Can someone help me?

Related