I2C specific return codes.
|
#define | CYHAL_I2C_RSLT_ERR_INVALID_PIN (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_I2C, 0)) |
| The requested resource type is invalid.
|
|
#define | CYHAL_I2C_RSLT_ERR_CAN_NOT_REACH_DR (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_I2C, 1)) |
| Can not reach desired data rate.
|
|
#define | CYHAL_I2C_RSLT_ERR_INVALID_ADDRESS_SIZE (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_I2C, 2)) |
| Address size is not correct, should be 1 or two.
|
|
#define | CYHAL_I2C_RSLT_ERR_TX_RX_BUFFERS_ARE_EMPTY (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_I2C, 3)) |
| User buffer is empty (TX and RX). More...
|
|
#define | CYHAL_I2C_RSLT_ERR_PREVIOUS_ASYNCH_PENDING (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_I2C, 4)) |
| Previous Async operation is pending.
|
|
#define | CYHAL_I2C_RSLT_ERR_PM_CALLBACK (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_I2C, 5)) |
| Failed to register I2C pm callback.
|
|
#define | CYHAL_I2C_RSLT_ERR_ABORT_ASYNC_TIMEOUT (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_I2C, 6)) |
| cyhal_i2c_abort_async operation failed with timeout
|
|
◆ CYHAL_I2C_RSLT_ERR_TX_RX_BUFFERS_ARE_EMPTY
User buffer is empty (TX and RX).
Should be at least TX or RX or both buffers