add i2c support
i2cm: send_byte should be static
i2cm: remove uneeded comment
i2cm: fix ACK reception in i2cm_send_byte
i2cm: fix configuration for this hardware
fix compilation errors due to undefined variables
i2csw: remove _NUM in function names
import code from Fabrice's repository