Macros | |
#define | I2CSLAVE_STATUS_SUCCESS (0) |
Successful status code returned by I2CSlave_control(). More... | |
#define | I2CSLAVE_STATUS_ERROR (-1) |
Generic error status code returned by I2CSlave_control(). More... | |
#define | I2CSLAVE_STATUS_UNDEFINEDCMD (-2) |
An error status code returned by I2CSlave_control() for undefined command codes. More... | |
I2CSLAVE_STATUS_SUCCESS_* macros are general status codes returned by I2CSlave_control()
I2CSLAVEMSP432_STATUS_* macros are command codes only defined in the I2CSlaveMSP432.h driver implementation and need to:
#define I2CSLAVE_STATUS_SUCCESS (0) |
Successful status code returned by I2CSlave_control().
I2CSlave_control() returns I2CSLAVE_STATUS_SUCCESS if the control code was executed successfully.
#define I2CSLAVE_STATUS_ERROR (-1) |
Generic error status code returned by I2CSlave_control().
I2CSlave_control() returns I2CSLAVE_STATUS_ERROR if the control code was not executed successfully.
#define I2CSLAVE_STATUS_UNDEFINEDCMD (-2) |
An error status code returned by I2CSlave_control() for undefined command codes.
I2CSlave_control() returns I2CSLAVE_STATUS_UNDEFINEDCMD if the control code is not recognized by the driver implementation.