xWRL6432 MMWAVE-L-SDK  05.04.00.01
DPU_CFARPROC_ERROR_CODE

Introduction

Base error code for the cfarProc DPU is defined in the

/*
*
* NOTE:
* (C) Copyright 2023 Texas Instruments, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the
* distribution.
*
* Neither the name of Texas Instruments Incorporated nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/**************************************************************************
*************************** Include Files ********************************
**************************************************************************/
#ifndef DP_ERROR_H
#define DP_ERROR_H
#ifdef __cplusplus
extern "C" {
#endif
#include <common/mmwave_error.h>
/**************************************************************************
* Base Error Code for the mmWave data path DPUs
**************************************************************************/
#define DP_ERRNO_RANGE_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -100)
#define DP_ERRNO_DOA_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -200)
#define DP_ERRNO_CFAR_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -300)
#define DP_ERRNO_MPD_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -400)
#define DP_ERRNO_STATIC_CLUTTER_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -500)
#define DP_ERRNO_DPEDMA_BASE (MMWAVE_ERRNO_DPU_BASE -600)
#define DP_ERRNO_DOPPLER_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -700)
#define DP_ERRNO_AOA_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -800)
#define DP_ERRNO_AOA2D_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -900)
#define DP_ERRNO_NEXTCANC_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -1000)
#define DP_ERRNO_ZOOM_PROC_BASE (MMWAVE_ERRNO_DPU_BASE -1100)
#define DP_ERRNO_CAPONBEAMFORMING_BASE (MMWAVE_ERRNO_DPU_BASE -1200)
#define DP_ERRNO_CAPONBEAMFORMING2D_BASE (MMWAVE_ERRNO_DPU_BASE -1300)
/**************************************************************************
* Base Error Code for the mmWave data path DPCs
**************************************************************************/
#define DP_ERRNO_OBJECTDETECTION_BASE (MMWAVE_ERRNO_DPC_BASE -100)
#define DP_ERRNO_OBJDETRANGEHWA_BASE (MMWAVE_ERRNO_DPC_BASE -200)
#define DP_ERRNO_OBJDETDSP_BASE (MMWAVE_ERRNO_DPC_BASE -300)
#ifdef __cplusplus
}
#endif
#endif /* DATAPATH_ERROR_H */

Macros

#define DPU_CFARPROCHWA_EINVAL   (DP_ERRNO_CFAR_PROC_BASE-1)
 Error Code: Invalid argument. More...
 
#define DPU_CFARPROCHWA_EINVAL__DET_MATRIX_FORMAT   (DP_ERRNO_CFAR_PROC_BASE-2)
 Error Code: Invalid detection matrix format argument. More...
 
#define DPU_CFARPROCHWA_EINVAL__NUM_PARAM_SETS   (DP_ERRNO_CFAR_PROC_BASE-3)
 Error Code: Invalid number of param sets. More...
 
#define DPU_CFARPROCHWA_ENOMEM   (DP_ERRNO_CFAR_PROC_BASE-10)
 Error Code: Out of memory when allocating using MemoryP_osal. More...
 
#define DPU_CFARPROCHWA_ENOMEM__DET_MATRIX_EXCEEDS_HWA_INP_MEM   (DP_ERRNO_CFAR_PROC_BASE-11)
 Error Code: HWA input memory for detection matrix is not sufficient. More...
 
#define DPU_CFARPROCHWA_ENOMEMALIGN_DET_MATRIX   (DP_ERRNO_CFAR_PROC_BASE-12)
 Error Code: Memory not aligned for detection matrix (detMatrix.data) More...
 
#define DPU_CFARPROCHWA_ENOMEMALIGN_HWA_MEM_OUT_RANGE   (DP_ERRNO_CFAR_PROC_BASE-15)
 Error Code: Memory not aligned for DPU_CFARProcHWA_HW_Resources::hwaMemOutDetList. More...
 
#define DPU_CFARPROCHWA_NUM_RANGE_BINS_EXCEDED_LIMIT   (DP_ERRNO_CFAR_PROC_BASE-18)
 Error Code: Memory. More...
 
#define DPU_CFARPROCEDMA_ESEMA   (DP_ERRNO_CFAR_PROC_BASE-19)
 Error Code: Semaphore. More...
 
