Hello,
I have SDK v15 and there is not much information in infocenter also about these two functions related to my doubt.
( NRF_PWR_MGMT_SHUTDOWN_GOTO_SYSOFF & nrf_pwr_mgmt_run).
What is difference between shutdown and system off?
What does nrf_pwr_mgmt_run do? How it is different from nrf_pwr_mgmt_init?
I have these functions called in main()
timers_init();
leds_init();
power_management_init();
ble_stack_init();
for (;; )
{
idle_state_handle(); //here in this function, there is nrf_pwr_mgmt_run()
}
Now if I add nrf_pwr_mgmt_shutdown(NRF_PWR_MGMT_SHUTDOWN_GOTO_SYSOFF ) and then I again write nrf_pwr_mgmt_run(), Will all commands(like leds init() , ble_stackinit()) will run again as they were running or Do I have to write/initiate them again?