Macros
Collaboration diagram for Status Codes:

Macros

#define I2C_STATUS_SUCCESS   (0)
 Successful status code returned by I2C API. More...
 
#define I2C_STATUS_ERROR   (-1)
 Generic error status code returned by I2C API. More...
 
#define I2C_STATUS_TIMEOUT   (-2)
 Timeout status code returned by I2C API. More...
 
#define I2C_STATUS_UNDEFINEDCMD   (-2)
 An error status code returned by I2C_control() for undefined command codes. More...
 

Detailed Description

I2C_STATUS_* macros are general status codes returned by the I2C API

I2CMSP432_STATUS_* macros are command codes only defined in the I2CMSP432.h driver implementation and need to:

Macro Definition Documentation

§ 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.

© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale