Result Codes

group group_hal_results

HAL specific return codes definitions for all drivers.

HAL drivers are generally built on top of a lower level driver. In this case the errors returned from the HAL could be one of the values below or a value from that lower level driver. See the device specific documentation for details about the other error codes.

Enums

enum cyhal_rslt_module_chip

cyhal_rslt_module_chip: Enum to specify module IDs for cy_rslt_t values returned from the HAL.

Values:

enumerator CYHAL_RSLT_MODULE_HWMGR

An error occurred in hardware management module.

enumerator CYHAL_RSLT_MODULE_ADC

An error occurred in ADC module.

enumerator CYHAL_RSLT_MODULE_CLOCK

An error occurred in Clock module.

enumerator CYHAL_RSLT_MODULE_COMP

An error occurred in comparator module.

enumerator CYHAL_RSLT_MODULE_CRC

An error occurred in crypto CRC module.

enumerator CYHAL_RSLT_MODULE_DAC

An error occurred in DAC module.

enumerator CYHAL_RSLT_MODULE_DMA

An error occurred in DMA module.

enumerator CYHAL_RSLT_MODULE_EZI2C

An error occurred in EZI2C module.

enumerator CYHAL_RSLT_MODULE_FLASH

An error occurred in flash module.

enumerator CYHAL_RSLT_MODULE_GPIO

An error occurred in GPIO module.

enumerator CYHAL_RSLT_MODULE_I2C

An error occurred in I2C module.

enumerator CYHAL_RSLT_MODULE_I2S

An error occurred in I2S module.

enumerator CYHAL_RSLT_MODULE_INTERCONNECT

An error occurred in Interconnect module.

enumerator CYHAL_RSLT_MODULE_OPAMP

An error occurred in OpAmp module.

enumerator CYHAL_RSLT_MODULE_PDMPCM

An error occurred in PDM/PCM module.

enumerator CYHAL_RSLT_MODULE_PWM

An error occurred in PWM module.

enumerator CYHAL_RSLT_MODULE_QSPI

An error occurred in QSPI module.

enumerator CYHAL_RSLT_MODULE_QUADDEC

An error occurred in Quadrature Decoder module.

enumerator CYHAL_RSLT_MODULE_RTC

An error occurred in RTC module.

enumerator CYHAL_RSLT_MODULE_SDHC

An error occurred in SDHC module.

enumerator CYHAL_RSLT_MODULE_SDIO

An error occurred in SDIO module.

enumerator CYHAL_RSLT_MODULE_SPI

An error occurred in SPI module.

enumerator CYHAL_RSLT_MODULE_SYSPM

An error occurred in SysPM module.

enumerator CYHAL_RSLT_MODULE_SYSTEM

An error occurred in System module.

enumerator CYHAL_RSLT_MODULE_TDM

An error occurred in Timer module.

enumerator CYHAL_RSLT_MODULE_TIMER

An error occurred in Timer module.

enumerator CYHAL_RSLT_MODULE_TRNG

An error occurred in RNG module.

enumerator CYHAL_RSLT_MODULE_UART

An error occurred in UART module.

enumerator CYHAL_RSLT_MODULE_USB

An error occurred in USB module.

enumerator CYHAL_RSLT_MODULE_WDT

An error occurred in WDT module.

enumerator CYHAL_RSLT_MODULE_IMPL_TCPWM

An error occurred in TCPWM module (TCPWM based drivers are: Timer, PWM, Quadrature Decoder)

enumerator CYHAL_RSLT_MODULE_IMPL_SCB

An error occurred in SCB module (SCB based drivers are: I2C, SPI, UART)

enumerator CYHAL_RSLT_MODULE_KEYSCAN

An error occurred in KeyScan module.