09.08.2013 Views

MCP23008/MCP23S08 - Microchip

MCP23008/MCP23S08 - Microchip

MCP23008/MCP23S08 - Microchip

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1.6.10 PORT (GPIO) REGISTER<br />

The GPIO register reflects the value on the port.<br />

Reading from this register reads the port. Writing to this<br />

register modifies the Output Latch (OLAT) register.<br />

<strong>MCP23008</strong>/<strong>MCP23S08</strong><br />

REGISTER 1-10: GPIO – GENERAL PURPOSE I/O PORT REGISTER (ADDR 0x09)<br />

R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0<br />

GP7 GP6 GP5 GP4 GP3 GP2 GP1 GP0<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 GP7:GP0: These bits reflect the logic level on the pins <br />

1 = Logic-high.<br />

0 = Logic-low.<br />

© 2007 <strong>Microchip</strong> Technology Inc. DS21919E-page 19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!