/*
 * File: BCCR_RlyCtlDiag_parameters.h
 *
 * Code generated for Simulink model 'BCCR_RlyCtlDiag'.
 *
 * Model version                  : 1.743
 * Simulink Coder version         : 8.11 (R2016b) 25-Aug-2016
 * C/C++ source code generated on : Wed Mar 03 11:30:47 2021
 */

#ifndef RTW_HEADER_BCCR_RlyCtlDiag_parameters_h_
#define RTW_HEADER_BCCR_RlyCtlDiag_parameters_h_
#include "rtwtypes.h"
#define ASW1_OEM_START_SEC_DEFAULT_CALIB_UNSPECIFIED
#include "Asw1_OEM_MemMap.h"

/* Exported data declaration */
/* Declaration for custom storage class: Const */
extern const volatile boolean_T BCCR_bDCNegCtrSwtOnReq_C;
extern const volatile boolean_T BCCR_bDchrgCtlHwSel_C;/* Hardware of UAES:0      Hardware of HS:1 */
extern const volatile boolean_T BCCR_bDchrgCtrStdSel_C;/* Software of GBT:0          Software of Euro:1 */
extern const volatile boolean_T BCCR_bDchrgDiagHwSel_C;/* Hardware of UAES:0      Hardware of HS:1 */
extern const volatile boolean_T BCCR_bDchrgDiagStdSel_C;/* Software of GBT:0          Software of Euro:1 */
extern const volatile boolean_T BCCR_bDchrgNegClsdHealSel_C;
extern const volatile boolean_T BCCR_bMNegCtrSwtOnReq_C;
extern const volatile boolean_T BCCR_bMnCtlHwSel_C;/* Hardware of UAES:0      Hardware of HS:1 */
extern const volatile boolean_T BCCR_bMnDiagHwSel_C;/* Hardware of UAES:0      Hardware of HS:1 */
extern const volatile boolean_T BCCR_bPreChCtrSwtOnReq_C;
extern const volatile uint8_T BCCR_cntStuckClsdPosFastDiag_CW;/* Codeword of fast diagnosis for positive contactor stuck closed check */
extern const volatile boolean_T BCCR_flgPreChgEnrgDiagEn_C;/* The switch of precharge resistance energy diagnosis */
extern const volatile boolean_T BCCR_flgPwrUpDiagEn_C;
extern const volatile real32_T BCCR_iBattCurrPreChLoThres_CUR[8];/* Max precharge current according to battery voltage and pack voltage */
extern const volatile real32_T BCCR_iBattCurrPreChLoThres_CUR_X[8];/* Axis for curve BCCR_iBattCurrPreChLoThres_CUR */
extern const volatile real32_T BCCR_iCurrStuckOpnMnHi_C;/* Max  current for main negative contactor stuck open fault healing */
extern const volatile real32_T BCCR_iCurrStuckOpnMnLo_C;/* Max  current for main negative contactor stuck open fault detect */
extern const volatile real32_T BCCR_iCurrStuckOpnMpLo_C;/* Max  current for main positive contactor stuck open diagnosis */
extern const volatile uint8_T BCCR_numPreChgCtlCnt_C;/* Number of repeated attempts for precharge failure for ctrl */
extern const volatile uint8_T BCCR_numPreChgDiagCnt_C;/* Number of repeated attempts for precharge failure for diagnostic */
extern const volatile uint8_T BCCR_stBmsCtrModeFault_C;
extern const volatile uint8_T BCCR_stBmsCtrModePreFault_C;
extern const volatile uint8_T BCCR_stBmsCtrModePrechg_C;
extern const volatile uint8_T BCCR_stPwrUpCondHvil_C;
extern const volatile uint8_T BCCR_stPwrUpCondIso_C;
extern const volatile real32_T BCCR_tBattTempCtrCtrlHi_C;/* Temperature threshold: max temperature allowed for power up control */
extern const volatile real32_T BCCR_tBattTempCtrCtrlLo_C;/* Temperature threshold: min temperature allowed for power up control */
extern const volatile real32_T BCCR_tiCctDriveDiagEna_C;/* Time debounce for Drive Circuit diagnosis */
extern const volatile real32_T BCCR_tiDChrgCtrWaitThres_C;/* Time Threshold for positive contactor switch on control after negative switch on  */
extern const volatile real32_T BCCR_tiDChrgHldThres_C;/* Maximum time for  DC charge Contactor power up control */
extern const volatile real32_T BCCR_tiDChrgPwrUpThres_C;/* Time Threshold for positive contactor switch on control after negative switch on  */
extern const volatile real32_T BCCR_tiDChrgWrkSwtThres_C;/* Time Threshold for dc charge work status switch on control after positive switch on  */
extern const volatile real32_T BCCR_tiIniHldMax_C;/* Time Threshold for precharge contactor switch on control after negative contactor switch on  */
extern const volatile real32_T BCCR_tiIsoCheckStaus_C;/* Time delay for insulation check staus */
extern const volatile real32_T BCCR_tiMNegCtrSwtOffWaitThres_C;/* Time Threshold for negative contactor switch off control after positive contactor switch off  */
extern const volatile real32_T BCCR_tiPreChCtrSwtOffWaitThres_C;/* Time Threshold for precharge contactor switch off control after positive contactor switch on  */
extern const volatile real32_T BCCR_tiPreChCtrSwtOnWaitThres_C;/* Time Threshold for precharge contactor switch on control after negative contactor switch on  */
extern const volatile real32_T BCCR_tiPreChMax_C;/* Allowed max time threshold for precharge control */
extern const volatile real32_T BCCR_tiPreChgEnrgDet_C;/* Time debounce for relay Circuit diagnosis */
extern const volatile real32_T BCCR_tiPwrUpCondLv_C;
extern const volatile real32_T BCCR_tiRlyCctFaultDet_C;/* Time debounce for relay Circuit diagnosis */
extern const volatile real32_T BCCR_tiRlyCctFaultHeal_C;/* Time debounce for relay Circuit diagnosis */
extern const volatile real32_T BCCR_tiStuckClsdDChrgDet_C;/* Time debounce for dc charge contactor stuck open diagnosis */
extern const volatile real32_T BCCR_tiStuckClsdDChrgNegErr_C;/* Time debounce for dc charge negative contactor stuck closed error diagnosis */
extern const volatile real32_T BCCR_tiStuckClsdDChrgNegHeal_C;/* Time debounce for dc charge negative contactor stuck closed healing diagnosis */
extern const volatile real32_T BCCR_tiStuckClsdDChrgNegWait_C;/* Time debounce for dc charge positve contactor stuck closed error diagnosis */
extern const volatile real32_T BCCR_tiStuckClsdDChrgPosWait_C;/* Time debounce for dc charge positve contactor stuck closed error diagnosis */
extern const volatile real32_T BCCR_tiStuckClsdDChrgThres_C;/* Time debounce for dc charge contactor stuck open diagnosis */
extern const volatile real32_T BCCR_tiStuckClsdMnDet_C;/* Time debounce for negative contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_tiStuckClsdMnOk_C;/* Time debounce for negative contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_tiStuckClsdMnUpDet_C;/* Time debounce for negative contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_tiStuckClsdMnUpOk_C;/* Time debounce for negative contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_tiStuckClsdMnUpWait_C;/* Time debounce for main negative contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_tiStuckClsdMnWait_C;/* Time debounce for main negative contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_tiStuckClsdMpOk_C;/* Time debounce for negative contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_tiStuckClsdPosFastOk_C;/* Time debounce for positive contactor stuck closed diagnosis during fast diagnosis */
extern const volatile real32_T BCCR_tiStuckClsdPosFrstDet_C;/* Time debounce for positive contactor stuck closed diagnosis during power up */
extern const volatile real32_T BCCR_tiStuckClsdPosScndErr_C;/* Time debounce for positive contactor stuck closed diagnosis during power down */
extern const volatile real32_T BCCR_tiStuckClsdPosScndOk_C;/* Time debounce for positive contactor stuck closed diagnosis during power down */
extern const volatile real32_T BCCR_tiStuckClsdPosWait_C;/* Time window for positive contactor stuck closed diagnosis during fast diagnosis */
extern const volatile real32_T BCCR_tiStuckClsdWait_C;/* Time window for main positive contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_tiStuckOpnDChrgNegErr_C;/* Time debounce for dc charge negative contactor stuck open detect */
extern const volatile real32_T BCCR_tiStuckOpnDChrgNegHeal_C;/* Time debounce for dc charge negative contactor stuck open healing */
extern const volatile real32_T BCCR_tiStuckOpnDChrgNegWait_C;/* Max time for dc charge contactor stuck open diagnosis */
extern const volatile real32_T BCCR_tiStuckOpnDChrgPosErr_C;/* Time debounce for dc charge positive contactor stuck open detect */
extern const volatile real32_T BCCR_tiStuckOpnDChrgPosHeal_C;/* Time debounce for dc charge positive contactor stuck open healing */
extern const volatile real32_T BCCR_tiStuckOpnMpErr_C;/* Time debounce for main negative contactor stuck open diagnosis */
extern const volatile real32_T BCCR_tiStuckOpnMpOk_C;/* Time debounce for main negative contactor stuck open diagnosis */
extern const volatile real32_T BCCR_tiStuckOpnMpWait_C;/* Time window for main positive contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_tiVoffRisePwrUpAvl_C;
extern const volatile real32_T BCCR_tiVoffRisePwrUpPass_C;
extern const volatile real32_T BCCR_uBattCellVoltDiff_C;/* Voltage difference between battery voltage and cell voltage */
extern const volatile real32_T BCCR_uDChrgVoltDiff_C;/* Threshold: difference between battery voltage and DC charge voltage */
extern const volatile real32_T BCCR_uDChrgVoltLo_C;/* Threshold: DC charge voltage after DC charge contactor switch off */
extern const volatile real32_T BCCR_uDiffMpPrDisable_C;/* Voltage difference compared with pack voltage stored at last driving cycle for positive contactor stcuk closed diagnosis */
extern const volatile real32_T BCCR_uDiffStuckClsdMcuBatt_C;/* Voltage difference between pack voltage and MCU voltage for positive contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_uDiffStuckClsdMpPrDet_C;/* Voltage difference compared with pack voltage stored at last driving cycle for positive contactor stcuk closed diagnosis */
extern const volatile real32_T BCCR_uDiffStuckClsdMpPrHi_C;/* Max threshold of voltage for positive contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_uDiffStuckClsdMpPrLo_C;/* Min threshold of voltage for positive contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_uDiffStuckOpnMpErr_C;/* Max pack voltage fluctation after main positive disconnected for main positive stuck diagnosis */
extern const volatile real32_T BCCR_uDiffStuckOpnMpOk_C;/* Threshold of the voltage difference between pack voltage and battery voltage for main positive contactor stuck open diagnosis */
extern const volatile real32_T BCCR_uKl30cCctPlausDiagHi_C;/* Max threshold of kl30c voltage for circort diagnosis */
extern const volatile real32_T BCCR_uKl30cCctPlausDiagLo_C;/* Min threshold of kl30c voltage for circort diagnosis */
extern const volatile real32_T BCCR_uKl30cCtrPlausDiagHi_C;/* Max threshold of kl30c voltage for contactor stuck diagnosis */
extern const volatile real32_T BCCR_uKl30cCtrPlausDiagLo_C;/* Min threshold of kl30c voltage for contactor stuck diagnosis */
extern const volatile real32_T BCCR_uNegStuckClsdMnHi_C;/* Voltage threshold for negative contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_uNegStuckClsdMnLo_C;/* Voltage threshold for negative contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_uPackBgnThres_C;/* Max pack voltage before precharge contactor connect for precharge contactor stuck open diagnosis */
extern const volatile real32_T BCCR_uPackDeltRiseHi_C;/* Max threshold for pack voltage fluctuation after precharge contactor connected */
extern const volatile real32_T BCCR_uPackDeltRiseLo_C;/* Min threshold for pack voltage fluctuation after main positive contactor connected */
extern const volatile real32_T BCCR_uPackDiffDecrHi_C;/* Threshold of the voltage difference between pack voltage and battery voltage for main positive contactor stuck open diagnosis */
extern const volatile real32_T BCCR_uPackDiffDecrLo_C;/* Min pack voltage fluctation after main positive disconnected for main positive stuck closed check */
extern const volatile real32_T BCCR_uPackPreRlyOk_C;/* Voltage threshold for Prechrg contactor closed successflly */
extern const volatile real32_T BCCR_uRlyCctFaultHi_C;/* Threshold for relay Circuit diagnosis */
extern const volatile real32_T BCCR_uRlyCctFaultLo_C;/* Threshold for relay Circuit diagnosis */
extern const volatile real32_T BCCR_uStuckClsdDcNegDiff_C;/* Threshold of dc charge voltage and dc negative contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_uStuckClsdDcNeg_C;/* Threshold of dc charge voltage for dc negative contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_uStuckClsdDcPosDiff_C;/* Threshold between dc charge voltage and pack voltage for dc positive contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_uStuckClsdDcPosHi_C;/* Threshold of dc charge voltage for dc positive contactor stuck closed diagnosis */
extern const volatile real32_T BCCR_uStuckOpnDcNegHi_C;/* Threshold of dc charge voltage for dc negative contactor stuck open diagnosis */
extern const volatile real32_T BCCR_uStuckOpnDiffHiThres_C;/* Max threshold for dc charge voltage change after contactor switched on */
extern const volatile real32_T BCCR_uStuckOpnDiffLoThres_C;/* Min threshold for dc charge voltage change after contactor switched on */
extern const volatile real32_T BCCR_uStuckOpnDiffThres_C;/* Difference threshold between pack voltage and dc charge voltage before dc contactor switching on */
extern const volatile real32_T BCCR_uVoltDiff_C;/* Voltage difference between battery voltage and pack voltage downstream the main contactor */
extern const volatile real32_T BCCR_wPreChgResEnrgLmt_C;/* The energy limit of the precharge resistor during the precharge process */
extern const volatile real32_T COMR_uBattVoltDiagCtrLo_C;/* Effective voltage of diagnostic enabled  */

#define ASW1_OEM_STOP_SEC_DEFAULT_CALIB_UNSPECIFIED
#include "Asw1_OEM_MemMap.h"
#endif                                 /* RTW_HEADER_BCCR_RlyCtlDiag_parameters_h_ */

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