Hardware Abstraction Layer (HAL)

General Description

Clock specific return codes.

Macros

#define CYHAL_CLOCK_RSLT_ERR_FREQ    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_CLOCK, 0))
 Error configuring clock frequency, divider, or multiplier.
 
#define CYHAL_CLOCK_RSLT_ERR_SOURCE    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_CLOCK, 1))
 Invalid source clock.
 
#define CYHAL_CLOCK_RSLT_ERR_NOT_SUPPORTED    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_CLOCK, 2))
 Specified operation is not supported by the current clock.
 
#define CYHAL_CLOCK_RSLT_ERR_RESOURCE    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_CLOCK, 3))
 The specified resource is not valid.
 
#define CYHAL_CLOCK_RSLT_ERR_LOCK    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_CLOCK, 4))
 The clock did not lock after being enabled.
 
#define CYHAL_CLOCK_RSLT_ERR_SOURCE_DISABLED    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_CLOCK, 5))
 Source clock for the clock being configured is turned off.