Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Long Push Wakeup functionality with bsp_wakeup_btn_config?

Is it possible to implement a wakeup/power-on-long-push?

Working with the pwr_mgmt example from SDK 17, I see how bsp_wakeup_btn_config works to enable a BUTTON_ACTIVE_STATE sensed by the registered bsp_button. But I'm unsure how I might modify this to configure the sensed wakeup action as a long push. Or should I be looking elsewhere? Topics are a bit scattered on here it seems, so I was hoping there was a more efficient way of implementing this without setting up another timer and ppi channel.

Much appreciated! Thanks in advance!

Sam

Related