Hardware Abstraction Layer (HAL)

General Description

Clock specific return codes.

Macros

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

Macro Definition Documentation

◆ CYHAL_CLOCK_RSLT_ERR_FREQ

#define CYHAL_CLOCK_RSLT_ERR_FREQ   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_CLOCK, 0))

Error configuring clock frequency, divider, or multiplier.

◆ CYHAL_CLOCK_RSLT_ERR_SOURCE

#define CYHAL_CLOCK_RSLT_ERR_SOURCE   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_CLOCK, 1))

Invalid source clock.

◆ CYHAL_CLOCK_RSLT_ERR_NOT_SUPPORTED

#define CYHAL_CLOCK_RSLT_ERR_NOT_SUPPORTED   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_CLOCK, 2))

Specified operation is not supported by the current clock.

◆ CYHAL_CLOCK_RSLT_ERR_RESOURCE

#define CYHAL_CLOCK_RSLT_ERR_RESOURCE   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_CLOCK, 3))

The specified resource is not valid.

◆ CYHAL_CLOCK_RSLT_ERR_LOCK

#define CYHAL_CLOCK_RSLT_ERR_LOCK   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_CLOCK, 4))

The clock did not lock after being enabled.