40.7.13 Interrupt Flag Status and Clear

Note: Interrupt flags must be cleared and then read back to confirm they are cleared before exiting the ISR to avoid double interrupts.
Table 40-22. 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: 0x2C
Reset: 0x00000000
Property: RW

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
 MC[7:0] 
Access  
Reset 00000000 
Bit 15141312111098 
 FAULT1FAULT0FAULTBFAULTADFSUFS   
Access  
Reset 000000 
Bit 76543210 
     ERRCNTTRGOVF 
Access  
Reset 0000 

Bits 23:16 – MC[7:0] Match or Capture x

Bit 15 – FAULT1 Non-Recoverable Fault 1

This flag is set and resynchronized on the APB clock after a Non-Recoverable Fault 1 occurs.

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

Writing a '1' to this bit clears the Non-Recoverable Fault 1 interrupt flag.

Bit 14 – FAULT0 Non-Recoverable Fault 0

This flag is set and resynchronized on the APB clock after a Non-Recoverable Fault 0 occurs.

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

Writing a '1' to this bit clears the Non-Recoverable Fault 0 interrupt flag.

ValueDescription
0The Non-Recoverable Fault y interrupt is disabled.
1The Non-Recoverable Fault y interrupt is enabled.

Bit 13 – FAULTB Recoverable Fault B

This flag is set and resynchronized on the APB clock after a Recoverable Fault B occurs.

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

Writing a '1' to this bit clears the Recoverable Fault B interrupt flag.

Bit 12 – FAULTA Recoverable Fault A

This flag is set and resynchronized on the APB clock after a Recoverable Fault B occurs.

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

Writing a '1' to this bit clears the Recoverable Fault B interrupt flag.

Bit 11 – DFS Non-Recoverable Debug Fault

This flag is set and resynchronized on the APB clock after an Debug Fault State occurs.

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

Writing a '1' to this bit clears the Debug Fault State interrupt flag.

Bit 10 – UFS Non-Recoverable Update Fault

This flag is set when the Ramp index changes and the Lock Update bit is set (CTRLBSET.LUPD(CTRLBSET<1>)).

Writing a zero to this bit has no effect.

Writing a one to this bit clears the Non-Recoverable Update Fault interrupt flag.

Note: This bit is only available on variant L devices. Refer to the Configuration Summary for more information.

Bit 3 – ERR Error

This flag is set if a new capture occurs on a channel when the corresponding Match or Capture Channel y interrupt flag is one. In which case there is nowhere to store the new capture.

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

Writing a '1' to this bit clears the error interrupt flag.

Bit 2 – CNT Counter

This flag is set and resynchronized on the APB clock after a counter event occurs.

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

Writing a '1' to this bit clears the CNT interrupt flag.

Bit 1 – TRG Retrigger

This flag is set and resynchronized on the APB clock after a counter retrigger occurs.

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

Writing a '1' to this bit clears the re-trigger interrupt flag.

Bit 0 – OVF Overflow

This flag is set and resynchronized on the APB clock after an overflow condition occurs.

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

Writing a '1' to this bit clears the Overflow interrupt flag.