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.7 PULL-UP RESISTOR<br />

CONFIGURATION (GPPU)<br />

REGISTER<br />

The GPPU register controls the pull-up resistors for the<br />

port pins. If a bit is set and the corresponding pin is<br />

configured as an input, the corresponding port pin is<br />

internally pulled up with a 100 kΩ resistor.<br />

REGISTER 1-7: GPPU – GPIO PULL-UP RESISTOR REGISTER (ADDR 0x06)<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 />

PU7 PU6 PU5 PU4 PU3 PU2 PU1 PU0<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 PU7:PU0: These bits control the weak pull-up resistors on each pin (when configured as an input)<br />

.<br />

1 = Pull-up enabled.<br />

0 = Pull-up disabled.<br />

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

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

Saved successfully!

Ooh no, something went wrong!