31.2.22.2 Reset and Low Voltage (BOR) Error (INTFLAG.RSTERR)

If a reset or BOR event occurs while an NVMOP command is underway, the FCW sets flags as per the Interrupt Flag Summary table and terminates the command. A BOR event is likely to cause a system reset, preventing an interrupt from occurring. However, the affected interrupt flags maintain state through a reset caused by a BOR event. Therefore, software can check the prior state of the FCW. The devices RCAUSE register can be checked to see if the error is from a general reset or from a BOR. However, if the system shows a POR occurred, software has no guaranteed way of knowing if a write/erase operation was underway at the time the POR occurred.