Hardware Abstraction Layer (HAL)

General Description

SPI specific return codes.

Macros

#define CYHAL_SPI_RSLT_BAD_ARGUMENT   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_SPI, 0))
 Bad argument.
 
#define CYHAL_SPI_RSLT_CLOCK_ERROR   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_SPI, 1))
 Failed to initialize SPI clock.
 
#define CYHAL_SPI_RSLT_TRANSFER_ERROR   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_SPI, 2))
 Failed to Transfer SPI data.
 
#define CYHAL_SPI_RSLT_CLOCK_NOT_SUPPORTED   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_SPI, 3))
 Provided clock is not supported by SPI.
 
#define CYHAL_SPI_RSLT_PIN_CONFIG_NOT_SUPPORTED   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_SPI, 5))
 Provided PIN configuration is not supported by SPI.
 
#define CYHAL_SPI_RSLT_INVALID_PIN_API_NOT_SUPPORTED   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_SPI, 6))
 Provided PIN configuration is not supported by SPI.
 
#define CYHAL_SPI_RSLT_ERR_INVALID_PIN   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_SPI, 7))
 The requested resource type is invalid.
 
#define CYHAL_SPI_RSLT_ERR_CANNOT_CONFIG_SSEL   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_SPI, 8))
 Cannot configure SSEL signal.
 
#define CYHAL_SPI_RSLT_ERR_CANNOT_SWITCH_SSEL   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_SPI, 9))
 Cannot switch SSEL - device is busy or incorrect pin provided.