30.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 30-8. Register Bit Attribute Legend
Symbol Description Symbol Description Symbol Description
R Readable bit HC Cleared by Hardware (Grey cell) Unimplemented
W Writable bit HS Set by Hardware X Bit is unknown at Reset
K Write to clear S Software 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
0 The Write/Erase sequence completed normally
1 The 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
0 No Reset and Voltage level OK during write/erase
1 A 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
0 No Security Violation Error
1 Security 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
0 No NVMOP Error
1 Selected 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
0 No Write Protection Error
1 Write 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
0 No Bus Error
1 Bus 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
0 No FIFO Error
1 FIFO 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
0 No CFG Error
1 CFG 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
0 No Key Error
1 Key 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
0 NVMOP Not Done
1 NVMOP Done