Overview

Driver for an NXP PCF8575 16-bit port expander.

The PCF8575 is a 16-bit port expander where each of the bits can function as either an input or an output.

The PCF8575 is functionally identical to the PC8575, PCF8575C, PCF8574, PCA9535, PCA9555, and probably many others.

Resources

All correct at time of writing, but as always, manufacturers love to move things around on their website.

Web page

http://www.nxp.com/products/interface_and_connectivity/i2c/i2c_general_purpose_i_o/series/PCA8575.html

Datasheet

http://www.nxp.com/documents/data_sheet/PCF8575.pdf

Test hardware

This code has been tested using a SolderCore controlling a SenseCore.

http://www.soldercore.com/

API Summary

Constants
PCF8575_I2C_ADDR 8-bit I2C address for PCF8575
Functions
pcf8575_initialize_i2c Initialize bus expander on I2C bus