Macros
CANFD Driver Error code

The section has a list of all the error codes which are returned to the application. Base error code for the CANFD module is defined in the. More...

Macros

#define CANFD_EOK   (0)
 No Error.
 
#define CANFD_EINVAL   (MMWAVE_ERRNO_CANFD_BASE-1)
 Error Code: Invalid argument.
 
#define CANFD_EINUSE   (MMWAVE_ERRNO_CANFD_BASE-2)
 Error Code: Operation cannot be implemented because a previous operation is still not complete.
 
#define CANFD_ENOTIMPL   (MMWAVE_ERRNO_CANFD_BASE-3)
 Error Code: Operation is not implemented.
 
#define CANFD_ENOMEM   (MMWAVE_ERRNO_CANFD_BASE-4)
 Error Code: Out of memory.
 

Detailed Description

The section has a list of all the error codes which are returned to the application. Base error code for the CANFD module is defined in the.

#ifndef MMWAVE_ERROR_H
#define MMWAVE_ERROR_H
#ifdef __cplusplus
extern "C" {
#endif
/**************************************************************************
* Base Error Code for the mmWave modules
**************************************************************************/
#define MMWAVE_ERRNO_UART_BASE (-2000)
#define MMWAVE_ERRNO_CRC_BASE (-2100)
#define MMWAVE_ERRNO_MAILBOX_BASE (-2200)
#define MMWAVE_ERRNO_PINMUX_BASE (-2300)
#define MMWAVE_ERRNO_ADCBUF_BASE (-2400)
#define MMWAVE_ERRNO_ESM_BASE (-2500)
#define MMWAVE_ERRNO_SPI_BASE (-2600)
#define MMWAVE_ERRNO_DMA_BASE (-2700)
#define MMWAVE_ERRNO_HWA_BASE (-2800)
#define MMWAVE_ERRNO_SOC_BASE (-2900)
#define MMWAVE_ERRNO_EDMA_BASE (-3000)
#define MMWAVE_ERRNO_BASE (-3100)
#define MMWAVE_ERRNO_CSI_BASE (-3200)
#define MMWAVE_ERRNO_CBUFF_BASE (-3300)
#define MMWAVE_ERRNO_CAN_BASE (-3400)
#define MMWAVE_ERRNO_CANFD_BASE (-3500)
#define MMWAVE_ERRNO_QSPI_BASE (-3600)
#define MMWAVE_ERRNO_QSPIFLASH_BASE (-3700)
#define MMWAVE_ERRNO_I2C_BASE (-3800)
#define MMWAVE_ERRNO_WATCHDOG_BASE (-3900)
#define MMWAVE_ERRNO_HSI_HDR_BASE (-4000)
#define MMWAVE_ERRNO_CRYPTO_BASE (-4100)
#define MMWAVE_ERRNO_DPM_BASE (-4200)
#define MMWAVE_ERRNO_SBL_BASE (-4400)
/**************************************************************************
* Base Error Code for the mmWave data path (-30000 - -59999)
**************************************************************************/
#define MMWAVE_ERRNO_DPU_BASE (-30000)
#define MMWAVE_ERRNO_DPC_BASE (-40000)
#define MMWAVE_ERRNO_DEMO_BASE (-50000)
#ifdef __cplusplus
}
#endif
#endif /* MMWAVE_ERROR_H */

Copyright 2020, Texas Instruments Incorporated