Macros | |
#define | I2C_STATUS_SUCCESS (0) |
Successful status code returned by I2C_control(). More... | |
#define | I2C_STATUS_ERROR (-1) |
Generic error status code returned by I2C_control(). More... | |
#define | I2C_STATUS_UNDEFINEDCMD (-2) |
An error status code returned by I2C_control() for undefined command codes. More... | |
I2C_STATUS_* macros are general status codes returned by I2C_control()
I2CMSP432_STATUS_* macros are command codes only defined in the I2CMSP432.h driver implementation and need to:
#define I2C_STATUS_SUCCESS (0) |
Successful status code returned by I2C_control().
I2C_control() returns I2C_STATUS_SUCCESS if the control code was executed successfully.
#define I2C_STATUS_ERROR (-1) |
Generic error status code returned by I2C_control().
I2C_control() returns I2C_STATUS_ERROR if the control code was not executed successfully.
#define I2C_STATUS_UNDEFINEDCMD (-2) |
An error status code returned by I2C_control() for undefined command codes.
I2C_control() returns I2C_STATUS_UNDEFINEDCMD if the control code is not recognized by the driver implementation.