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. The HAL uses the same CY_RSLT_CREATE macro to define result codes using the standard cy_rslt_t format. All HAL results use the module ID CY_RSLT_MODULE_ABSTRACTION_HAL. Driver distinction is done as part of the 16-bit code field. The HAL splits this into individual bytes. The upper byte signifies the HAL driver using values from the cyhal_rslt_module_chip enum. The lower byte is defined by each HAL driver.
API Reference | |
Clock HAL Results | |
Clock specific return codes. | |
DMA HAL Results | |
DMA specific return codes. | |
Ethernet HAL Results | |
Ethernet specific return codes. | |
GPIO HAL Results | |
GPIO specific return codes. | |
HWMGR HAL Results | |
HWMGR specific return codes. | |
I2C HAL Results | |
I2C specific return codes. | |
IPC HAL Results | |
IPC specific return codes. | |
LPTimer HAL Results | |
LPTimer specific return codes. | |
PWM HAL Results | |
PWM specific return codes. | |
SPI HAL Results | |
SPI specific return codes. | |
SYSPM HAL Results | |
SYSPM specific return codes. | |
SYSTEM HAL Results | |
SYSTEM specific return codes. | |
Timer HAL Results | |
Timer specific return codes. | |
UART HAL Results | |
UART specific return codes. | |
WDT HAL Results | |
WDT specific return codes. | |
Enum to specify module IDs for cy_rslt_t values returned from the HAL.