/*
 * File: DSMR_FaultDspl.c
 *
 * Code generated for Simulink model 'DSMR_FaultDspl'.
 *
 * Model version                  : 1.7
 * Simulink Coder version         : 8.11 (R2016b) 25-Aug-2016
 * C/C++ source code generated on : Tue Aug 11 00:07:36 2020
 *
 * 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 "DSMR_FaultDspl.h"
#include "DSMR_FaultDspl_private.h"

/* Exported data definition */

/* Definition for custom storage class: OutputSignal */
volatile boolean_T DSMR_638LinCommErr;
volatile boolean_T DSMR_AChgFobd;
volatile boolean_T DSMR_AChgHVOffTmt;
volatile boolean_T DSMR_AChgHVOnTmt;
volatile boolean_T DSMR_AChgLckTmt;
volatile boolean_T DSMR_AChgPileRdyTmt;
volatile boolean_T DSMR_AChgRdyPndiTmt;
volatile boolean_T DSMR_AChgRdyTmt;
volatile boolean_T DSMR_AChgS2ClsdTmt;
volatile boolean_T DSMR_AChgUnlckTmt;
volatile boolean_T DSMR_AChgingErr;
volatile boolean_T DSMR_AChrgCnntErr;
volatile boolean_T DSMR_AChrgCurrMish;
volatile boolean_T DSMR_AChrgPortOvrTemp;
volatile boolean_T DSMR_AChrgVoltMish;
volatile boolean_T DSMR_APlusChk;
volatile boolean_T DSMR_BalStuckMax;
volatile boolean_T DSMR_BalStuckMin;
volatile boolean_T DSMR_BattHVMsgTmt;
volatile boolean_T DSMR_BattTAlrmMax;
volatile boolean_T DSMR_BattTAlrmMin;
volatile boolean_T DSMR_BattTCnstMax;
volatile boolean_T DSMR_BattTFaultMax;
volatile boolean_T DSMR_BattTFaultMin;
volatile boolean_T DSMR_BattTGradtMax;
volatile boolean_T DSMR_BattTHopMax;
volatile boolean_T DSMR_BattTWarnMax;
volatile boolean_T DSMR_BattTWarnMin;
volatile boolean_T DSMR_BattTempVldMax;
volatile boolean_T DSMR_BattTempVldMin;
volatile boolean_T DSMR_BattUNpl;
volatile boolean_T DSMR_BattVoltHiMax;
volatile boolean_T DSMR_BattVoltLoMin;
volatile boolean_T DSMR_BattVoltRngErr;
volatile boolean_T DSMR_BattVoltVld;
volatile boolean_T DSMR_BoardTempTmt;
volatile boolean_T DSMR_BusHVMsgTmt;
volatile boolean_T DSMR_CC2Chk;
volatile boolean_T DSMR_CSCPwrSpyHiErr;
volatile boolean_T DSMR_CSCPwrSpyLoErr;
volatile boolean_T DSMR_CcuSelfChkErr;
volatile boolean_T DSMR_CellTempTmt;
volatile boolean_T DSMR_CellVoltAlrmMax;
volatile boolean_T DSMR_CellVoltAlrmMin;
volatile boolean_T DSMR_CellVoltFaultMax;
volatile boolean_T DSMR_CellVoltFaultMin;
volatile boolean_T DSMR_CellVoltFusfMax;
volatile boolean_T DSMR_CellVoltFusfMin;
volatile boolean_T DSMR_CellVoltNpl;
volatile boolean_T DSMR_CellVoltRngHiErr;
volatile boolean_T DSMR_CellVoltRngLoErr;
volatile boolean_T DSMR_CellVoltTmt;
volatile boolean_T DSMR_CellVoltVldMax;
volatile boolean_T DSMR_CellVoltVldMin;
volatile boolean_T DSMR_CellVoltWarnMax;
volatile boolean_T DSMR_CellVoltWarnMin;
volatile boolean_T DSMR_ChkSumMsg050Err;
volatile boolean_T DSMR_ChkSumMsg2A3Err;
volatile boolean_T DSMR_ChkSumMsg2E0Err;
volatile boolean_T DSMR_ChkSumMsg2E1Err;
volatile boolean_T DSMR_ChrgOCMax;
volatile boolean_T DSMR_ChrgOCMin;
volatile boolean_T DSMR_ChrgOCNpl;
volatile boolean_T DSMR_ClntDsTElecMax;
volatile boolean_T DSMR_ClntDsTElecMin;
volatile boolean_T DSMR_ClntDsTElecSig;
volatile boolean_T DSMR_ClntUsTElecMax;
volatile boolean_T DSMR_ClntUsTElecMin;
volatile boolean_T DSMR_ClntUsTElecSig;
volatile boolean_T DSMR_CmcBordOTMax;
volatile boolean_T DSMR_CoolPerfPlaus;
volatile boolean_T DSMR_CrashHwNpl;
volatile boolean_T DSMR_CrashNpl;
volatile boolean_T DSMR_CurrChrgPlaus;
volatile boolean_T DSMR_CurrOffsPlaus;
volatile boolean_T DSMR_CurrRngErr;
volatile boolean_T DSMR_CurrStukPlaus;
volatile boolean_T DSMR_DChrgBattTMin;
volatile boolean_T DSMR_DChrgCCSTmt;
volatile boolean_T DSMR_DChrgCHMTmt;
volatile boolean_T DSMR_DChrgCMLTmt;
volatile boolean_T DSMR_DChrgCRMTmt;
volatile boolean_T DSMR_DChrgCROTmt;
volatile boolean_T DSMR_DChrgCSDTmt;
volatile boolean_T DSMR_DChrgCSTTmt;
volatile boolean_T DSMR_DChrgCableChk;
volatile boolean_T DSMR_DChrgCnntErr;
volatile boolean_T DSMR_DChrgCurrMish;
volatile boolean_T DSMR_DChrgFobd;
volatile boolean_T DSMR_DChrgHvOnFail;
volatile boolean_T DSMR_DChrgLckErr;
volatile boolean_T DSMR_DChrgLowTempCurrMish;
volatile boolean_T DSMR_DChrgMsgTmt;
volatile boolean_T DSMR_DChrgNegStuckMax;
volatile boolean_T DSMR_DChrgNegStuckMin;
volatile boolean_T DSMR_DChrgParaChk;
volatile boolean_T DSMR_DChrgPosStuckMax;
volatile boolean_T DSMR_DChrgPosStuckMin;
volatile boolean_T DSMR_DChrgPwrUpFail;
volatile boolean_T DSMR_DChrgSLACTOut;
volatile boolean_T DSMR_DChrgStakeErr;
volatile boolean_T DSMR_DChrgStkCurrErr;
volatile boolean_T DSMR_DChrgStkVoltErr;
volatile boolean_T DSMR_DChrgTCnntMax;
volatile boolean_T DSMR_DChrgTNegElecMax;
volatile boolean_T DSMR_DChrgTNegElecMin;
volatile boolean_T DSMR_DChrgTNegElecSig;
volatile boolean_T DSMR_DChrgTPosElecMax;
volatile boolean_T DSMR_DChrgTPosElecMin;
volatile boolean_T DSMR_DChrgTPosElecSig;
volatile boolean_T DSMR_DChrgUNpl;
volatile boolean_T DSMR_DChrgVoltMish;
volatile boolean_T DSMR_DChrgVoltVld;
volatile boolean_T DSMR_DcCanBusOff;
volatile boolean_T DSMR_DisChOCMax;
volatile boolean_T DSMR_DisChOCMin;
volatile boolean_T DSMR_DisChOCNpl;
volatile boolean_T DSMR_EepReadErr;
volatile boolean_T DSMR_FuseNpl;
volatile boolean_T DSMR_HtgPerfPlaus;
volatile boolean_T DSMR_HvPwrUpFail;
volatile boolean_T DSMR_HvilMax;
volatile boolean_T DSMR_HvilMin;
volatile boolean_T DSMR_HvilSig;
volatile boolean_T DSMR_InCanBusOff;
volatile boolean_T DSMR_InClntOverTmp;
volatile boolean_T DSMR_InsResValdFault;
volatile boolean_T DSMR_IsoChkLv1;
volatile boolean_T DSMR_IsoChkLv2;
volatile boolean_T DSMR_Kl30OutRngErr;
volatile boolean_T DSMR_Kl30VoltHiErr;
volatile boolean_T DSMR_Kl30VoltLoErr;
volatile boolean_T DSMR_Kl30cVoltLoErr;
volatile boolean_T DSMR_MNegStuckMax;
volatile boolean_T DSMR_MNegStuckMin;
volatile boolean_T DSMR_MPosStuckMin;
volatile boolean_T DSMR_Msg2A3Tmt;
volatile boolean_T DSMR_Msg2E6Tmt;
volatile boolean_T DSMR_OutClntOverTmp;
volatile boolean_T DSMR_PackUNpl;
volatile boolean_T DSMR_PackVoltVld;
volatile boolean_T DSMR_PosStuckMax;
volatile boolean_T DSMR_PrStuckMin;
volatile boolean_T DSMR_RcMsg050Mis;
volatile boolean_T DSMR_RcMsg2A3Mis;
volatile boolean_T DSMR_RcMsg2A5Mis;
volatile boolean_T DSMR_RcMsg2A7Mis;
volatile boolean_T DSMR_RcMsg2E0Mis;
volatile boolean_T DSMR_RcMsg2E1Mis;
volatile boolean_T DSMR_SocRngHiMax;
volatile boolean_T DSMR_SocRngHiMin;
volatile boolean_T DSMR_SocRngLoMax;
volatile boolean_T DSMR_SocRngLoMin;
volatile boolean_T DSMR_SocValJmp;
volatile boolean_T DSMR_ThmRnwy;
volatile boolean_T DSMR_VeCanBusOff;

