Hardware Abstraction Layer (HAL)

General Description

Timer specific return codes.

Macros

#define CYHAL_TIMER_RSLT_ERR_BAD_ARGUMENT   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_TIMER, 0))
 Bad argument. More...
 
#define CYHAL_TIMER_RSLT_ERR_CLOCK_INIT   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_TIMER, 1))
 Failed to initialize Timer clock.
 
#define CYHAL_TIMER_RSLT_ERR_INIT   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_TIMER, 2))
 Failed to initialize Timer.
 
#define CYHAL_TIMER_RSLT_ERR_SHARED_CLOCK   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_TIMER, 3))
 Cannot change the timer frequency when a shared clock divider is in use.
 

Macro Definition Documentation

◆ CYHAL_TIMER_RSLT_ERR_BAD_ARGUMENT

#define CYHAL_TIMER_RSLT_ERR_BAD_ARGUMENT   (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_TIMER, 0))

Bad argument.

eg: null pointer