11.13.23 PIR0

Peripheral Interrupt Request Register 0
Note:
  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 will ensure the appropriate interrupt flag bits are clear prior to enabling an interrupt.
  2. IOCIF is a read-only bit. To clear the interrupt condition, all bits in the IOCxF registers must be cleared.
  3. The CSWIF interrupt will not wake the system from Sleep mode. The system will sleep until another interrupt causes the wake-up.
Name: PIR0
Address: 0x4AE

Bit 76543210 
 IOCIF CLC1IF CSWIFOSFIFHLVDIFSWIF 
Access RR/W/HSR/W/HSR/W/HSR/W/HSR/W 
Reset 000000 

Bit 7 – IOCIF  Interrupt-on-Change Interrupt Flag (2)

ValueDescription
1 Interrupt has occurred
0 Interrupt event has not occurred

Bit 5 – CLC1IF CLC1 Interrupt Flag

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

Bit 3 – CSWIF  Clock Switch Interrupt Flag(3)

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

Bit 2 – OSFIF Oscillator Failure Interrupt Flag

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

Bit 1 – HLVDIF High/Low-Voltage Detect Interrupt Flag

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

Bit 0 – SWIF Software Interrupt Flag

ValueDescription
1 Interrupt will trigger (bit is set and cleared by user software)
0 Interrupt event has not occurred
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 will ensure the appropriate interrupt flag bits are clear prior to enabling an interrupt. IOCIF is a read-only bit. To clear the interrupt condition, all bits in the IOCxF registers must be cleared. The CSWIF interrupt will not wake the system from Sleep mode. The system will sleep until another interrupt causes the wake-up.