Foreign function declarations for i2c completed