Hardware Abstraction Layer (HAL)

General Description

DMA specific return codes.

Macros

#define CYHAL_DMA_RSLT_ERR_INVALID_TRANSFER_WIDTH   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_DMA, 0))
 Invalid transfer width parameter error.
 
#define CYHAL_DMA_RSLT_ERR_INVALID_PARAMETER   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_DMA, 1))
 Invalid parameter error.
 
#define CYHAL_DMA_RSLT_ERR_INVALID_PRIORITY   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_DMA, 2))
 Invalid priority parameter error.
 
#define CYHAL_DMA_RSLT_ERR_INVALID_ALIGNMENT   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_DMA, 3))
 Invalid src or dst addr alignment error.
 
#define CYHAL_DMA_RSLT_ERR_INVALID_BURST_SIZE   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_DMA, 4))
 Invalid burst_size paramenter error.
 
#define CYHAL_DMA_RSLT_ERR_CHANNEL_BUSY   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_DMA, 5))
 Channel busy error.
 
#define CYHAL_DMA_RSLT_WARN_TRANSFER_ALREADY_STARTED   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_WARNING, CYHAL_RSLT_MODULE_DMA, 6))
 Transfer has already been started warning.
 
#define CYHAL_DMA_RSLT_FATAL_UNSUPPORTED_HARDWARE   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_FATAL, CYHAL_RSLT_MODULE_DMA, 7))
 Unsupported hardware error.