/*
 * File: BTMR_ThmRnwyChk_parameters.c
 *
 * Code generated for Simulink model 'BTMR_ThmRnwyChk'.
 *
 * Model version                  : sd
 * Simulink Coder version         : 8.13 (R2017b) 24-Jul-2017
 * C/C++ source code generated on : Wed Aug 25 11:28:21 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 "zero_crossing_types.h"
#include "BTMR_ThmRnwyChk_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 boolean_T BTMR_bIDDiagEna_C = 1;
const volatile boolean_T BTMR_bPreRnwyDiagEna_C = 0;
const volatile boolean_T BTMR_bRnwyDiagEna_C = 1;/* 0:RnwyPreChk Dis
                                                    1:RnwyPreChk Ena */
const volatile boolean_T BTMR_bTPLTmtBattRunAwayEna_C = 0;
const volatile boolean_T BTMR_bTPLTmtRnwyDiagEna_C = 1;
const volatile boolean_T BTMR_bTPLWkupDiagEna_C = 0;/* 1:TPLWkup Disable
                                                       0:TPLWkup Enable */
const volatile boolean_T BTMR_bThmRnwyCon2Ena_C = 0;
const volatile boolean_T BTMR_bThmRnwyCon3Ena_C = 0;
const volatile boolean_T BTMR_bThmRnwyCon4Ena_C = 0;
const volatile boolean_T BTMR_bThmRunAwayFltEna_C = 1;
const volatile boolean_T BTMR_bThmRunAwayFltSwitch_C = 0;
const volatile uint8_T BTMR_cntBattRunAwayDiag_CW = 255U;
const volatile uint8_T BTMR_cntBattTGradThres_C = 1U;
const volatile uint8_T BTMR_cntBusbarTGradThres_C = 1U;
const volatile uint8_T BTMR_cntCellVoltGradAbnrLoLim_C = 1U;
const volatile uint8_T BTMR_cntCellVoltGradAbnrUpLim_C = 3U;
const volatile uint8_T BTMR_cntCellVoltThres_C = 1U;
const volatile uint8_T BTMR_cntMdulCellNum_C = 12U;
const volatile uint8_T BTMR_cntTPLTmtBattTDiffThres_C = 1U;
const volatile uint8_T BTMR_cntTPLTmtBattTGradThres_C = 1U;
const volatile uint8_T BTMR_cntTPLTmtBattTThres_C = 1U;
const volatile uint8_T BTMR_cntTPLTmtBusbarTGradThres_C = 1U;
const volatile uint8_T BTMR_cntTPLTmtBusbarTThres_C = 1U;
const volatile uint8_T BTMR_cntVSnsrTmtRnwy_C = 1U;
const volatile boolean_T BTMR_flgIDDiagSwitch_C = 0;
const volatile boolean_T BTMR_flgMdulFitDiagSwitch_C = 1;/* 1:53/63kwh
                                                            0:72kwh */
const volatile boolean_T BTMR_flgModlFitDiagSwitch_C = 1;
const volatile boolean_T BTMR_flgPreRnwyDiagSwitch_C = 1;
const volatile boolean_T BTMR_flgRnwyDiagSwitch_C = 1;
const volatile boolean_T BTMR_flgTPLTmtRnwyDiagSwitch_C = 0;/* 0:TPLTmtDiag Ena
                                                               1:TPLTmtDiag Dis */
const volatile boolean_T BTMR_flgTPLWkupDiagSwitch_C = 1;/* 1:TPLWkup Disable
                                                            0:TPLWkup Enable */
