PIR1

Peripheral Interrupt Request Register 1
Note:
  1. 1. Interrupt flag bits get set when an interrupt condition occurs, regardless of the state of its corresponding enable bit, or the global enable bit. User software should ensure the appropriate interrupt flag bits are clear prior to enabling an interrupt.
  2. 2.The external interrupt GPIO pin is selected by the INTxPPS register.
Name:
PIR1
Address:
0x4AF
Reset:
Access:
Bit76543210
SMT1PWAIFSMT1PRAIFSMT1IFCM1IFACTIFADIFZCDIFINT0IF
AccessR/W/HSR/W/HSR/W/HSR/W/HSR/W/HSR/W/HSR/W/HSR/W/HS
Reset00000000

Bit 7 – SMT1PWAIF: SMT1 Pulse-Width Acquisition Interrupt Flag

SMT1 Pulse-Width Acquisition Interrupt Flag

ValueDescription
1 Interrupt has occurred (must be cleared by software)
0 Interrupt event has not occurred

Bit 6 – SMT1PRAIF: SMT1 Period Acquisition Interrupt Flag

SMT1 Period Acquisition Interrupt Flag

ValueDescription
1 Interrupt has occurred (must be cleared by software)
0 Interrupt event has not occurred

Bit 5 – SMT1IF: SMT1 Interrupt Flag

SMT1 Interrupt Flag

ValueDescription
1 Interrupt has occurred (must be cleared by software)
0 Interrupt event has not occurred

Bit 4 – CM1IF: CMP1 Interrupt Flag

CMP1 Interrupt Flag

ValueDescription
1 Interrupt has occurred (must be cleared by software)
0 Interrupt event has not occurred

Bit 3 – ACTIF: Active Clock Tuning Interrupt Flag

Active Clock Tuning Interrupt Flag

ValueDescription
1 Interrupt has occurred (must be cleared by software)
0 Interrupt event has not occurred

Bit 2 – ADIF: ADC Interrupt Flag

ADC Interrupt Flag

ValueDescription
1 Interrupt has occurred (must be cleared by software)
0 Interrupt event has not occurred

Bit 1 – ZCDIF: ZCD Interrupt Flag

ZCD Interrupt Flag

ValueDescription
1 Interrupt has occurred (must be cleared by software)
0 Interrupt event has not occurred

Bit 0 – INT0IF: External Interrupt 0 Interrupt Flag(2)

External Interrupt 0 Interrupt Flag(2)

ValueDescription
1 Interrupt has occurred (must be cleared by software)
0 Interrupt event has not occurred