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

NVIC_SystemReset() or sd_nvic_SystemReset()?

Dear Developer Zone,

I am using nRF51822 with softdevice.

Small question about device reset : To reset the chip, do I need to do NVIC_SystemReset() or sd_nvic_SystemReset()?

Because in the examples, in the app_error_handler function, the NVIC_SystemReset() is used. But as I am using the SoftDevice, I seems to make more sense to use sd_nvic_SystemReset() isn't it?

Is there any differences between this two functions?

Best regards

Related