/* Model step function */
void DSMR_FaultDspl_step(void)
{
  DSMR_CurrRngErr = ((DFC_CurrRngErr_ASW & 24) == 24);
  DSMR_BattVoltRngErr = ((DFC_BattVoltRngErr_ASW & 24) == 24);
  DSMR_BattHVMsgTmt = ((DFC_BattHVMsgTmt_ASW & 24) == 24);
  DSMR_BusHVMsgTmt = ((DFC_BusHVMsgTmt_ASW & 24) == 24);
  DSMR_638LinCommErr = ((DFC_638LinCommErr_ASW & 24) == 24);
  DSMR_CellTempTmt = ((DFC_CellTempTmt_ASW & 24) == 24);
  DSMR_CellVoltTmt = ((DFC_CellVoltTmt_ASW & 24) == 24);
  DSMR_InCanBusOff = ((DFC_InCanBusOff_ASW & 24) == 24);
  DSMR_VeCanBusOff = ((DFC_VeCanBusOff_ASW & 24) == 24);
  DSMR_Msg2A3Tmt = ((DFC_Msg2A3Tmt_ASW & 24) == 24);
  DSMR_RcMsg2A3Mis = ((DFC_RcMsg2A3Mis_ASW & 24) == 24);
  DSMR_ChkSumMsg2A3Err = ((DFC_ChkSumMsg2A3Err_ASW & 24) == 24);
  DSMR_RcMsg2A5Mis = ((DFC_RcMsg2A5Mis_ASW & 24) == 24);
  DSMR_RcMsg2A7Mis = ((DFC_RcMsg2A7Mis_ASW & 24) == 24);
  DSMR_CrashNpl = ((DFC_CrashNpl_ASW & 24) == 24);
  DSMR_FuseNpl = ((DFC_FuseNpl_ASW & 24) == 24);
  DSMR_Kl30cVoltLoErr = ((DFC_Kl30cVoltLoErr_ASW & 24) == 24);
  DSMR_PosStuckMax = ((DFC_PosStuckMax_ASW & 24) == 24);
  DSMR_MPosStuckMin = ((DFC_MPosStuckMin_ASW & 24) == 24);
  DSMR_MNegStuckMax = ((DFC_MNegStuckMax_ASW & 24) == 24);
  DSMR_MNegStuckMin = ((DFC_MNegStuckMin_ASW & 24) == 24);
  DSMR_PrStuckMin = ((DFC_PrStuckMin_ASW & 24) == 24);
  DSMR_DChrgPosStuckMax = ((DFC_DChrgPosStuckMax_ASW & 24) == 24);
  DSMR_DChrgPosStuckMin = ((DFC_DChrgPosStuckMin_ASW & 24) == 24);
  DSMR_DChrgNegStuckMax = ((DFC_DChrgNegStuckMax_ASW & 24) == 24);
  DSMR_DChrgNegStuckMin = ((DFC_DChrgNegStuckMin_ASW & 24) == 24);
  DSMR_HvPwrUpFail = ((DFC_HvPwrUpFail_ASW & 24) == 24);
  DSMR_DChrgPwrUpFail = ((DFC_DChrgPwrUpFail_ASW & 24) == 24);
  DSMR_BattTAlrmMax = ((DFC_BattTAlrmMax_ASW & 24) == 24);
  DSMR_BattTFaultMax = ((DFC_BattTFaultMax_ASW & 24) == 24);
  DSMR_BattTAlrmMin = ((DFC_BattTAlrmMin_ASW & 24) == 24);
  DSMR_BattTFaultMin = ((DFC_BattTFaultMin_ASW & 24) == 24);
  DSMR_BattTempVldMin = ((DFC_BattTempVldMin_ASW & 24) == 24);
  DSMR_BattTCnstMax = ((DFC_BattTCnstMax_ASW & 24) == 24);
  DSMR_BattTGradtMax = ((DFC_BattTGradtMax_ASW & 24) == 24);
  DSMR_CellVoltAlrmMax = ((DFC_CellVoltAlrmMax_ASW & 24) == 24);
  DSMR_CellVoltFaultMax = ((DFC_CellVoltFaultMax_ASW & 24) == 24);
  DSMR_CellVoltFusfMax = ((DFC_CellVoltFusfMax_ASW & 24) == 24);
  DSMR_CellVoltAlrmMin = ((DFC_CellVoltAlrmMin_ASW & 24) == 24);
  DSMR_CellVoltFusfMin = ((DFC_CellVoltFusfMin_ASW & 24) == 24);
  DSMR_CellVoltFaultMin = ((DFC_CellVoltFaultMin_ASW & 24) == 24);
  DSMR_CellVoltVldMin = ((DFC_CellVoltVldMin_ASW & 24) == 24);
  DSMR_CellVoltNpl = ((DFC_CellVoltNpl_ASW & 24) == 24);
  DSMR_Msg2E6Tmt = ((DFC_Msg2E6Tmt_ASW & 24) == 24);
  DSMR_RcMsg2E0Mis = ((DFC_RcMsg2E0Mis_ASW & 24) == 24);
  DSMR_ChkSumMsg2E0Err = ((DFC_ChkSumMsg2E0Err_ASW & 24) == 24);
  DSMR_RcMsg2E1Mis = ((DFC_RcMsg2E1Mis_ASW & 24) == 24);
  DSMR_ChkSumMsg2E1Err = ((DFC_ChkSumMsg2E1Err_ASW & 24) == 24);
  DSMR_DcCanBusOff = ((DFC_DcCanBusOff_ASW & 24) == 24);
  DSMR_DChrgTCnntMax = ((DFC_DChrgTCnntMax_ASW & 24) == 24);
  DSMR_ChrgOCNpl = ((DFC_ChrgOCNpl_ASW & 24) == 24);
  DSMR_DisChOCNpl = ((DFC_DisChOCNpl_ASW & 24) == 24);
  DSMR_BattVoltHiMax = ((DFC_BattVoltHiMax_ASW & 24) == 24);
  DSMR_BattVoltLoMin = ((DFC_BattVoltLoMin_ASW & 24) == 24);
  DSMR_ThmRnwy = ((DFC_ThmRnwy_ASW & 24) == 24);
  DSMR_AChrgPortOvrTemp = ((DFC_AChrgPortOvrTemp_ASW & 24) == 24);
  DSMR_CurrOffsPlaus = ((DFC_CurrOffsPlaus_ASW & 24) == 24);
  DSMR_CurrStukPlaus = ((DFC_CurrStukPlaus_ASW & 24) == 24);
  DSMR_CurrChrgPlaus = ((DFC_CurrChrgPlaus_ASW & 24) == 24);
  DSMR_BattUNpl = ((DFC_BattUNpl_ASW & 24) == 24);
  DSMR_BattVoltVld = ((DFC_BattVoltVld_ASW & 24) == 24);
  DSMR_PackUNpl = ((DFC_PackUNpl_ASW & 24) == 24);
  DSMR_PackVoltVld = ((DFC_PackVoltVld_ASW & 24) == 24);
  DSMR_DChrgUNpl = ((DFC_DChrgUNpl_ASW & 24) == 24);
  DSMR_DChrgVoltVld = ((DFC_DChrgVoltVld_ASW & 24) == 24);
  DSMR_BoardTempTmt = ((DFC_BoardTempTmt_ASW & 24) == 24);
  DSMR_HvilMax = ((DFC_HvilMax_ASW & 24) == 24);
  DSMR_HvilMin = ((DFC_HvilMin_ASW & 24) == 24);
  DSMR_HvilSig = ((DFC_HvilSig_ASW & 24) == 24);
  DSMR_ChkSumMsg050Err = ((DFC_ChkSumMsg050Err_ASW & 24) == 24);
  DSMR_RcMsg050Mis = ((DFC_RcMsg050Mis_ASW & 24) == 24);
  DSMR_CrashHwNpl = ((DFC_CrashHwNpl_ASW & 24) == 24);
  DSMR_IsoChkLv1 = ((DFC_IsoChkLv1_ASW & 24) == 24);
  DSMR_IsoChkLv2 = ((DFC_IsoChkLv2_ASW & 24) == 24);
  DSMR_InsResValdFault = ((DFC_InsResValdFault_ASW & 24) == 24);
  DSMR_Kl30OutRngErr = ((DFC_Kl30OutRngErr_ASW & 24) == 24);
  DSMR_Kl30VoltLoErr = ((DFC_Kl30VoltLoErr_ASW & 24) == 24);
  DSMR_Kl30VoltHiErr = ((DFC_Kl30VoltHiErr_ASW & 24) == 24);
  DSMR_EepReadErr = ((DFC_EepReadErr_ASW & 24) == 24);
  DSMR_BalStuckMax = ((DFC_BalStuckMax_ASW & 24) == 24);
  DSMR_BalStuckMin = ((DFC_BalStuckMin_ASW & 24) == 24);
  DSMR_CSCPwrSpyHiErr = ((DFC_CSCPwrSpyHiErr_ASW & 24) == 24);
  DSMR_CSCPwrSpyLoErr = ((DFC_CSCPwrSpyLoErr_ASW & 24) == 24);
  DSMR_CmcBordOTMax = ((DFC_CmcBordOTMax_ASW & 24) == 24);
  DSMR_BattTWarnMax = ((DFC_BattTWarnMax_ASW & 24) == 24);
  DSMR_BattTWarnMin = ((DFC_BattTWarnMin_ASW & 24) == 24);
  DSMR_BattTempVldMax = ((DFC_BattTempVldMax_ASW & 24) == 24);
  DSMR_BattTHopMax = ((DFC_BattTHopMax_ASW & 24) == 24);
  DSMR_CellVoltRngHiErr = ((DFC_CellVoltRngHiErr_ASW & 24) == 24);
  DSMR_CellVoltRngLoErr = ((DFC_CellVoltRngLoErr_ASW & 24) == 24);
  DSMR_CellVoltWarnMax = ((DFC_CellVoltWarnMax_ASW & 24) == 24);
  DSMR_CellVoltWarnMin = ((DFC_CellVoltWarnMin_ASW & 24) == 24);
  DSMR_CellVoltVldMax = ((DFC_CellVoltVldMax_ASW & 24) == 24);
  DSMR_AChrgCurrMish = ((DFC_AChrgCurrMish_ASW & 24) == 24);
  DSMR_DChrgCurrMish = ((DFC_DChrgCurrMish_ASW & 24) == 24);
  DSMR_DChrgLowTempCurrMish = ((DFC_DChrgLowTempCurrMish_ASW & 24) == 24);
  DSMR_AChrgVoltMish = ((DFC_AChrgVoltMish_ASW & 24) == 24);
  DSMR_DChrgVoltMish = ((DFC_DChrgVoltMish_ASW & 24) == 24);
  DSMR_DChrgBattTMin = ((DFC_DChrgBattTMin_ASW & 24) == 24);
  DSMR_CC2Chk = ((DFC_CC2Chk_ASW & 24) == 24);
  DSMR_APlusChk = ((DFC_APlusChk_ASW & 24) == 24);
  DSMR_DChrgMsgTmt = ((DFC_DChrgMsgTmt_ASW & 24) == 24);
  DSMR_DChrgTNegElecMax = ((DFC_DChrgTNegElecMax_ASW & 24) == 24);
  DSMR_DChrgTNegElecMin = ((DFC_DChrgTNegElecMin_ASW & 24) == 24);
  DSMR_DChrgTNegElecSig = ((DFC_DChrgTNegElecSig_ASW & 24) == 24);
  DSMR_DChrgTPosElecMax = ((DFC_DChrgTPosElecMax_ASW & 24) == 24);
  DSMR_DChrgTPosElecMin = ((DFC_DChrgTPosElecMin_ASW & 24) == 24);
  DSMR_DChrgTPosElecSig = ((DFC_DChrgTPosElecSig_ASW & 24) == 24);
  DSMR_CcuSelfChkErr = ((DFC_CcuSelfChkErr_ASW & 24) == 24);
  DSMR_ChrgOCMin = ((DFC_ChrgOCMin_ASW & 24) == 24);
  DSMR_ChrgOCMax = ((DFC_ChrgOCMax_ASW & 24) == 24);
  DSMR_DisChOCMin = ((DFC_DisChOCMin_ASW & 24) == 24);
  DSMR_DisChOCMax = ((DFC_DisChOCMax_ASW & 24) == 24);
  DSMR_SocRngLoMax = ((DFC_SocRngLoMax_ASW & 24) == 24);
  DSMR_SocRngLoMin = ((DFC_SocRngLoMin_ASW & 24) == 24);
  DSMR_SocRngHiMax = ((DFC_SocRngHiMax_ASW & 24) == 24);
  DSMR_SocRngHiMin = ((DFC_SocRngHiMin_ASW & 24) == 24);
  DSMR_InClntOverTmp = ((DFC_InClntOverTmp_ASW & 24) == 24);
  DSMR_OutClntOverTmp = ((DFC_OutClntOverTmp_ASW & 24) == 24);
  DSMR_ClntDsTElecMax = ((DFC_ClntDsTElecMax_ASW & 24) == 24);
  DSMR_ClntDsTElecMin = ((DFC_ClntDsTElecMin_ASW & 24) == 24);
  DSMR_ClntDsTElecSig = ((DFC_ClntDsTElecSig_ASW & 24) == 24);
  DSMR_ClntUsTElecMax = ((DFC_ClntUsTElecMax_ASW & 24) == 24);
  DSMR_ClntUsTElecMin = ((DFC_ClntUsTElecMin_ASW & 24) == 24);
  DSMR_ClntUsTElecSig = ((DFC_ClntUsTElecSig_ASW & 24) == 24);
  DSMR_CoolPerfPlaus = ((DFC_CoolPerfPlaus_ASW & 24) == 24);
  DSMR_HtgPerfPlaus = ((DFC_HtgPerfPlaus_ASW & 24) == 24);
  DSMR_DChrgFobd = ((DFC_DChrgFobd_ASW & 24) == 24);
  DSMR_DChrgHvOnFail = ((DFC_DChrgHvOnFail_ASW & 24) == 24);
  DSMR_AChgHVOnTmt = ((DFC_AChgHVOnTmt_ASW & 24) == 24);
  DSMR_AChgHVOffTmt = ((DFC_AChgHVOffTmt_ASW & 24) == 24);
  DSMR_AChgS2ClsdTmt = ((DFC_AChgS2ClsdTmt_ASW & 24) == 24);
  DSMR_DChrgStakeErr = ((DFC_DChrgStakeErr_ASW & 24) == 24);
  DSMR_DChrgStkVoltErr = ((DFC_DChrgStkVoltErr_ASW & 24) == 24);
  DSMR_DChrgStkCurrErr = ((DFC_DChrgStkCurrErr_ASW & 24) == 24);
  DSMR_AChgPileRdyTmt = ((DFC_AChgPileRdyTmt_ASW & 24) == 24);
  DSMR_DChrgCHMTmt = ((DFC_DChrgCHMTmt_ASW & 24) == 24);
  DSMR_DChrgCRMTmt = ((DFC_DChrgCRMTmt_ASW & 24) == 24);
  DSMR_DChrgCMLTmt = ((DFC_DChrgCMLTmt_ASW & 24) == 24);
  DSMR_DChrgCROTmt = ((DFC_DChrgCROTmt_ASW & 24) == 24);
  DSMR_DChrgCCSTmt = ((DFC_DChrgCCSTmt_ASW & 24) == 24);
  DSMR_DChrgCSTTmt = ((DFC_DChrgCSTTmt_ASW & 24) == 24);
  DSMR_DChrgCSDTmt = ((DFC_DChrgCSDTmt_ASW & 24) == 24);
  DSMR_DChrgParaChk = ((DFC_DChrgParaChk_ASW & 24) == 24);
  DSMR_DChrgCableChk = ((DFC_DChrgCableChk_ASW & 24) == 24);
  DSMR_DChrgSLACTOut = ((DFC_DChrgSLACTOut_ASW & 24) == 24);
  DSMR_DChrgCnntErr = ((DFC_DChrgCnntErr_ASW & 24) == 24);
  DSMR_DChrgLckErr = ((DFC_DChrgLckErr_ASW & 24) == 24);
  DSMR_AChrgCnntErr = ((DFC_AChrgCnntErr_ASW & 24) == 24);
  DSMR_AChgLckTmt = ((DFC_AChgLckTmt_ASW & 24) == 24);
  DSMR_AChgRdyPndiTmt = ((DFC_AChgRdyPndiTmt_ASW & 24) == 24);
  DSMR_AChgRdyTmt = ((DFC_AChgRdyTmt_ASW & 24) == 24);
  DSMR_AChgingErr = ((DFC_AChgingErr_ASW & 24) == 24);
  DSMR_AChgUnlckTmt = ((DFC_AChgUnlckTmt_ASW & 24) == 24);
  DSMR_AChgFobd = ((DFC_AChgFobd_ASW & 24) == 24);
  DSMR_SocValJmp = ((DFC_SocValJmp_ASW & 24) == 24);
}

