MCP23018/MCP23S18
1.6.11
OUTPUT LATCH REGISTER (OLAT)
The OLAT register provides access to the output
latches. A read from this register results in a read of the
OLAT and not the port itself. A write to this register
modifies the output latches that modifies the pins
configured as outputs.
REGISTER 1-13: OLAT – OUTPUT LATCH REGISTER 0
R/W-0
OL7
R/W-0
OL6
R/W-0
OL5
R/W-0
OL4
R/W-0
OL3
R/W-0
OL2
R/W-0
OL1
R/W-0
OL0
bit 7
bit 0
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
bit 7-0
OL7:OL0: Reflects the logic level on the output latch <7:0>.
1= Logic-high.
0= Logic-low.
© 2008 Microchip Technology Inc.
DS22103A-page 29