English
Language : 

PIC16LF1526 Datasheet, PDF (142/354 Pages) Microchip Technology – 64-Pin Flash Microcontrollers with nanoWatt XLP Technology
PIC16(L)F1526/27
FIGURE 13-1:
INTERRUPT-ON-CHANGE BLOCK DIAGRAM
IOCBNx
D
Q
Q4Q1
CK
R
edge
detect
IOCBPx
Q2
D
Q
CK
R
data bus =
0 or 1
write IOCBFx
DS Q
CK
to data bus
IOCBFx
IOCIE
from all other
IOCBFx individual
pin detectors
Q1
Q1
Q1
Q2
Q2
Q2
Q3
Q3
Q3
Q4 Q4
Q4
Q4
Q4Q1
Q4Q1
Q4Q1
Q4Q1
13.6 Interrupt-On-Change Registers
REGISTER 13-1: IOCBP: INTERRUPT-ON-CHANGE PORTB POSITIVE EDGE REGISTER
R/W-0/0
IOCBP7
bit 7
R/W-0/0
IOCBP6
R/W-0/0
IOCBP5
R/W-0/0
IOCBP4
R/W-0/0
IOCBP3
R/W-0/0
IOCBP2
R/W-0/0
IOCBP1
R/W-0/0
IOCBP0
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-0
IOCBP<7:0>: Interrupt-on-Change PORTB Positive Edge Enable bits
1 = Interrupt-on-Change enabled on the pin for a positive going edge. Associated Status bit and interrupt
flag will be set upon detecting an edge.
0 = Interrupt-on-Change disabled for the associated pin
DS41458A-page 142
Preliminary
 2011 Microchip Technology Inc.