Hardware Abstraction Layer (HAL)

General Description

UART specific return codes.

Macros

#define CYHAL_UART_RSLT_ERR_INVALID_PIN   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_UART, 0))
 The requested resource type is invalid.
 
#define CYHAL_UART_RSLT_ERR_PM_CALLBACK   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_UART, 1))
 Failed to configure power management callback.
 
#define CY_RSLT_ERR_CSP_UART_GETC_TIMEOUT   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_UART, 2))
 The getc call timed out with no received data.
 
#define CY_RSLT_WRN_CSP_UART_BAUD_TOLERANCE   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_WARNING, CYHAL_RSLT_MODULE_UART, 3))
 The actual baud rate is greater than 10% off the requested baud rate.