/*
 * File: BSPR_BattCurrCoordParameter.c
 *
 * Code generated for Simulink model 'BSPR_BattCurrCoord'.
 *
 * Model version                  : 1.1181
 * Simulink Coder version         : 8.13 (R2017b) 24-Jul-2017
 * C/C++ source code generated on : Mon Aug  2 17:32:11 2021
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: Infineon->TriCore
 * Code generation objectives:
 *    1. MISRA C:2012 guidelines
 *    2. Execution efficiency
 * Validation result: Not run
 */

#include "rtwtypes.h"
#include "BSPR_BattCurrCoord_types.h"

/* Exported data definition */
#define ASW1_OEM_START_SEC_DEFAULT_CALIB_UNSPECIFIED
#include "Asw1_OEM_MemMap.h"

/* Definition for custom storage class: Const */
const volatile real32_T BSPR_TwoCurrSnsrFltCurr_C = 0.0F;
const volatile uint16_T BSPR_cntCurrMovAvg_C = 5U;
const volatile uint8_T BSPR_cntCurrStbPerMin_C = 5U;/* Calibrated period for stable current calculation of sensor self-adaption */
const volatile real32_T BSPR_facBattCurrMismatch_C = 0.1F;
const volatile boolean_T BSPR_iBattCurrFilEna_C = 0;
const volatile real32_T BSPR_iBattCurrMisMatchDec_C = 500.0F;
const volatile real32_T BSPR_iBattCurrMismatchThrd_C = 20.0F;
const volatile real32_T BSPR_iCurrActAdapThres_C = 2.0F;/* Calibrated max allowed current durring sensor self-adaption */
const volatile real32_T BSPR_iCurrRngHiLim_C = 800.0F;/* 限制了电流输出的最大值 */
const volatile real32_T BSPR_iCurrRngHi_C = 580.0F;/* Threshold for current out of range high check */
const volatile real32_T BSPR_iCurrRngLoLim_C = -700.0F;/* 限制了电流输出的最小值 */
const volatile real32_T BSPR_iCurrRngLo_C = -510.0F;/* Threshold for current out of range low check */
const volatile real32_T BSPR_iCurrStbAdapThres_C = 5.0F;/* Calibrated max allowed current durring sensor self-adaption */
const volatile real32_T BSPR_iCurrStbDiffThres_C = 0.5F;/* Calibrated max allowed current difference between max current and min current during sensor self-adaption */
const volatile real32_T BSPR_iCurrStbPerDiffThres_C = 0.2F;/* Calibrated max allowed current difference between max current and min current during every calculated period */
const volatile real32_T BSPR_iLemCabSw_C = 480.0F;
const volatile real32_T BSPR_iSystemOverCurrDet_C = 600.0F;
const volatile real32_T BSPR_rCurrStbAdapThres_C = 0.6F;/* Calibrated ratio for stable current calculation of sensor self-adaption */
const volatile uint8_T BSPR_stBMSSelfChkCmpl_C = 3U;
const volatile real32_T BSPR_tiCABDevFltDet_C = 2.0F;
const volatile real32_T BSPR_tiCABDevFltHeal_C = 2.0F;
const volatile real32_T BSPR_tiCABErrDet_C = 2.0F;
const volatile real32_T BSPR_tiCABErrHeal_C = 2.0F;
const volatile real32_T BSPR_tiCABSplyVoltDeb_C = 2.0F;
const volatile real32_T BSPR_tiCABVoltOutOfRngDet_C = 2.0F;
const volatile real32_T BSPR_tiCABVoltOutOfRngHeal_C = 2.0F;
const volatile real32_T BSPR_tiCurrAdapAllw_C = 3.0F;/* Calibrated max time for battery current self-learning */
const volatile real32_T BSPR_tiCurrMismatchDec_C = 2.0F;
const volatile real32_T BSPR_tiCurrMismatchHeal_C = 2.0F;
const volatile real32_T BSPR_tiCurrRngChkErr_C = 2.0F;/* Time debounce for current out of range check */
const volatile real32_T BSPR_tiHwCurrElecSCG_C = 2.0F;
const volatile real32_T BSPR_tiHwCurrElecSCP_C = 2.0F;
const volatile real32_T BSPR_tiLemCabSwTiDly_C = 0.1F;
const volatile real32_T BSPR_tiLemSplyVoltDeb_C = 2.0F;
const volatile real32_T BSPR_tiSystemOverCurrDet_C = 0.5F;
const volatile real32_T BSPR_tiTwoCurrSnsrFlt_C = 2.0F;
const volatile real32_T BSPR_uCABSplyVoltLoFlt_C = 4500.0F;
const volatile real32_T BSPR_uCABSplyVoltLoHeal_C = 4900.0F;
const volatile real32_T BSPR_uHwCurrElecSCG_C = 0.1F;
const volatile real32_T BSPR_uHwCurrElecSCP_C = 4.9F;
const volatile real32_T BSPR_uLemSplyVoltHiFlt_C = 6.0F;
const volatile real32_T BSPR_uLemSplyVoltHiNorm_C = 5.5F;
const volatile real32_T BSPR_uLemSplyVoltLoFlt_C = 4.0F;
const volatile real32_T BSPR_uLemSplyVoltLoNorm_C = 4.5F;

#define ASW1_OEM_STOP_SEC_DEFAULT_CALIB_UNSPECIFIED
#include "Asw1_OEM_MemMap.h"

/*
 * File trailer for generated code.
 *
 * [EOF]
 */
