31.5.6 Interrupt Flag REGISTER
- The interrupt flag bits of this register are set by hardware only.
- Interrupt flags must be cleared and then read back to confirm the clear before exiting the ISR to avoid double interrupts.
| 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: | 0x14 |
| Reset: | 0x00000000 |
| Property: | R/K |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| Access | |||||||||
| Reset |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| Access | |||||||||
| Reset |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| WRERR | RSTERR | HTDPGM | |||||||
| Access | R/K/HS | R/K/HS | R/K/HS | ||||||
| Reset | 0 | 0 | 0 |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| SECERR | OPERR | WPERR | BUSERR | FIFOERR | CFGERR | KEYERR | DONE | ||
| Access | R/K/HS | R/K/HS | R/K/HS | R/K/HS | R/K/HS | R/K/HS | R/K/HS | R/K/HS | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 13 – WRERR 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.
| Value | Name | Description |
|---|---|---|
| 1 | The Write/Erase sequence did not complete successfully | |
| 0 | The Write/Erase sequence completed normally |
Bit 12 – RSTERR 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.
| Value | Name | Description |
|---|---|---|
| 1 | A reset or Low Voltage Detected (possible data corruption, verify data) | |
| 0 | No Reset and Voltage level OK during write/erase |
Bit 8 – HTDPGM This status is only captured for Write/Erase operations. Note: While this bit and its associated interrupt enable bit are 1, the NVM interrupt remains asserted.
| Value | Name | Description |
|---|---|---|
| 1 | High Temp Detected (possible data corruption, verify operation) | |
| 0 | High Temp NOT Detected |
Bit 7 – SECERR 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.
| Value | Name | Description |
|---|---|---|
| 1 | Security Violation Error | |
| 0 | No Security Violation Error |
Bit 6 – OPERR 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.
| Value | Name | Description |
|---|---|---|
| 1 | Selected Operation is Disabled Error | |
| 0 | No NVMOP Error |
Bit 5 – WPERR 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.
| Value | Name | Description |
|---|---|---|
| 1 | Write Protection Error | |
| 0 | No Write Protection Error |
Bit 4 – BUSERR 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.
| Value | Name | Description |
|---|---|---|
| 1 | Bus Error | |
| 0 | No Bus Error |
Bit 3 – FIFOERR 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.
| Value | Name | Description |
|---|---|---|
| 1 | FIFO Error | |
| 0 | No FIFO Error |
Bit 2 – CFGERR 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.
| Value | Name | Description |
|---|---|---|
| 1 | CFC Error | |
| 0 | No CFG Error |
Bit 1 – KEYERR 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.
| Value | Name | Description |
|---|---|---|
| 1 | Key Error | |
| 0 | No Key Error |
Bit 0 – 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.
| Value | Name | Description |
|---|---|---|
| 1 | NVMOP Done | |
| 0 | NVMOP Not Done |
