Microchip Technology DM164130-7 Data Sheet

Page of 478
PIC16(L)F1946/47
DS41414D-page 154
 2010-2012 Microchip Technology Inc.
FIGURE 13-1:
INTERRUPT-ON-CHANGE BLOCK DIAGRAM
D
CK
R
Q
D
CK
R
Q
RBx
IOCBNx
IOCBPx
Q2
D
CK
S
Q
Q4Q1
data bus =
0 or 1
write IOCBFx
IOCIE
to data bus
IOCBFx
edge
detect
IOC interrupt
to CPU core
from all other 
IOCBFx individual 
pin detectors
Q1
Q2
Q3
Q4
Q4Q1
Q1
Q2
Q3
Q4
Q1
Q2
Q3
Q4
Q4
Q4Q1
Q4Q1
Q4Q1