31.2.23.5 NVM Interrupt Flag Register

Note:
  1. The interrupt flag bits of this register are set by hardware only.
  2. Interrupt flags must be cleared and then read back to confirm the clear before exiting the ISR to avoid double interrupts.
Table 31-8. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: INTFLAG
Offset: 0x0014
Reset: 0x00000000
Property: PAC Write-Protection

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
   WRERRRSTERR     
Access R/WR/W 
Reset 00 
Bit 76543210 
 SECERROPERRWPERRBUSERRFIFOERRCFGERRKEYERRDONE 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bit 13 – WRERR Write Error Flag Bit

Writing a '0' to this bit has no effect.

Writing a 1 to this bit will clear the flag.

Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.
Note: This field can only be modified when STATUS.BUSY=0.
ValueDescription
0The Write/Erase sequence completed normally
1The Write/Erase sequence did not complete successfully

Bit 12 – RSTERR Reset or Brown Out Detect Error Flag Bit

The error is only captured during Write/Erase operations. Check the system RCAUSE register to see if this error was caused by a BOR event.

Writing a '0' to this bit has no effect.

Writing a 1 to this bit will clear the flag.

Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.
Note: This field can only be modified when STATUS.BUSY=0.
ValueDescription
0No Reset and Voltage level OK during write/erase
1A reset or Low Voltage Detected (possible data corruption, verify data)

Bit 7 – SECERR Security Violation Error Bit

Attempted operation violates security configuration.

Writing a '0' to this bit has no effect.

Writing a 1 to this bit will clear the flag.

Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.
Note: This field can only be modified when STATUS.BUSY=0.
ValueDescription
0No Security Violation Error
1Security Violation Error

Bit 6 – OPERR NVMOP Error Flag Bit

Writing a '0' to this bit has no effect.

Writing a 1 to this bit will clear the flag.

Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.
Note: This field can only be modified when STATUS.BUSY=0.
ValueDescription
0No NVMOP Error
1Selected Operation is Disabled Error

Bit 5 – WPERR Write Protection Error Flag Bit

Writing a '0' to this bit has no effect.

Writing a 1 to this bit will clear the flag.

Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.
Note: This field can only be modified when STATUS.BUSY=0.
ValueDescription
0No Write Protection Error
1Write Protection Error

Bit 4 – BUSERR AHB Bus Error During Row Write Flag Bit

Writing a '0' to this bit has no effect.

Writing a 1 to this bit will clear the flag.

Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.
Note: This field can only be modified when STATUS.BUSY=0.
ValueDescription
0No Bus Error
1Bus Error

Bit 3 – FIFOERR FIFO Underrun During Row Write Flag Bit

Writing a '0' to this bit has no effect.

Writing a 1 to this bit will clear the flag.

Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.
Note: This field can only be modified when STATUS.BUSY=0.
ValueDescription
0No FIFO Error
1FIFO Error

Bit 2 – CFGERR Configuration Error Flag Bit

Attempted Write/Erase when disallowed by a configuration setting.

Writing a '0' to this bit has no effect.

Writing a 1 to this bit will clear the flag.

Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.
Note: This field can only be modified when STATUS.BUSY=0.
ValueDescription
0No CFG Error
1CFG Error

Bit 1 – KEYERR Key Error Flag Bit

Attempted to write to an SFR bit without first enabling it via KEY.

Writing a '0' to this bit has no effect.

Writing a 1 to this bit will clear the flag.

Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.
Note: This field can only be modified when STATUS.BUSY=0.
ValueDescription
0No Key Error
1Key Error

Bit 0 – DONE NVM Operation Done Flag Bit

When NVMOP completes the FSM clears BUSY and sets Done.

Writing a '0' to this bit has no effect.

Writing a 1 to this bit will clear the flag.

Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.
Note: This field can only be modified when STATUS.BUSY=0.
ValueDescription
0NVMOP Not Done
1NVMOP Done