17#define SDRV_ERROR_STATUS(group, code) (-((group) * (1000U) + (code)))
status_groups
Status group numbers.
Definition: sdrv_common.h:21
@ SDRV_STATUS_GROUP_CAMERA
Definition: sdrv_common.h:48
@ SDRV_STATUS_GROUP_MMC
Definition: sdrv_common.h:60
@ SDRV_STATUS_GROUP_GPIO
Definition: sdrv_common.h:27
@ SDRV_STATUS_GROUP_OTHER
Definition: sdrv_common.h:64
@ SDRV_STATUS_GROUP_FIREWALL
Definition: sdrv_common.h:63
@ SDRV_STATUS_GROUP_CRYPTO
Definition: sdrv_common.h:32
@ SDRV_STATUS_GROUP_PDM
Definition: sdrv_common.h:40
@ SDRV_STATUS_GROUP_LIN
Definition: sdrv_common.h:35
@ SDRV_STATUS_GROUP_PMU
Definition: sdrv_common.h:50
@ SDRV_STATUS_GROUP_VIC
Definition: sdrv_common.h:25
@ SDRV_STATUS_GROUP_MBOX
Definition: sdrv_common.h:57
@ SDRV_STATUS_GROUP_SEMAG
Definition: sdrv_common.h:58
@ SDRV_STATUS_GROUP_I2S
Definition: sdrv_common.h:39
@ SDRV_STATUS_GROUP_XSPI
Definition: sdrv_common.h:59
@ SDRV_STATUS_GROUP_SCR
Definition: sdrv_common.h:54
@ SDRV_STATUS_GROUP_SPI
Definition: sdrv_common.h:37
@ SDRV_STATUS_GROUP_COMMON
Definition: sdrv_common.h:22
@ SDRV_STATUS_GROUP_PVT
Definition: sdrv_common.h:55
@ SDRV_STATUS_GROUP_DMA
Definition: sdrv_common.h:28
@ SDRV_STATUS_GROUP_SMC
Definition: sdrv_common.h:52
@ SDRV_STATUS_GROUP_ETH
Definition: sdrv_common.h:38
@ SDRV_STATUS_GROUP_ASW
Definition: sdrv_common.h:46
@ SDRV_STATUS_GROUP_CLK
Definition: sdrv_common.h:24
@ SDRV_STATUS_GROUP_FLEXRAY
Definition: sdrv_common.h:62
@ SDRV_STATUS_GROUP_ACMP
Definition: sdrv_common.h:45
@ SDRV_STATUS_GROUP_ETIMER
Definition: sdrv_common.h:42
@ SDRV_STATUS_GROUP_ADC
Definition: sdrv_common.h:44
@ SDRV_STATUS_GROUP_UART
Definition: sdrv_common.h:33
@ SDRV_STATUS_GROUP_BTM
Definition: sdrv_common.h:29
@ SDRV_STATUS_GROUP_G2DLITE
Definition: sdrv_common.h:49
@ SDRV_STATUS_GROUP_XTRG
Definition: sdrv_common.h:43
@ SDRV_STATUS_GROUP_RTC
Definition: sdrv_common.h:53
@ SDRV_STATUS_GROUP_POWER
Definition: sdrv_common.h:51
@ SDRV_STATUS_GROUP_WATCHDOG
Definition: sdrv_common.h:31
@ SDRV_STATUS_GROUP_FLEXCAN
Definition: sdrv_common.h:34
@ SDRV_STATUS_GROUP_SDRAMC
Definition: sdrv_common.h:56
@ SDRV_STATUS_GROUP_FUSE
Definition: sdrv_common.h:30
@ SDRV_STATUS_GROUP_PINCTRL
Definition: sdrv_common.h:26
@ SDRV_STATUS_GROUP_XSPI_MST_SLV
Definition: sdrv_common.h:61
@ SDRV_STATUS_GROUP_I2C
Definition: sdrv_common.h:36
@ SDRV_STATUS_GROUP_DISPSS
Definition: sdrv_common.h:47
@ SDRV_STATUS_GROUP_RESET
Definition: sdrv_common.h:23
@ SDRV_STATUS_GROUP_EPWM
Definition: sdrv_common.h:41
int32_t status_t
Type used for all status and error return values.
Definition: sdrv_common.h:82
@ SDRV_STATUS_INVALID_PARAM
Definition: sdrv_common.h:76
@ SDRV_STATUS_FAIL
Definition: sdrv_common.h:73
@ SDRV_STATUS_OK
Definition: sdrv_common.h:72
@ SDRV_STATUS_TIMEOUT
Definition: sdrv_common.h:75
@ SDRV_STATUS_BUSY
Definition: sdrv_common.h:74
#define SDRV_ERROR_STATUS(group, code)
Construct a status code value from a group and code number. All the error statuses are negetive numbe...
Definition: sdrv_common.h:17