I need to write an application that is mostly in sleep (not OFF) mode, waking once a second or so, and occasionally discovering that it has to do things. Without the softdevice, this is easy...I set up RTC1 to interrupt once a second an in the handler I determine whether or not I'm needed. But when I link with the softdevice it tells me that RTC1_IRQHandler is multiply defined, so I assume the softdevice is using it.
I can't use the SD's power_off() function, because that goes into OFF mode. I'm aware that sd_app_evt_wait() is supposed to sleep until some SD function is needed, but I need some way to tell the softdevice that I want it to turn everything off except the timer. No radio or BLE stack, just run the single once-a-second timer that may at some point call you to turn things back on. So what's the function to do that? Is that what softdevice_handler_sd_disable() does? Or does it turn off the timers as well? How do I tell the softdevice "turn off everything, except one timer, which might tell you to turn things back on later"?