33.5.5 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 33-15. 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: 0x14
Reset: 0x00000000
Property: R/K

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
   WRERRRSTERR     
Access R/K/HSR/K/HS 
Reset 00 
Bit 76543210 
 SECERROPERRWPERRBUSERRFIFOERRCFGERRKEYERRDONE 
Access R/K/HSR/K/HSR/K/HSR/K/HSR/K/HSR/K/HSR/K/HSR/K/HS 
Reset 00000000 

Bit 13 – WRERR Write/Erase Error

Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.

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

Writing a 1 to this bit will set the interrupt pending.

ValueDescription
1The Write/Erase sequence did not complete successfully
0The Write/Erase sequence completed normally

Bit 12 – RSTERR Reset Error

The error is only captured during Write/Erase operations.
Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.

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

Writing a 1 to this bit will set the interrupt pending.

ValueDescription
1A reset or Low Voltage Detected (possible data corruption, verify data)
0No Reset and Voltage level OK during write/erase

Bit 7 – SECERR Security Violation Error

Attempted operation violates security configuration.
Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.

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

Writing a 1 to this bit will set the interrupt pending.

ValueDescription
1Security Violation Error
0No Security Violation Error

Bit 6 – OPERR NVMOP Error

Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.

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

Writing a 1 to this bit will set the interrupt pending.

ValueDescription
1Selected Operation is Disabled Error
0No NVMOP Error

Bit 5 – WPERR Write Protect Error

Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.

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

Writing a 1 to this bit will set the interrupt pending.

ValueDescription
1Write Protection Error
0No Write Protection Error

Bit 4 – BUSERR Bus Error

Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.

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

Writing a 1 to this bit will set the interrupt pending.

ValueDescription
1Bus Error
0No Bus Error

Bit 3 – FIFOERR FIFO Error

Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.

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

Writing a 1 to this bit will set the interrupt pending.

ValueDescription
1FIFO Error
0No FIFO Error

Bit 2 – CFGERR Configuration Error

Attempted Write/Erase when disallowed by a configuration setting.
Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.

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

Writing a 1 to this bit will set the interrupt pending.

ValueDescription
1CFC Error
0No CFG Error

Bit 1 – KEYERR Key Error

Attempted to write to an SFR bit without first enabling it via KEY.
Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.

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

Writing a 1 to this bit will set the interrupt pending.

ValueDescription
1Key Error
0No Key Error

Bit 0 – DONE Done

When NVMOP completes the FSM clears BUSY and sets Done.
Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.

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

Writing a 1 to this bit will set the interrupt pending.

ValueDescription
1NVMOP Done
0NVMOP Not Done