MCP23008/MCP23S08
1.6.9
INTERRUPT CAPTURE (INTCAP)
REGISTER
The INTCAP register captures the GPIO port value at
the time the interrupt occurred. The register is ‘read-
only’ and is updated only when an interrupt occurs. The
register will remain unchanged until the interrupt is
cleared via a read of INTCAP or GPIO.
REGISTER 1-9:
INTCAP – INTERRUPT CAPTURED VALUE FOR PORT REGISTER
(ADDR 0x08)
R-x
R-x
R-x
R-x
R-x
R-x
R-x
ICP7
ICP6
ICP5
ICP4
ICP3
ICP2
ICP1
bit 7
R-x
ICP0
bit 0
bit 7-0
ICP7:ICP0: These bits reflect the logic level on the port pins at the time of interrupt due to pin
change <7:0>.
1 = Logic-high.
0 = Logic-low.
Legend:
R = Readable bit
- n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared x = Bit is unknown
DS21919B-page 16
© 2005 Microchip Technology Inc.