7.3.2.1.1 Status Bits
Program Flash memory has two status bits in the NVMCON register to check the status of the NVM operation initiated by the user: WRERR bit and URERR bit. These bits ensure that the programming sequence has completed successfully.