This example shows a simple GPIO driver for seamless handling of the GPIO and GPIOTE peripherals of the nRF52 series. This example is particularly intended for developers who wish to develop their own driver. The code is available on GitHub at the following URL: https://github.com/NordicSemiconductor/nrf52-drv-gpio-example.
The figure below points out the important Keil GUI buttons for running this example.
Follow these steps to run the example:
Select the debugger settings by pressing the Project Settings button followed by pressing the Settings button in the debug tab.
Press the LOAD button to program the board.
There is a description of each example placed as a comment in the drv_gpio_example.c source file before the particular example.