Hi,
I am using nRF52840 S140 V7.0.1. I have few queries on GPIO configurations.
Below are my PULLUP/PULLDOWN macros.
As per my understanding
1) In below settings, pin is configured as PULLDOWN. So by default pin will be in low state. If there is change in pin from Low to High then only wake-up.
{FMD_WAKEUP_PIN, APP_BUTTON_ACTIVE_HIGH, BUTTON_PULLDOWN, button_event_handler}, // Pull-Down, Active High
2) In below settings, pin is configured as PULLDOWN. So by default pin will be in low state. If there is change in pin from High to Low then only wake-up.
{FMD_WAKEUP_PIN, APP_BUTTON_ACTIVE_LOW, BUTTON_PULLDOWN, button_event_handler}, // Pull-Down, Active Low
I could not find much explanation about Active High/Low in app_button_cfg_t structure. Correct me if I am wrong in my understanding.
Thanks & Regards
Vishnu Beema