/* Model initialize function */
void DSMR_FaultDspl_initialize(void)
{
  /* Registration code */

  /* block I/O */

  /* custom signals */
  DSMR_CurrRngErr = false;
  DSMR_BattVoltRngErr = false;
  DSMR_BattHVMsgTmt = false;
  DSMR_BusHVMsgTmt = false;
  DSMR_638LinCommErr = false;
  DSMR_CellTempTmt = false;
  DSMR_CellVoltTmt = false;
  DSMR_InCanBusOff = false;
  DSMR_VeCanBusOff = false;
  DSMR_Msg2A3Tmt = false;
  DSMR_RcMsg2A3Mis = false;
  DSMR_ChkSumMsg2A3Err = false;
  DSMR_RcMsg2A5Mis = false;
  DSMR_RcMsg2A7Mis = false;
  DSMR_CrashNpl = false;
  DSMR_FuseNpl = false;
  DSMR_Kl30cVoltLoErr = false;
  DSMR_PosStuckMax = false;
  DSMR_MPosStuckMin = false;
  DSMR_MNegStuckMax = false;
  DSMR_MNegStuckMin = false;
  DSMR_PrStuckMin = false;
  DSMR_DChrgPosStuckMax = false;
  DSMR_DChrgPosStuckMin = false;
  DSMR_DChrgNegStuckMax = false;
  DSMR_DChrgNegStuckMin = false;
  DSMR_HvPwrUpFail = false;
  DSMR_DChrgPwrUpFail = false;
  DSMR_BattTAlrmMax = false;
  DSMR_BattTFaultMax = false;
  DSMR_BattTAlrmMin = false;
  DSMR_BattTFaultMin = false;
  DSMR_BattTempVldMin = false;
  DSMR_BattTCnstMax = false;
  DSMR_BattTGradtMax = false;
  DSMR_CellVoltAlrmMax = false;
  DSMR_CellVoltFaultMax = false;
  DSMR_CellVoltFusfMax = false;
  DSMR_CellVoltAlrmMin = false;
  DSMR_CellVoltFusfMin = false;
  DSMR_CellVoltFaultMin = false;
  DSMR_CellVoltVldMin = false;
  DSMR_CellVoltNpl = false;
  DSMR_Msg2E6Tmt = false;
  DSMR_RcMsg2E0Mis = false;
  DSMR_ChkSumMsg2E0Err = false;
  DSMR_RcMsg2E1Mis = false;
  DSMR_ChkSumMsg2E1Err = false;
  DSMR_DcCanBusOff = false;
  DSMR_DChrgTCnntMax = false;
  DSMR_ChrgOCNpl = false;
  DSMR_DisChOCNpl = false;
  DSMR_BattVoltHiMax = false;
  DSMR_BattVoltLoMin = false;
  DSMR_ThmRnwy = false;
  DSMR_AChrgPortOvrTemp = false;
  DSMR_CurrOffsPlaus = false;
  DSMR_CurrStukPlaus = false;
  DSMR_CurrChrgPlaus = false;
  DSMR_BattUNpl = false;
  DSMR_BattVoltVld = false;
  DSMR_PackUNpl = false;
  DSMR_PackVoltVld = false;
  DSMR_DChrgUNpl = false;
  DSMR_DChrgVoltVld = false;
  DSMR_BoardTempTmt = false;
  DSMR_HvilMax = false;
  DSMR_HvilMin = false;
  DSMR_HvilSig = false;
  DSMR_ChkSumMsg050Err = false;
  DSMR_RcMsg050Mis = false;
  DSMR_CrashHwNpl = false;
  DSMR_IsoChkLv1 = false;
  DSMR_IsoChkLv2 = false;
  DSMR_InsResValdFault = false;
  DSMR_Kl30OutRngErr = false;
  DSMR_Kl30VoltLoErr = false;
  DSMR_Kl30VoltHiErr = false;
  DSMR_EepReadErr = false;
  DSMR_BalStuckMax = false;
  DSMR_BalStuckMin = false;
  DSMR_CSCPwrSpyHiErr = false;
  DSMR_CSCPwrSpyLoErr = false;
  DSMR_CmcBordOTMax = false;
  DSMR_BattTWarnMax = false;
  DSMR_BattTWarnMin = false;
  DSMR_BattTempVldMax = false;
  DSMR_BattTHopMax = false;
  DSMR_CellVoltRngHiErr = false;
  DSMR_CellVoltRngLoErr = false;
  DSMR_CellVoltWarnMax = false;
  DSMR_CellVoltWarnMin = false;
  DSMR_CellVoltVldMax = false;
  DSMR_AChrgCurrMish = false;
  DSMR_DChrgCurrMish = false;
  DSMR_DChrgLowTempCurrMish = false;
  DSMR_AChrgVoltMish = false;
  DSMR_DChrgVoltMish = false;
  DSMR_DChrgBattTMin = false;
  DSMR_CC2Chk = false;
  DSMR_APlusChk = false;
  DSMR_DChrgMsgTmt = false;
  DSMR_DChrgTNegElecMax = false;
  DSMR_DChrgTNegElecMin = false;
  DSMR_DChrgTNegElecSig = false;
  DSMR_DChrgTPosElecMax = false;
  DSMR_DChrgTPosElecMin = false;
  DSMR_DChrgTPosElecSig = false;
  DSMR_CcuSelfChkErr = false;
  DSMR_ChrgOCMin = false;
  DSMR_ChrgOCMax = false;
  DSMR_DisChOCMin = false;
  DSMR_DisChOCMax = false;
  DSMR_SocRngLoMax = false;
  DSMR_SocRngLoMin = false;
  DSMR_SocRngHiMax = false;
  DSMR_SocRngHiMin = false;
  DSMR_InClntOverTmp = false;
  DSMR_OutClntOverTmp = false;
  DSMR_ClntDsTElecMax = false;
  DSMR_ClntDsTElecMin = false;
  DSMR_ClntDsTElecSig = false;
  DSMR_ClntUsTElecMax = false;
  DSMR_ClntUsTElecMin = false;
  DSMR_ClntUsTElecSig = false;
  DSMR_CoolPerfPlaus = false;
  DSMR_HtgPerfPlaus = false;
  DSMR_DChrgFobd = false;
  DSMR_DChrgHvOnFail = false;
  DSMR_AChgHVOnTmt = false;
  DSMR_AChgHVOffTmt = false;
  DSMR_AChgS2ClsdTmt = false;
  DSMR_DChrgStakeErr = false;
  DSMR_DChrgStkVoltErr = false;
  DSMR_DChrgStkCurrErr = false;
  DSMR_AChgPileRdyTmt = false;
  DSMR_DChrgCHMTmt = false;
  DSMR_DChrgCRMTmt = false;
  DSMR_DChrgCMLTmt = false;
  DSMR_DChrgCROTmt = false;
  DSMR_DChrgCCSTmt = false;
  DSMR_DChrgCSTTmt = false;
  DSMR_DChrgCSDTmt = false;
  DSMR_DChrgParaChk = false;
  DSMR_DChrgCableChk = false;
  DSMR_DChrgSLACTOut = false;
  DSMR_DChrgCnntErr = false;
  DSMR_DChrgLckErr = false;
  DSMR_AChrgCnntErr = false;
  DSMR_AChgLckTmt = false;
  DSMR_AChgRdyPndiTmt = false;
  DSMR_AChgRdyTmt = false;
  DSMR_AChgingErr = false;
  DSMR_AChgUnlckTmt = false;
  DSMR_AChgFobd = false;
  DSMR_SocValJmp = false;
}

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