Datasheet

Table Of Contents
PIC16(L)F1526/7
DS41458C-page 86 2011-2013 Microchip Technology Inc.
REGISTER 7-9: PIR4: PERIPHERAL INTERRUPT REQUEST REGISTER 4
R/W-0/0 R/W-0/0 R-0/0 R-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0
CCP10IF CCP9IF RC2IF TX2IF CCP8IF CCP7IF BCL2IF SSP2IF
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
bit 7 CCP10IF: CCP10 Interrupt Flag bit
1 = Interrupt is pending
0 = Interrupt is not pending
bit 6 CCP9IF: CCP9 Interrupt Flag bit
1 = Interrupt is pending
0 = Interrupt is not pending
bit 5 RC2IF: USART2 Receive Interrupt Flag bit
1 = Interrupt is pending
0 = Interrupt is not pending
bit 4 TX2IF: USART2 Transmit Interrupt Flag bit
1 = Interrupt is pending
0 = Interrupt is not pending
bit 3 CCP8IF: CCP8 Interrupt Flag bit
1 = Interrupt is pending
0 = Interrupt is not pending
bit 2 CCP7IF: CCP7 Interrupt Flag bit
1 = Interrupt is pending
0 = Interrupt is not pending
bit 1 BCL2IF: MSSP2 Bus Collision Interrupt Flag bit
1 = Interrupt is pending
0 = Interrupt is not pending
bit 0 SSP2IF: Synchronous Serial Port (MSSP2) Interrupt Flag bit
1 = Interrupt is pending
0 = Interrupt is not pending
Note: Interrupt flag bits are set when an interrupt
condition occurs, regardless of the state of
its corresponding enable bit or the Global
Enable bit, GIE, of the INTCON register.
User software should ensure the
appropriate interrupt flag bits are clear prior
to enabling an interrupt.