I2C specific return codes.
Macros | |
#define | CYHAL_I2C_RSLT_ERR_INVALID_PIN (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_I2C, 0)) |
The requested resource type is invalid. | |
#define | CYHAL_I2C_RSLT_ERR_CAN_NOT_REACH_DR (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_I2C, 1)) |
Can not reach desired data rate. | |
#define | CYHAL_I2C_RSLT_ERR_INVALID_ADDRESS_SIZE (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, 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 (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_I2C, 3)) |
User buffer is empty (TX and RX). More... | |
#define | CYHAL_I2C_RSLT_ERR_PREVIOUS_ASYNCH_PENDING (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_I2C, 4)) |
Previous Async operation is pending. | |
#define | CYHAL_I2C_RSLT_ERR_PM_CALLBACK (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_I2C, 5)) |
Failed to register I2C pm callback. | |
#define CYHAL_I2C_RSLT_ERR_TX_RX_BUFFERS_ARE_EMPTY (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_I2C, 3)) |
User buffer is empty (TX and RX).
Should be at least TX or RX or both buffers