Macros that define values to use for HWA_CommonConfig::configMask when specifying which values in the HWA_CommonConfig are valid.
#define HWA_COMMONCONFIG_MASK_STATEMACHINE_CFG ((uint64_t)0x00000001U) |
Use when HWA_CommonConfig::numLoops, HWA_CommonConfig::paramStartIdx and HWA_CommonConfig::paramStopIdx are valid
#define HWA_COMMONCONFIG_MASK_STATEMACHINE_CFG_ALT ((uint64_t)0x00000002U) |
Use when HWA_CommonConfig::numLoopsALT, HWA_CommonConfig::paramStartIdxALT and HWA_CommonConfig::paramStopIdxALT are valid
#define HWA_COMMONCONFIG_CONTEXTSWITCH_TRIG_CFG ((uint64_t)0x00000004U) |
Use when HWA_CommonConfig::contextswitchTriggerMode, and HWA_CommonConfig::contextswitchTriggerSrc are valid
#define HWA_COMMONCONFIG_MASK_BPMCFG ((uint64_t)0x00000008U) |
Use when HWA_CommonConfig::bpmRate and HWA_CommonConfig::bpmPattern are valid
#define HWA_COMMONCONFIG_MASK_TWIDDITHERENABLE ((uint64_t)0x00000010U) |
Use when HWA_CommonConfig::twidDitherEnable is valid
#define HWA_COMMONCONFIG_MASK_LFSRSEED ((uint64_t)0x00000020U) |
Use when HWA_CommonConfig::lfsrSeed is valid
#define HWA_COMMONCONFIG_MASK_FFTSUMDIV ((uint64_t)0x00000040U) |
Use when HWA_CommonConfig::fftSumDiv is valid
#define HWA_COMMONCONFIG_MASK_CFARTHRESHOLDSCALE ((uint64_t)0x00000080U) |
Use when HWA_CommonConfig::thresholdScale is valid
#define HWA_COMMONCONFIG_MASK_DCEST_SCALESHIFT ((uint64_t)0x00000100U) |
use when HWA_CommonConfig::scale andHWA_CommonConfig::shift are valid
#define HWA_COMMONCONFIG_MASK_DCSUB_SWVAL ((uint64_t)0x00000200U) |
use when HWA_CommonConfig::swIVal and HWA_CommonConfig::swQVal are valid
#define HWA_COMMONCONFIG_MASK_INTERFMAG_THRESHOLD ((uint64_t)0x00000400U) |
Use when HWA_CommonConfig::thresholdMagSw is valid
#define HWA_COMMONCONFIG_MASK_INTERFMAGDIFF_THRESHOLD ((uint64_t)0x00000800U) |
Use when HWA_CommonConfig::thresholdMagDiffSw is valid
#define HWA_COMMONCONFIG_MASK_INTERFSUM_MAG ((uint64_t)0x00001000U) |
Use when HWA_CommonConfig::sumMagScale and HWA_CommonConfig::sumMagShift are valid
#define HWA_COMMONCONFIG_MASK_INTERFSUM_MAGDIFF ((uint64_t)0x00002000U) |
Use when HWA_CommonConfig::sumMagDiffScale and HWA_CommonConfig::sumMagDiffShift are valid
#define HWA_COMMONCONFIG_MASK_COMPLEXMULT_SCALEARRAY ((uint64_t)0x00004000U) |
Use when HWA_CommonConfig::Iscale and HWA_CommonConfig::Qscale are valid, HWA_ComplexMultiply::cmultMode = HWA_COMPLEX_MULTIPLY_MODE_SCALAR_MULT, or HWA_COMPLEX_MULTIPLY_MODE_VEC_MULT, and with HWA_ComplexMultiply:scaleCmultScaleEn = 1 or HWA_ComplexMultiply::cmultScaleEn=1
#define HWA_COMMONCONFIG_MASK_COMPLEXMULT_SCALECONST ((uint64_t)0x00008000U) |
Use when HWA_CommonConfig::Iscale and HWA_CommonConfig::Qscale are valid, HWA_ComplexMultiply::cmultMode = HWA_COMPLEX_MULTIPLY_MODE_SCALAR_MULT, or HWA_COMPLEX_MULTIPLY_MODE_VEC_MULT, and with HWA_ComplexMultiply::scaleCmultScaleEn = 0 or HWA_ComplexMultiply::cmultScaleEn = 0
#define HWA_COMMONCONFIG_MASK_RECWIN_RESET ((uint64_t)0x00010000U) |
Use when HWA_CommonConfig::recWindowReset is valid
#define HWA_COMMONCONFIG_MASK_TWIDINCR_DELTA_FRAC ((uint64_t)0x00020000U) |
Use when HWA_CommonConfig::twiddleDeltaFrac is valid, if HWA_ComplexMultiply::cmultMode = HWA_COMPLEX_MULTIPLY_MODE_FREQSHIFT_FREQINCRE
#define HWA_COMMONCONFIG_MASK_CHANCOMB_VEC_SIZE ((uint64_t)0x00400000U) |
Use when HWA_CommonConfig::vector and HWA_CommonConfig::size are valid
#define HWA_COMMONCONFIG_MASK_ZEROINSERT_NUM_MASK ((uint64_t)0x00800000U) |
Use when HWA_CommonConfig::number and HWA_CommonConfig::mask are valid
#define HWA_COMMONCONFIG_MASK_MAX2D_OFFSETBOTHDIM ((uint64_t)0x01000000U) |
Use when HWA_CommonConfig::max2DoffsetDim1 and HWA_CommonConfig::max2DoffsetDim2 are valid
#define HWA_COMMONCONFIG_MASK_CDFCNT_THRESHOLD ((uint64_t)0x02000000U) |
Use when HWA_CommonConfig::cdfCntThresh is valid
#define HWA_COMMONCONFIG_MASK_LOCALMAXDIMB_THRESHOLDSW ((uint64_t)0x04000000U) |
Use when HWA_CommonConfig::dimBThreshold is valid, if HWA_AccelModeLocalMax::thresholdMode is set HWA_LOCALMAX_THRESH_SELECT_DIMBREG_DIMCREG or HWA_LOCALMAX_THRESH_SELECT_DIMBREG_DIMCRAM
#define HWA_COMMONCONFIG_MASK_LOCALMAXDIMC_THRESHOLDSW ((uint64_t)0x08000000U) |
Use when HWA_CommonConfig::dimCThreshold is valid, if HWA_AccelModeLocalMax::thresholdMode is set HWA_LOCALMAX_THRESH_SELECT_DIMBREG_DIMCREG or HWA_LOCALMAX_THRESH_SELECT_DIMBRAM_DIMCREG
#define HWA_COMMONCONFIG_MASK_LOCALMAXDIMBTHRESH_OFFSET ((uint64_t)0x10000000U) |
Use when HWA_CommonConfig::dimBBaseAddress is valid, dimension B threshold is came from RAM, if HWA_AccelModeLocalMax::thresholdMode is set HWA_LOCALMAX_THRESH_SELECT_DIMBRAM_DIMCRAM or HWA_LOCALMAX_THRESH_SELECT_DIMBRAM_DIMCREG
#define HWA_COMMONCONFIG_MASK_LOCALMAXDIMCTHRESH_OFFSET ((uint64_t)0x20000000U) |
Use when HWA_CommonConfig::dimCBaseAddress is valid, dimension C threshold is came from RAM, if HWA_AccelModeLocalMax::thresholdMode is set HWA_LOCALMAX_THRESH_SELECT_DIMBRAM_DIMCRAM or HWA_LOCALMAX_THRESH_SELECT_DIMBREG_DIMCRAM
#define HWA_COMMONCONFIG_MASK_INTERF_MITG_WINDOW_PARAM ((uint64_t)0x40000000U) |
Use when HWA_CommonConfig::mitigationWindowParam array is valid
#define HWA_COMMONCONFIG_MASK_EGECOMRESS_KPARAM ((uint64_t)0x80000000U) |
Use when HWA_CommonConfig::EGEKparam array is valid
#define HWA_COMMONCONFIG_MASK_CFAR_DET_THR ((uint64_t)0x1000000000U) |
Use when HWA_CommonConfig::cfarDetthreshold is valid