#define DPU_CFARPROCHWA_EINTERNAL   (DP_ERRNO_CFAR_PROC_BASE-20)
 Error Code: Internal error. More...
 
#define DPU_CFARPROCHWA_EHWA_PARAM_SAVE_LOC_SIZE   (DP_ERRNO_CFAR_PROC_BASE-21)
 Error Code: Insufficient memory to save HWA param sets. More...
 
#define DPU_CFARPROCHWA_ENOTIMPL   (DP_ERRNO_CFAR_PROC_BASE-30)
 Error Code: Not implemented. More...
 
#define DPU_CFARPROCHWA_ESEMA   (DP_ERRNO_CFAR_PROC_BASE-40)
 Error Code: Semaphore error. More...
 

Macro Definition Documentation

◆ DPU_CFARPROCHWA_EINVAL

#define DPU_CFARPROCHWA_EINVAL   (DP_ERRNO_CFAR_PROC_BASE-1)

Error Code: Invalid argument.

◆ DPU_CFARPROCHWA_EINVAL__DET_MATRIX_FORMAT

#define DPU_CFARPROCHWA_EINVAL__DET_MATRIX_FORMAT   (DP_ERRNO_CFAR_PROC_BASE-2)

Error Code: Invalid detection matrix format argument.

◆ DPU_CFARPROCHWA_EINVAL__NUM_PARAM_SETS

#define DPU_CFARPROCHWA_EINVAL__NUM_PARAM_SETS   (DP_ERRNO_CFAR_PROC_BASE-3)

Error Code: Invalid number of param sets.

◆ DPU_CFARPROCHWA_ENOMEM

#define DPU_CFARPROCHWA_ENOMEM   (DP_ERRNO_CFAR_PROC_BASE-10)

Error Code: Out of memory when allocating using MemoryP_osal.

◆ DPU_CFARPROCHWA_ENOMEM__DET_MATRIX_EXCEEDS_HWA_INP_MEM

#define DPU_CFARPROCHWA_ENOMEM__DET_MATRIX_EXCEEDS_HWA_INP_MEM   (DP_ERRNO_CFAR_PROC_BASE-11)

Error Code: HWA input memory for detection matrix is not sufficient.

◆ DPU_CFARPROCHWA_ENOMEMALIGN_DET_MATRIX

#define DPU_CFARPROCHWA_ENOMEMALIGN_DET_MATRIX   (DP_ERRNO_CFAR_PROC_BASE-12)

Error Code: Memory not aligned for detection matrix (detMatrix.data)

◆ DPU_CFARPROCHWA_ENOMEMALIGN_HWA_MEM_OUT_RANGE

#define DPU_CFARPROCHWA_ENOMEMALIGN_HWA_MEM_OUT_RANGE   (DP_ERRNO_CFAR_PROC_BASE-15)

Error Code: Memory not aligned for DPU_CFARProcHWA_HW_Resources::hwaMemOutDetList.

◆ DPU_CFARPROCHWA_NUM_RANGE_BINS_EXCEDED_LIMIT

#define DPU_CFARPROCHWA_NUM_RANGE_BINS_EXCEDED_LIMIT   (DP_ERRNO_CFAR_PROC_BASE-18)

Error Code: Memory.

◆ DPU_CFARPROCEDMA_ESEMA

#define DPU_CFARPROCEDMA_ESEMA   (DP_ERRNO_CFAR_PROC_BASE-19)

Error Code: Semaphore.

◆ DPU_CFARPROCHWA_EINTERNAL

#define DPU_CFARPROCHWA_EINTERNAL   (DP_ERRNO_CFAR_PROC_BASE-20)

Error Code: Internal error.

◆ DPU_CFARPROCHWA_EHWA_PARAM_SAVE_LOC_SIZE

#define DPU_CFARPROCHWA_EHWA_PARAM_SAVE_LOC_SIZE   (DP_ERRNO_CFAR_PROC_BASE-21)

Error Code: Insufficient memory to save HWA param sets.

◆ DPU_CFARPROCHWA_ENOTIMPL

#define DPU_CFARPROCHWA_ENOTIMPL   (DP_ERRNO_CFAR_PROC_BASE-30)

Error Code: Not implemented.

◆ DPU_CFARPROCHWA_ESEMA

#define DPU_CFARPROCHWA_ESEMA   (DP_ERRNO_CFAR_PROC_BASE-40)

Error Code: Semaphore error.