TMPM4G9  V1.0.0.0

I2C Error definitions. More...

Macros

#define I2C_ERROR_NO_ERROR   (0)
 
#define I2C_ERROR_NO_SLAVE   (-1)
 
#define I2C_ERROR_BUS_BUSY   (-2)
 
#define I2C_ERROR_PARAM   (-3)
 
#define I2C_ERROR_OTHERS   (-4)
 
#define I2C_ERROR_ARBITRATION   (-5)
 

Detailed Description

I2C Error definitions.

Macro Definition Documentation

§ I2C_ERROR_ARBITRATION

#define I2C_ERROR_ARBITRATION   (-5)

Arbitration Error.

§ I2C_ERROR_BUS_BUSY

#define I2C_ERROR_BUS_BUSY   (-2)

Bus Busy Error.(now, not support)

§ I2C_ERROR_NO_ERROR

#define I2C_ERROR_NO_ERROR   (0)

No Error.

§ I2C_ERROR_NO_SLAVE

#define I2C_ERROR_NO_SLAVE   (-1)

No Slave Error.

§ I2C_ERROR_OTHERS

#define I2C_ERROR_OTHERS   (-4)

Others Error.

§ I2C_ERROR_PARAM

#define I2C_ERROR_PARAM   (-3)

Parameter Error.