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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 
#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. More...
 

Macro Definition Documentation

◆ CYHAL_CLOCK_RSLT_ERR_FREQ

Error configuring clock frequency, divider, or multiplier.

◆ CYHAL_CLOCK_RSLT_ERR_SOURCE

Invalid source clock.

◆ CYHAL_CLOCK_RSLT_ERR_NOT_SUPPORTED

#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.

◆ CYHAL_CLOCK_RSLT_ERR_RESOURCE

The specified resource is not valid.

◆ CYHAL_CLOCK_RSLT_ERR_LOCK

The clock did not lock after being enabled.