* 0 - Success
*/
long swI2CInit(
- unsigned char i2cClkGPIO,
- unsigned char i2cDataGPIO
+ unsigned char i2cClkGPIO,
+ unsigned char i2cDataGPIO
);
/*
* Register value
*/
unsigned char swI2CReadReg(
- unsigned char deviceAddress,
- unsigned char registerIndex
+ unsigned char deviceAddress,
+ unsigned char registerIndex
);
/*
* -1 - Fail
*/
long swI2CWriteReg(
- unsigned char deviceAddress,
- unsigned char registerIndex,
- unsigned char data
+ unsigned char deviceAddress,
+ unsigned char registerIndex,
+ unsigned char data
);
/*