12.10.14 PIR5
Note:
- RC2IF is read-only. User software must read RC2REG to clear RC2IF.
- TX2IF is read-only. User software must load TX2REG to clear TX2IF. TX2IF does not indicate a completed transmission (use TMRT for this purpose instead).
- Interrupt flag bits are set when an Interrupt condition occurs, regardless of the state of its corresponding enable bit or the Global Enable (GIE) bit. User software may ensure the appropriate interrupt flag bits are cleared before enabling an interrupt.
Name: | PIR5 |
Offset: | 0x0091 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
CM2IF | CM1IF | BCL2IF | SSP2IF | BCL1IF | SSP1IF | RC2IF | TX2IF | ||
Access | R/W/HS | R/W/HS | R/W/HS | R/W/HS | R/W/HS | R/W/HS | R | R | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit 7 – CM2IF Comparator 2 Interrupt Flag
Value | Description |
---|---|
1 | Comparator 2 interrupt has occurred (must be cleared in software) |
0 | Comparator 2 interrupt event has not occurred |
Bit 6 – CM1IF Comparator 1 Interrupt Flag
Value | Description |
---|---|
1 | Comparator 2 interrupt has occurred (must be cleared in software) |
0 | Comparator 2 interrupt event has not occurred |
Bit 5 – BCL2IF MSSP2 Bus Collision Interrupt Flag
Value | Description |
---|---|
1 | An MSSP2 Bus Collision interrupt has occurred (must be cleared in software) |
0 | No MSSP2 Bus Collision event was detected |
Bit 4 – SSP2IF MSSP2 Interrupt Flag
Value | Description |
---|---|
1 | MSSP 2 interrupt has occurred (must be cleared in software) |
0 | MSSP2 interrupt event has not occurred |
Bit 3 – BCL1IF MSSP1 Bus Collision Interrupt Flag
Value | Description |
---|---|
1 | An MSSP1 Bus Collision was detected (must be cleared in software) |
0 | No MSSP1 Bus Collision event was detected |
Bit 2 – SSP1IF MSSP1 Interrupt Flag
Value | Description |
---|---|
1 | MSSP1 interrupt has occurred (must be cleared in software) |
0 | MSSP1 interrupt event has not occurred |
Bit 1 – RC2IF EUSART2 Receive Interrupt Flag(1)
Value | Description |
---|---|
1 | The EUSART2 receive buffer (RC2REG) is not empty (contains at least one byte) |
0 | The EUSART2 receive buffer is empty |
Bit 0 – TX2IF EUSART2 Transmit Interrupt Flag(2)
Value | Description |
---|---|
1 | The EUSART2 transmit buffer (TX2REG) is empty |
0 | The EUSART2 transmit buffer is not empty |