const volatile boolean_T BTMR_flgThmRnwyCon2Switch_C = 0;
const volatile boolean_T BTMR_flgThmRnwyCon3Switch_C = 0;
const volatile boolean_T BTMR_flgThmRnwyCon4Switch_C = 1;
const volatile real32_T BTMR_iCellVoltGradDiagThre_C = 3.0F;
const volatile real32_T BTMR_tBattTDiffRunAway_C = 30.0F;
const volatile real32_T BTMR_tBattTGRunAwayLv2_C = 5.0F;
const volatile real32_T BTMR_tBattTGRunAwayVoltDiag_C = 0.25F;
const volatile real32_T BTMR_tBattTGRunAway_C = 1.0F;
const volatile real32_T BTMR_tBattTRunAwayLv3_C = 110.0F;
const volatile real32_T BTMR_tBattTRunAway_C = 65.0F;
const volatile real32_T BTMR_tBattTSnsrAbnm_C = -40.0F;
const volatile real32_T BTMR_tBusbarTDiffRunAway_C = 30.0F;
const volatile real32_T BTMR_tBusbarTGRunAwayLv2_C = 5.0F;
const volatile real32_T BTMR_tBusbarTGRunAway_C = 1.0F;
const volatile real32_T BTMR_tBusbarTRunAwayLv3_C = 110.0F;
const volatile real32_T BTMR_tBusbarTRunAway_C = 70.0F;
const volatile real32_T BTMR_tCellTempUpLimCATL_C = 125.0F;
const volatile real32_T BTMR_tCellTempUpLimSWD_C = 150.0F;
const volatile real32_T BTMR_tTPLTmtBattTDiffRunAway_C = 30.0F;
const volatile real32_T BTMR_tTPLTmtBattTGRunAway_C = 2.0F;
const volatile real32_T BTMR_tTPLTmtBattTRunAway_C = 60.0F;
const volatile real32_T BTMR_tTPLTmtBusbarTDiffRunAway_C = 30.0F;
const volatile real32_T BTMR_tTPLTmtBusbarTGRunAway_C = 2.0F;
const volatile real32_T BTMR_tTPLTmtBusbarTRunAway_C = 70.0F;
const volatile real32_T BTMR_tTsnsrTmtThre_C = -40.0F;
const volatile real32_T BTMR_tiBMSStartDelay_C = 4.0F;
const volatile real32_T BTMR_tiBattRunAwayLv3De_C = 2.0F;
const volatile real32_T BTMR_tiBusbarRunAwayLv3De_C = 2.0F;
const volatile real32_T BTMR_tiBusbarRunAwayTempDe_C = 10.0F;
const volatile real32_T BTMR_tiBusbarRunAwayTempDiffDe_C = 2.0F;
const volatile real32_T BTMR_tiBusbarTGRunAwayLv2CondRes_C = 60.0F;
const volatile real32_T BTMR_tiBusbarThmRnwyCondRes_C = 120.0F;
const volatile real32_T BTMR_tiCellVoltAbnrDeb_C = 1.3F;
const volatile real32_T BTMR_tiCellVoltCondRes_C = 60.0F;
const volatile real32_T BTMR_tiCurrLimDeb_C = 5.0F;
const volatile uint32_T BTMR_tiLowCellVoltDiffShortTimeThre_C = 0U;
const volatile uint32_T BTMR_tiLowCellVoltShortTimeThre_C = 259200U;
const volatile real32_T BTMR_tiMudlVoltCondRes_C = 30.0F;
const volatile real32_T BTMR_tiRnwyDiagEna_C = 2.0F;
const volatile real32_T BTMR_tiRnwyDiagIni_C = 1.0F;
const volatile real32_T BTMR_tiRnwyPreChkDiagDebounce_C = 1.0F;
const volatile real32_T BTMR_tiRnwyPreChkVoltDebounce_C = 1.0F;
const volatile real32_T BTMR_tiRnwyTplTmtDeb_C = 6.0F;
const volatile real32_T BTMR_tiRunAwayBusbarTGDe_C = 1.5F;
const volatile real32_T BTMR_tiRunAwayBusbarTGLv2De_C = 0.7F;
const volatile real32_T BTMR_tiRunAwayMaxVoltDeb_C = 1.0F;
const volatile real32_T BTMR_tiRunAwayMdulVoltDe_C = 1.0F;
const volatile real32_T BTMR_tiRunAwayMinVoltDeb_C = 1.0F;
const volatile real32_T BTMR_tiRunAwayTempDe_C = 10.0F;
const volatile real32_T BTMR_tiRunAwayTempDiffDe_C = 2.0F;
const volatile real32_T BTMR_tiRunAwayTempGradDe_C = 1.5F;
const volatile real32_T BTMR_tiRunAwayTempGradLv2De_C = 0.7F;
const volatile real32_T BTMR_tiRunAwayTempUpLimDe_C = 4.0F;
const volatile real32_T BTMR_tiRunAwayVoltTempGradDe_C = 1.0F;
const volatile real32_T BTMR_tiTGRunAwayLv2CondRes_C = 60.0F;
const volatile real32_T BTMR_tiTPLTmtRnwyBusbarTemp_C = 2.0F;
const volatile real32_T BTMR_tiTPLTmtRnwyDiagIni_C = 1.0F;
const volatile real32_T BTMR_tiTPLTmtRunAwayBusbarTG_C = 2.0F;
const volatile real32_T BTMR_tiTPLTmtRunAwayTempDe_C = 2.0F;
const volatile real32_T BTMR_tiTPLTmtRunAwayTempDiffDe_C = 2.0F;
const volatile real32_T BTMR_tiTPLTmtRunAwayTempGradDe_C = 2.0F;
const volatile real32_T BTMR_tiTPLTmtThmRnwyBusbarTRes_C = 120.0F;
const volatile real32_T BTMR_tiTPLTmtThmRnwyTCondRes_C = 120.0F;
const volatile real32_T BTMR_tiTPLTmtThmRnwyTDiffCondRes_C = 120.0F;
const volatile real32_T BTMR_tiTPLTmtThmRnwyTGCondRes_C = 120.0F;
const volatile real32_T BTMR_tiTPLTmtbusbarTGCondRes_C = 120.0F;
const volatile real32_T BTMR_tiTPLWkupCondRes_C = 120.0F;
const volatile real32_T BTMR_tiTSnsrTmtRunAwayDe_C = 2.0F;
const volatile real32_T BTMR_tiThmRnwyCondRes_C = 120.0F;
const volatile real32_T BTMR_tiThmRnwyPreChkStpTimeThreLv1_C = 5.0F;
const volatile real32_T BTMR_tiThmRnwyPreChkStpTimeThreLv2_C = 30.0F;
const volatile real32_T BTMR_tiVGTGRunAwayCondRes_C = 60.0F;
const volatile real32_T BTMR_tiVSnsrTmtRunAwayDe_C = 2.0F;
const volatile real32_T BTMR_uBattTRunAwayMax_C = 4500.0F;
const volatile real32_T BTMR_uBattTRunAwayMin_C = 1800.0F;
const volatile real32_T BTMR_uCellVoltGradThre_C = 120.0F;
const volatile real32_T BTMR_uCellVoltLowAlrm_C = 0.05F;
const volatile real32_T BTMR_uCellVoltLowWarn_C = 0.025F;
const volatile real32_T BTMR_uDeltaVoltDiffThre_C = 0.025F;
const volatile real32_T BTMR_uMdulLowVoltDiag_C = 1.0F;

#define ASW1_OEM_STOP_SEC_DEFAULT_CALIB_UNSPECIFIED
#include "Asw1_OEM_MemMap.h"

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