MCP23008/MCP23S08 - Microchip
MCP23008/MCP23S08 - Microchip
MCP23008/MCP23S08 - Microchip
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>MCP23008</strong>/<strong>MCP23S08</strong><br />
1.6.9 INTERRUPT CAPTURE (INTCAP)<br />
REGISTER<br />
The INTCAP register captures the GPIO port value at<br />
the time the interrupt occurred. The register is ‘readonly’<br />
and is updated only when an interrupt occurs. The<br />
register will remain unchanged until the interrupt is<br />
cleared via a read of INTCAP or GPIO.<br />
REGISTER 1-9: INTCAP – INTERRUPT CAPTURED VALUE FOR PORT REGISTER (ADDR 0x08)<br />
R-x R-x R-x R-x R-x R-x R-x R-x<br />
ICP7 ICP6 ICP5 ICP4 ICP3 ICP2 ICP1 ICP0<br />
bit 7 bit 0<br />
Legend:<br />
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’<br />
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown<br />
bit 7-0 ICP7:ICP0: These bits reflect the logic level on the port pins at the time of interrupt due to pin change<br />
<br />
1 = Logic-high.<br />
0 = Logic-low.<br />
DS21919E-page 18 © 2007 <strong>Microchip</strong> Technology Inc.