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
|
|
#define | CYHAL_I2C_RSLT_ERR_BAD_ARGUMENT (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_I2C, 7)) |
| Bad argument provided.
|
|
#define | CYHAL_I2C_RSLT_ERR_UNSUPPORTED (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_I2C, 8)) |
| Unsupported by this device.
|
|
#define | CYHAL_I2C_RSLT_ERR_NO_ACK (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_I2C, 9)) |
| No ACK received.
|
|
#define | CYHAL_I2C_RSLT_ERR_CMD_ERROR (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_I2C, 10)) |
| Command error.
|
|
#define | CYHAL_I2C_RSLT_ERR_BUFFERS_NULL_PTR (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_I2C, 11)) |
| RX or TX Buffer is not initialized.
|
|
#define | CYHAL_I2C_RSLT_WARN_TIMEOUT (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_WARNING, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_I2C, 20)) |
| Timeout warning.
|
|
#define | CYHAL_I2C_RSLT_WARN_DEVICE_BUSY (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_WARNING, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_I2C, 21)) |
| Other operation in progress.
|
|