I2C_STATUS_* macros are general status codes returned by the I2C API
I2CCC32XX_STATUS_* macros are command codes only defined in the I2CCC32XX.h driver implementation and need to:
§ I2C_STATUS_SUCCESS
#define I2C_STATUS_SUCCESS (0) |
Successful status code returned by I2C API.
§ I2C_STATUS_ERROR
#define I2C_STATUS_ERROR (-1) |
Generic error status code returned by I2C API.
§ I2C_STATUS_TIMEOUT
#define I2C_STATUS_TIMEOUT (-2) |
Timeout status code returned by I2C API.
§ I2C_STATUS_UNDEFINEDCMD
#define I2C_STATUS_UNDEFINEDCMD (-2) |
An error status code returned by I2C_control() for undefined command codes.