nrf52832 system off/ low-power mode and wakeup by gpio detecc

Hello,

I am using a nRF52832 and I need to put it in low power mode with the minimum current consumption when the customer pushes the switch-off button.

I have found interesting the next case for this

https://devzone.nordicsemi.com/f/nordic-q-a/36475/nrf52832-go-system-off-low-power-mode-and-wakeup-by-gpio/140687

However, I still don't see how to specifically program the two GPIO pins I need to wake-up the system. I am using the nRF5_SDK_17.1.0 and the SES IDE environment. Do you know of any example for nRF5_SDK_17.1.0 that could better show how to program the DETECT wake-up of specific pins? Perhaps there are some examples on how to setup these pins and excuse me I have not found them. 

Thank you very much in advance.

Regards,

Joel

Parents Reply Children
Related