I have noticed that the RESETREAS register does not accumulate flags even though the documentation says it should. "Unless cleared, the RESETREAS register will be cumulative."
https://docs.nordicsemi.com/bundle/ps_nrf5340/page/chapters/reset/doc/reset.html#d660e1219
If a reset occurs from the Reset pin, the register shows 1(integer).
If then a reset via AIRCR.SYSRESETREQ occurs, then the register still shows 1(integer).
The other way around (with the RESETREAS register cleared of course), if a reset occurs via AIRCR.SYSRESETREQ, the register shows 8(integer).
But, then if a reset pin reset occurs straight after, the register shows 1(integer).
Is this error in the documentation, fault with the hardware, or have I missed something?
Thanks in advance