SPI specific return codes.
Macros | |
#define | CYHAL_SPI_RSLT_BAD_ARGUMENT (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_SPI, 0)) |
Bad argument. | |
#define | CYHAL_SPI_RSLT_CLOCK_ERROR (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_SPI, 1)) |
Failed to initialize SPI clock or can't make changes in user-provided clock. | |
#define | CYHAL_SPI_RSLT_TRANSFER_ERROR (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_SPI, 2)) |
Failed to Transfer SPI data. | |
#define | CYHAL_SPI_RSLT_CLOCK_NOT_SUPPORTED (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_SPI, 3)) |
Provided clock is not supported by SPI. | |
#define | CYHAL_SPI_RSLT_PIN_CONFIG_NOT_SUPPORTED (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_SPI, 5)) |
Provided PIN configuration is not supported by SPI. | |
#define | CYHAL_SPI_RSLT_INVALID_PIN_API_NOT_SUPPORTED (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_SPI, 6)) |
Provided PIN configuration is not supported by SPI. | |
#define | CYHAL_SPI_RSLT_ERR_INVALID_PIN (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_SPI, 7)) |
The requested resource type is invalid. | |
#define | CYHAL_SPI_RSLT_ERR_CANNOT_CONFIG_SSEL (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_SPI, 8)) |
Cannot configure SSEL signal. | |
#define | CYHAL_SPI_RSLT_ERR_CANNOT_SWITCH_SSEL (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_SPI, 9)) |
Cannot switch SSEL - device is busy or incorrect pin provided. | |
#define | CYHAL_SPI_RSLT_ERR_CFG_NOT_SUPPORTED (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_SPI, 10)) |
Provided configuration is not supported. | |
#define | CYHAL_SPI_RSLT_ERR_UNSUPPORTED (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_SPI, 11)) |
Unsupported by this device. | |
#define | CYHAL_SPI_RSLT_WARN_TIMEOUT (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_WARNING, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_SPI, 20)) |
Timeout warning. | |