Hardware Abstraction Layer (HAL)

General Description

UART specific return codes.

Macros

#define CYHAL_UART_RSLT_ERR_INVALID_PIN    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_UART, 0))
 The requested resource type is invalid.
 
#define CYHAL_UART_RSLT_ERR_PM_CALLBACK    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_UART, 1))
 Failed to configure power management callback.
 
#define CY_RSLT_ERR_CSP_UART_GETC_TIMEOUT    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_UART, 2))
 The getc call timed out with no received data.
 
#define CY_RSLT_WRN_CSP_UART_BAUD_TOLERANCE    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_WARNING, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_UART, 3))
 The actual baud rate is greater than 10% off the requested baud rate.
 
#define CYHAL_UART_RSLT_ERR_UNSUPPORTED_CONFIG    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_UART, 4))
 The requested configuration is not supported on the current hardware.
 
#define CYHAL_UART_RSLT_ERR_UNSUPPORTED_OPERATION    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_UART, 5))
 The requested operation is not supported on the current hardware.
 
#define CYHAL_UART_RSLT_CLOCK_ERROR    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_UART, 6))
 Can't make changes in user-provided clock.