Is there an example on how to set up the low-power detection to provide an interrupt to the CPU?
Is there an example on how to set up the low-power detection to provide an interrupt to the CPU?
What you are looking for is the Power-On-Failure peripheral, which gives you an indication when the voltage has gone under a given level. I'm attaching two example projects. One shows how to setup the power-on-failure without S110, and one that is a modified HRM main file that shows how this is done when S110 stack is enabled.
To clean things up, I'd be happy if you could evaluate the answer you have received and accept it if you feel it's sufficient. If not, it might be useful to expand your question a little and provide further information.
Thanks Håkon.