11.13.18 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 must 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. The system will sleep until another interrupt causes the wake-up.
Name: PIR0
Address: 0x4B3

Bit 76543210 
 IOCIFCRCIFCLC1IFNVMIFCSWIFOSFIFHLVDIFSWIF 
Access RR/W/HSR/W/HSR/W/HSR/W/HSR/W/HSR/W/HSR/W 
Reset 00000000 

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

ValueDescription
1 Interrupt has occurred
0 Interrupt event has not occurred

Bit 6 – CRCIF CRC Interrupt Flag

ValueDescription
1 Interrupt has occurred (must be cleared by software)
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 4 – NVMIF NVM 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 must 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. The system will sleep until another interrupt causes the wake-up.