xcore/sc_i2c — pull request #14 by sivaxmos (2012-01-03 13:44:09+00:00)
Title: sc_i2c bugfix

File: i2c-mmt.xc
Device address shifted to the right to match with protocol

File:i2c.xc
Device address shifted to the right to match with protocol

File: i2c_slave.xc
Fixed partial last bit error in i2c_slave_tx function. Removed unwanted while(1) loop.
Fixed array overflow in i2c_slave_rx caused because data_len function is not initialised.