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 needs to 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: 0x4AE

Bit 76543210 
 IOCIFCANIFCLC1IFTU16AIFCSWIFOSFIFHLVDIFSWIF 
Access RRR/W/HSRR/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 – CANIF CAN Main Interrupt Flag

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 4 – TU16AIF Universal Timer 16A interrupt flag

ValueDescription
1 Interrupt has occurred
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 needs to 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.