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

SEVONPEND setting - how to?

If my way of thinking is not wrong, I have to set SEVONPEND flag to wake up cpu from sd_app_evt_wait on pended event. How to set this flag? I cannot find any function/macro to do this - I don't want to mess up other flags that are stored in that register.

I want my application to wake up (only wakeup, no execution of IRQ handler) when ADC finishes sampling.

Parents Reply
  • I see. I do not think that there will be any difference in the power consumption from using IRQ handler, but how would you identify that the system has woken up from only ADC events? With Softdevice, there will be tons of events waking up the system. if your system has even slight timing constraints then this way might disappoint you. I am curious to know your outcome. Please keep us posted.

Children
No Data
Related