I2C API Error codes

Table 1. I2C API Error codes
Error Code Description Comment
0 Successful completion Function was completed successfully.
1 General error -
0x0006 0001 ERR_I2C_NAK -
0x0006 0002 ERR_I2C_BUFFER_OVERFLOW -
0x0006 0003 ERR_I2C_BYTE_COUNT_ERR -
0x0006 0004 ERR_I2C_LOSS_OF_ARBRITRATION -
0x0006 0005 ERR_I2C_SLAVE_NOT_ADDRESSED -
0x0006 0006 ERR_I2C_LOSS_OF_ARBRITRATION_NAK_BIT -
0x0006 0007 ERR_I2C_GENERAL_FAILURE Failure detected on I2C bus.
0x0006 0008 ERR_I2C_REGS_SET_TO_DEFAULT I2C clock frequency could not be set. Default value of 0x04 is loaded into SCLH and SCLL.

-->