PSOC E8XXGP Device Support Library

| PSOC E8XXGP Device Support Library

Macros
I2C HAL Results
HAL API Reference » HAL Drivers » I2C (Inter-Integrated Circuit) | HAL API Reference » HAL General Types/Macros » General Types » Result Codes

## General Description

I2C specific return codes.

## Macros
#define | MTB_HAL_I2C_RSLT_ERR_CAN_NOT_REACH_DR (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, MTB_HAL_RSLT_MODULE_I2C, 0))
| Can not reach desired data rate.
#define | MTB_HAL_I2C_RSLT_ERR_BAD_ARGUMENT (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, MTB_HAL_RSLT_MODULE_I2C, 1))
| Bad argument provided.
#define | MTB_HAL_I2C_RSLT_ERR_UNSUPPORTED (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, MTB_HAL_RSLT_MODULE_I2C, 2))
| Unsupported by this device.
#define | MTB_HAL_I2C_RSLT_ERR_BUFFERS_NULL_PTR (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, MTB_HAL_RSLT_MODULE_I2C, 3))
| RX or TX Buffer is not initialized.
#define | MTB_HAL_I2C_RSLT_WARN_TIMEOUT (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_WARNING, CY_RSLT_MODULE_ABSTRACTION_HAL, MTB_HAL_RSLT_MODULE_I2C, 20))
| Timeout warning.
#define | MTB_HAL_I2C_RSLT_WARN_DEVICE_BUSY (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_WARNING, CY_RSLT_MODULE_ABSTRACTION_HAL, MTB_HAL_RSLT_MODULE_I2C, 21))
| Other operation in progress.