Hardware Abstraction Layer (HAL)

General Description

PDM/PCM specific return codes.

Macros

#define CYHAL_PDM_PCM_RSLT_ERR_INVALID_PIN    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_PDMPCM, 0))
 The pin PDM/PCM hardware cannot be initialized with the passed in pin.
 
#define CYHAL_PDM_PCM_RSLT_ERR_INVALID_CONFIG_PARAM    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_PDMPCM, 1))
 A configuration parameter is invalid: sample_rate, decimation_rate, PCM word length, left/right gain. More...
 
#define CYHAL_PDM_PCM_RSLT_ERR_ASYNC_IN_PROGRESS    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_PDMPCM, 2))
 An async read operation is already progres.
 

Macro Definition Documentation

◆ CYHAL_PDM_PCM_RSLT_ERR_INVALID_CONFIG_PARAM

#define CYHAL_PDM_PCM_RSLT_ERR_INVALID_CONFIG_PARAM    (CY_RSLT_CREATE_EX(CY_RSLT_TYPE_ERROR, CY_RSLT_MODULE_ABSTRACTION_HAL, CYHAL_RSLT_MODULE_PDMPCM, 1))

A configuration parameter is invalid: sample_rate, decimation_rate, PCM word length, left/right gain.

See the implementation specific documentation for valid range