PDM/PCM specific return codes.
Macros | |
#define | CYHAL_PDM_PCM_RSLT_ERR_INVALID_PIN (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, 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 (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, 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 (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, CYHAL_RSLT_MODULE_PDMPCM, 2)) |
An async read operation is already progres. | |
#define CYHAL_PDM_PCM_RSLT_ERR_INVALID_CONFIG_PARAM (CYHAL_RSLT_CREATE(CY_RSLT_TYPE_ERROR, 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