#include <types.h>
Go to the source code of this file.
- Copyright
- Copyright (c) 2022 Semidrive Semiconductor. All rights reserved.
◆ SDRV_ERROR_STATUS
| #define SDRV_ERROR_STATUS |
( |
|
group, |
|
|
|
code |
|
) |
| (-((group) * (1000U) + (code))) |
Construct a status code value from a group and code number. All the error statuses are negetive numbers.
◆ status_t
Type used for all status and error return values.
◆ anonymous enum
Common status return code.
| Enumerator |
|---|
| SDRV_STATUS_OK | |
| SDRV_STATUS_FAIL | |
| SDRV_STATUS_BUSY | |
| SDRV_STATUS_TIMEOUT | |
| SDRV_STATUS_INVALID_PARAM | |
◆ status_groups
Status group numbers.
| Enumerator |
|---|
| SDRV_STATUS_GROUP_COMMON | |
| SDRV_STATUS_GROUP_RESET | |
| SDRV_STATUS_GROUP_CLK | |
| SDRV_STATUS_GROUP_VIC | |
| SDRV_STATUS_GROUP_PINCTRL | |
| SDRV_STATUS_GROUP_GPIO | |
| SDRV_STATUS_GROUP_DMA | |
| SDRV_STATUS_GROUP_BTM | |
| SDRV_STATUS_GROUP_FUSE | |
| SDRV_STATUS_GROUP_WATCHDOG | |
| SDRV_STATUS_GROUP_CRYPTO | |
| SDRV_STATUS_GROUP_UART | |
| SDRV_STATUS_GROUP_FLEXCAN | |
| SDRV_STATUS_GROUP_LIN | |
| SDRV_STATUS_GROUP_I2C | |
| SDRV_STATUS_GROUP_SPI | |
| SDRV_STATUS_GROUP_ETH | |
| SDRV_STATUS_GROUP_I2S | |
| SDRV_STATUS_GROUP_PDM | |
| SDRV_STATUS_GROUP_EPWM | |
| SDRV_STATUS_GROUP_ETIMER | |
| SDRV_STATUS_GROUP_XTRG | |
| SDRV_STATUS_GROUP_ADC | |
| SDRV_STATUS_GROUP_ACMP | |
| SDRV_STATUS_GROUP_ASW | |
| SDRV_STATUS_GROUP_DISPSS | |
| SDRV_STATUS_GROUP_CAMERA | |
| SDRV_STATUS_GROUP_G2DLITE | |
| SDRV_STATUS_GROUP_PMU | |
| SDRV_STATUS_GROUP_POWER | |
| SDRV_STATUS_GROUP_SMC | |
| SDRV_STATUS_GROUP_RTC | |
| SDRV_STATUS_GROUP_SCR | |
| SDRV_STATUS_GROUP_PVT | |
| SDRV_STATUS_GROUP_SDRAMC | |
| SDRV_STATUS_GROUP_MBOX | |
| SDRV_STATUS_GROUP_SEMAG | |
| SDRV_STATUS_GROUP_XSPI | |
| SDRV_STATUS_GROUP_MMC | |
| SDRV_STATUS_GROUP_XSPI_MST_SLV | |
| SDRV_STATUS_GROUP_FLEXRAY | |
| SDRV_STATUS_GROUP_FIREWALL | |
| SDRV_STATUS_GROUP_OTHER | |