Hi,
I use nRF51822 with softdevice.
How can i clear the RESETREAS register on boot/reason check ?
Use sd_power_reset_reason_clr() call.
Then you can just access the NRF_POWER->RESETREAS register directly.