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

nRF52 GPIO usage

Hi.

I'm trying to figure out how to properly use GPIO pins, but so far I did not find a document explaining how to use GPIO with nrf included functions. I found bits and pieces of code which use GPIO but that is no documentation. How to set up GPIO port? How does GPIO work exactly? How do I address and write the entire GPIO port? Do I have to write to registers or are there functions for that? How are GPIO pins addressed for the nRF52832, is it just the pin number of port 0?

Related