Hello,
I am trying to clear reset reason when it wake-up by GPIO.
In line 163, I set RESETREAS to 0
In line 164, RESETREAS is read again.
I expect 0. But It still 0x00010004.
How could I reset register?
Hello,
I am trying to clear reset reason when it wake-up by GPIO.
In line 163, I set RESETREAS to 0
In line 164, RESETREAS is read again.
I expect 0. But It still 0x00010004.
How could I reset register?
Hi,
This register is cleared by writing '1' to the specific bits that are set:
https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=4_0_0_4_2_6_10#register.RESETREAS
Kind regards,
Håkon
Hi,
This register is cleared by writing '1' to the specific bits that are set:
https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=4_0_0_4_2_6_10#register.RESETREAS
Kind regards,
Håkon