09.08.2013 Views

MCP23008/MCP23S08 - Microchip

MCP23008/MCP23S08 - Microchip

MCP23008/MCP23S08 - Microchip

SHOW MORE
SHOW LESS

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.11 OUTPUT LATCH REGISTER (OLAT)<br />

The OLAT register provides access to the output<br />

latches. A read from this register results in a read of the<br />

OLAT and not the port itself. A write to this register<br />

modifies the output latches that modify the pins<br />

configured as outputs.<br />

REGISTER 1-11: OLAT – OUTPUT LATCH REGISTER 0 (ADDR 0x0A)<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 />

OL7 OL6 OL5 OL4 OL3 OL2 OL1 OL0<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 OL7:OL0: These bits reflect the logic level on the output latch <br />

1 = Logic-high.<br />

0 = Logic-low.<br />

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

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

Saved successfully!

Ooh no, something went wrong!