/*
 * File: IOS_OUP_private.h
 *
 * Code generated for Simulink model 'IOS_OUP'.
 *
 * Model version                  : 1.1
 * Simulink Coder version         : 8.13 (R2017b) 24-Jul-2017
 * C/C++ source code generated on : Tue Jun 16 14:22:28 2020
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: Generic->Unspecified (assume 32-bit Generic)
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */

#ifndef RTW_HEADER_IOS_OUP_private_h_
#define RTW_HEADER_IOS_OUP_private_h_
#include "rtwtypes.h"
#include "IOS_OUP.h"
#ifndef UCHAR_MAX
#include <limits.h>
#endif

#if ( UCHAR_MAX != (0xFFU) ) || ( SCHAR_MAX != (0x7F) )
#error Code was generated for compiler with different sized uchar/char. \
Consider adjusting Test hardware word size settings on the \
Hardware Implementation pane to match your compiler word sizes as \
defined in limits.h of the compiler. Alternatively, you can \
select the Test hardware is the same as production hardware option and \
select the Enable portable word sizes option on the Code Generation > \
Verification pane for ERT based targets, which will disable the \
preprocessor word size checks.
#endif

#if ( USHRT_MAX != (0xFFFFU) ) || ( SHRT_MAX != (0x7FFF) )
#error Code was generated for compiler with different sized ushort/short. \
Consider adjusting Test hardware word size settings on the \
Hardware Implementation pane to match your compiler word sizes as \
defined in limits.h of the compiler. Alternatively, you can \
select the Test hardware is the same as production hardware option and \
select the Enable portable word sizes option on the Code Generation > \
Verification pane for ERT based targets, which will disable the \
preprocessor word size checks.
#endif

#if ( UINT_MAX != (0xFFFFFFFFU) ) || ( INT_MAX != (0x7FFFFFFF) )
#error Code was generated for compiler with different sized uint/int. \
Consider adjusting Test hardware word size settings on the \
Hardware Implementation pane to match your compiler word sizes as \
defined in limits.h of the compiler. Alternatively, you can \
select the Test hardware is the same as production hardware option and \
select the Enable portable word sizes option on the Code Generation > \
Verification pane for ERT based targets, which will disable the \
preprocessor word size checks.
#endif

#if ( ULONG_MAX != (0xFFFFFFFFU) ) || ( LONG_MAX != (0x7FFFFFFF) )
#error Code was generated for compiler with different sized ulong/long. \
Consider adjusting Test hardware word size settings on the \
Hardware Implementation pane to match your compiler word sizes as \
defined in limits.h of the compiler. Alternatively, you can \
select the Test hardware is the same as production hardware option and \
select the Enable portable word sizes option on the Code Generation > \
Verification pane for ERT based targets, which will disable the \
preprocessor word size checks.
#endif

/* Imported (extern) block signals */
extern uint32_T BMS_Software_Version;  /* '<S193>/Conversion' */
extern uint32_T BMS_DTC_2;             /* '<S24>/Conversion' */
extern uint32_T BMS_DTC_1;             /* '<S23>/Conversion' */
extern uint16_T BMS_uNegVolt;          /* '<S242>/Conversion' */
extern uint16_T BMS_uDChrgVoltRaw;     /* '<S241>/Conversion' */
extern uint16_T BMS_uDchrgNegVolt;     /* '<S240>/Conversion' */
extern uint16_T BMS_uPackVoltRaw;      /* '<S239>/Conversion' */
extern uint16_T BMS_IsoVoltPos;        /* '<S192>/Conversion' */
extern uint16_T BMS_IsoVoltNeg;        /* '<S189>/Conversion' */
extern uint16_T BMS_Chg_RemTime;       /* '<S294>/Conversion' */
extern uint16_T BMS_Insulation_R;      /* '<S293>/Conversion' */
extern uint16_T BMS_ChgPeakVolt;       /* '<S133>/Conversion' */
extern uint16_T BMS_DischgPeakVolt;    /* '<S122>/Conversion' */
extern uint16_T BMS_DChrgVoltReq;      /* '<S27>/Conversion' */
extern uint16_T BMS_StateOfEnergy;     /* '<S288>/Conversion' */
extern uint16_T BMS_DischgConstCurrMAX;/* '<S275>/Conversion' */
extern uint16_T BMS_PackInVoltage_A;   /* '<S271>/Conversion' */
extern uint16_T BMS_ChargeVoltage;     /* '<S221>/Conversion' */
extern uint16_T BMS_MaxChgVolt;        /* '<S210>/Conversion' */
extern uint16_T BMS_ActualChargePower; /* '<S199>/Conversion' */
extern uint16_T BMS_ChgConstPower;     /* '<S177>/Conversion' */
extern uint16_T BMS_DischgConstPower;  /* '<S166>/Conversion' */
extern uint16_T BMS_ChgPeakPower;      /* '<S155>/Conversion' */
extern uint16_T BMS_DischgPeakPower;   /* '<S144>/Conversion' */
extern uint16_T BMS_DischgPeakCurr;    /* '<S99>/Conversion' */
extern uint16_T BMS_HeatPowerReq;      /* '<S66>/Conversion' */
extern uint16_T BMS_CoolPowerReq;      /* '<S55>/Conversion' */
extern uint16_T BMS_PackVoltage;       /* '<S298>/Conversion' */
extern uint16_T BCL_ChgVoltReq;        /* '<S396>/Conversion' */
extern uint16_T BHM_PackMaxChrgVoltPmtd;/* '<S391>/Conversion' */
extern uint16_T BMS_DChrgCurrReq;      /* '<S28>/Conversion' */
extern uint16_T BCL_ChgCurrReq;        /* '<S349>/Conversion' */
extern uint16_T BHM_PackMaxChrgCurrPmtd;/* '<S393>/Conversion' */
extern uint16_T BMS_ChgPeakCurr;       /* '<S110>/Conversion' */
extern uint16_T BMS_ChgConstCurrMAX;   /* '<S278>/Conversion' */
extern uint16_T BMS_ChgCurrReq;        /* '<S255>/Conversion' */
extern uint16_T BMS_PackCurrent;       /* '<S320>/Conversion' */
extern uint16_T BMS_PackCurrent_Lem;   /* '<S270>/Conversion' */
extern uint16_T BMS_BattEngy;          /* '<S285>/Conversion' */
extern uint16_T BSD_Cell_MaxVoltduringChg;/* '<S382>/Conversion' */
extern uint16_T BSD_Cell_MinVoltduringChg;/* '<S381>/Conversion' */
extern uint16_T BMS_CellVolt_4_A;      /* '<S330>/Conversion' */
extern uint16_T BMS_CellVolt_3_A;      /* '<S329>/Conversion' */
extern uint16_T BMS_CellVolt_2_A;      /* '<S328>/Conversion' */
extern uint16_T BMS_CellVolt_1_A;      /* '<S327>/Conversion' */
extern uint16_T BMS_CellVolt_Min;      /* '<S325>/Conversion' */
extern uint16_T BMS_CellVolt_Max;      /* '<S322>/Conversion' */
extern uint8_T BMS_Data8;              /* '<S257>/Conversion' */
extern uint8_T BMS_Data7;              /* '<S256>/Conversion' */
extern uint8_T BMS_Data6;              /* '<S254>/Conversion' */
extern uint8_T BMS_Data5;              /* '<S253>/Conversion' */
extern uint8_T BMS_Data4;              /* '<S252>/Conversion' */
extern uint8_T BMS_Data3;              /* '<S251>/Conversion' */
extern uint8_T FLT_DChrgLckErr;        /* '<S250>/Conversion' */
extern uint8_T FLT_DChrgCnntErr;       /* '<S249>/Conversion' */
extern uint8_T BMS_NetMagTransfer;     /* '<S248>/Conversion' */
extern uint8_T BMS_NetMagStateObsr;    /* '<S247>/Conversion' */
extern uint8_T BMS_EvccMode;         /* '<S246>/Conversion' */
extern uint8_T BMS_stDChrgCtrDiag;     /* '<S245>/Conversion' */
extern uint8_T BMS_stMainCtrDiagMode;  /* '<S243>/Conversion' */
extern uint8_T BMS_bAcDischgRdy;       /* '<S238>/Conversion' */
extern uint8_T BMS_bAcDischgFobd;      /* '<S237>/Conversion' */
extern uint8_T FLT_DChrgParaChk;       /* '<S236>/Conversion' */
extern uint8_T FLT_AChrgPortOvrTemp;   /* '<S235>/Conversion' */
extern uint8_T BMS_bSw5CtrDiagSwt;     /* '<S234>/Conversion' */
extern uint8_T BMS_CurrReqMin;         /* '<S231>/Conversion' */
extern uint8_T BMS_CurrReqMax;         /* '<S230>/Conversion' */
extern uint8_T FLT_DChrgSLACTmt;       /* '<S229>/Conversion' */
extern uint8_T FLT_DChrgCableChk;      /* '<S228>/Conversion' */
extern uint8_T FLT_DChrgPreChTOut;     /* '<S227>/Conversion' */
extern uint8_T FLT_DChrgTCnntMax;      /* '<S226>/Conversion' */
extern uint8_T FLT_DChrgHvOnFail;      /* '<S225>/Conversion' */
extern uint8_T FLT_DChrgCSDTmt;        /* '<S224>/Conversion' */
extern uint8_T FLT_DChrgStkCurrErr;    /* '<S223>/Conversion' */
extern uint8_T FLT_DChrgCSTTmt;        /* '<S222>/Conversion' */
extern uint8_T FLT_DChrgCCSTmt;        /* '<S220>/Conversion' */
extern uint8_T FLT_DChrgStkVoltErr;    /* '<S219>/Conversion' */
extern uint8_T FLT_DChrgCROTmt;        /* '<S218>/Conversion' */
extern uint8_T FLT_DChrgFobd;          /* '<S217>/Conversion' */
extern uint8_T FLT_DChrgCMLTmt;        /* '<S216>/Conversion' */
extern uint8_T FLT_DChrgCRMTmt;        /* '<S215>/Conversion' */
extern uint8_T FLT_DChrgCHMTmt;        /* '<S214>/Conversion' */
extern uint8_T FLT_DChrgStakeErr;      /* '<S213>/Conversion' */
extern uint8_T BMS_stAChrgObsr;        /* '<S212>/Conversion' */
extern uint8_T BMS_stPreThmFltCode;    /* '<S211>/Conversion' */
extern uint8_T BMS_stPreThmObsvr;      /* '<S209>/Conversion' */
extern uint8_T FLT_AChgFobd;           /* '<S208>/Conversion' */
extern uint8_T FLT_AChgUnlckTmt;       /* '<S207>/Conversion' */
extern uint8_T FLT_AChgHVOffTmt;       /* '<S206>/Conversion' */
extern uint8_T FLT_AChgingErr;         /* '<S205>/Conversion' */
extern uint8_T FLT_AChgRdyTmt;         /* '<S204>/Conversion' */
extern uint8_T FLT_AChgRdyPendingTmOut;/* '<S203>/Conversion' */
extern uint8_T FLT_AChgHVOnTmt;        /* '<S202>/Conversion' */
extern uint8_T FLT_AChgLckTmt;         /* '<S201>/Conversion' */
extern uint8_T FLT_EVCCSelfChkFlt;     /* '<S200>/Conversion' */
extern uint8_T FLT_AChrgCnntErr;       /* '<S198>/Conversion' */
extern uint8_T FLT_AChgPileRdyTmt;     /* '<S197>/Conversion' */
extern uint8_T FLT_AChgS2ClsdTmt;      /* '<S196>/Conversion' */
extern uint8_T FLT_AChrgAbnmExit;      /* '<S195>/Conversion' */
extern uint8_T FLT_AChrgFltCode;       /* '<S194>/Conversion' */
extern uint8_T BMS_DChrgModeDebug;     /* '<S187>/Conversion' */
extern uint8_T BMS_DChrgTimeout;       /* '<S186>/Conversion' */
extern uint8_T BMS_DChrgWkUp;          /* '<S185>/Conversion' */
extern uint8_T FLT_HvPwrUpFail;        /* '<S184>/Conversion' */
extern uint8_T FLT_DChrgPwrUpFail;     /* '<S183>/Conversion' */
extern uint8_T FLT_HtgPerfPlaus;       /* '<S182>/Conversion' */
extern uint8_T FLT_CurrStukPlaus;      /* '<S181>/Conversion' */
extern uint8_T FLT_CurrOffsPlaus;      /* '<S180>/Conversion' */
extern uint8_T FLT_CurrChrgPlaus;      /* '<S179>/Conversion' */
extern uint8_T FLT_DChrgVoltMish;      /* '<S178>/Conversion' */
extern uint8_T FLT_DChrgMsgTmt;        /* '<S176>/Conversion' */
extern uint8_T FLT_DChrgLowTempCurrMish;/* '<S175>/Conversion' */
extern uint8_T FLT_DChrgCurrMish;      /* '<S174>/Conversion' */
extern uint8_T FLT_DChrgBattTMin;      /* '<S173>/Conversion' */
extern uint8_T FLT_CC2Chk;             /* '<S172>/Conversion' */
extern uint8_T FLT_APlusChk;           /* '<S171>/Conversion' */
extern uint8_T FLT_AChrgVoltMish;      /* '<S170>/Conversion' */
extern uint8_T FLT_AChrgCurrMish;      /* '<S169>/Conversion' */
extern uint8_T FLT_CoolPerfPlaus;      /* '<S168>/Conversion' */
extern uint8_T FLT_BattVoltVld;        /* '<S167>/Conversion' */
extern uint8_T FLT_DChrgVoltVld;       /* '<S165>/Conversion' */
extern uint8_T FLT_PackVoltVld;        /* '<S164>/Conversion' */
extern uint8_T FLT_DChrgTPosElecSig;   /* '<S163>/Conversion' */
extern uint8_T FLT_DChrgTPosElecMin;   /* '<S162>/Conversion' */
extern uint8_T FLT_DChrgTPosElecMax;   /* '<S161>/Conversion' */
extern uint8_T FLT_DChrgTNegElecSig;   /* '<S160>/Conversion' */
extern uint8_T FLT_DChrgTNegElecMin;   /* '<S159>/Conversion' */
extern uint8_T FLT_DChrgTNegElecMax;   /* '<S158>/Conversion' */
extern uint8_T FLT_ClntUsTElecSig;     /* '<S157>/Conversion' */
extern uint8_T FLT_ClntUsTElecMin;     /* '<S156>/Conversion' */
extern uint8_T FLT_ClntUsTElecMax;     /* '<S154>/Conversion' */
extern uint8_T FLT_ClntDsTElecSig;     /* '<S153>/Conversion' */
extern uint8_T FLT_ClntDsTElecMin;     /* '<S152>/Conversion' */
extern uint8_T FLT_ClntDsTElecMax;     /* '<S151>/Conversion' */
extern uint8_T FLT_BattTGradtMax;      /* '<S150>/Conversion' */
extern uint8_T FLT_BattTempVldMin;     /* '<S149>/Conversion' */
extern uint8_T FLT_BattTempVldMax;     /* '<S148>/Conversion' */
extern uint8_T FLT_CellVoltVldMin;     /* '<S147>/Conversion' */
extern uint8_T FLT_CellVoltVldMax;     /* '<S146>/Conversion' */
extern uint8_T FLT_InsResValdFault;    /* '<S145>/Conversion' */
extern uint8_T FLT_IsoChkLv2;          /* '<S143>/Conversion' */
extern uint8_T FLT_IsoChkLv1;          /* '<S142>/Conversion' */
extern uint8_T FLT_Vcu2A3Tmt;          /* '<S141>/Conversion' */
extern uint8_T FLT_Obc2E1Tmt;          /* '<S140>/Conversion' */
extern uint8_T FLT_Obc2E0Tmt;          /* '<S139>/Conversion' */
extern uint8_T FLT_CellVoltTmt;        /* '<S138>/Conversion' */
extern uint8_T FLT_CellTempTmt;        /* '<S137>/Conversion' */
extern uint8_T FLT_BoardTempTmt;       /* '<S136>/Conversion' */
extern uint8_T FLT_BusHVMsgTmt;        /* '<S135>/Conversion' */
extern uint8_T FLT_BattHVMsgTmt;       /* '<S134>/Conversion' */
extern uint8_T FLT_Kl30VoltLoErr;      /* '<S132>/Conversion' */
extern uint8_T FLT_Kl30VoltHiErr;      /* '<S131>/Conversion' */
extern uint8_T FLT_Kl30OutRngErr;      /* '<S130>/Conversion' */
extern uint8_T FLT_Kl30cVoltLoErr;     /* '<S129>/Conversion' */
extern uint8_T FLT_OutClntOverTmp;     /* '<S128>/Conversion' */
extern uint8_T FLT_InClntOverTmp;      /* '<S127>/Conversion' */
extern uint8_T FLT_EepReadErr;         /* '<S126>/Conversion' */
extern uint8_T FLT_CscCellVoltOpenLine;/* '<S125>/Conversion' */
extern uint8_T FLT_CscCellTempOpenLine;/* '<S124>/Conversion' */
extern uint8_T FLT_CSCPwrSpyLoErr;     /* '<S123>/Conversion' */
extern uint8_T FLT_CSCPwrSpyHiErr;     /* '<S120>/Conversion' */
extern uint8_T FLT_638LinCommErr;      /* '<S119>/Conversion' */
extern uint8_T FLT_RcMsg2E1Mis;        /* '<S118>/Conversion' */
extern uint8_T FLT_RcMsg2E0Mis;        /* '<S117>/Conversion' */
extern uint8_T FLT_RcMsg2A7Mis;        /* '<S116>/Conversion' */
extern uint8_T FLT_RcMsg2A5Mis;        /* '<S115>/Conversion' */
extern uint8_T FLT_RcMsg2A3Mis;        /* '<S114>/Conversion' */
extern uint8_T FLT_RcMsg050Mis;        /* '<S113>/Conversion' */
extern uint8_T FLT_ChkSumMsg2E1Err;    /* '<S112>/Conversion' */
extern uint8_T FLT_ChkSumMsg2E0Err;    /* '<S111>/Conversion' */
extern uint8_T FLT_ChkSumMsg2A3Err;    /* '<S109>/Conversion' */
extern uint8_T FLT_ChkSumMsg050Err;    /* '<S108>/Conversion' */
extern uint8_T FLT_VeCanBusOff;        /* '<S107>/Conversion' */
extern uint8_T FLT_InCanBusOff;        /* '<S106>/Conversion' */
extern uint8_T FLT_DcCanBusOff;        /* '<S105>/Conversion' */
extern uint8_T FLT_CrashNpl;           /* '<S104>/Conversion' */
extern uint8_T FLT_HvilSig;            /* '<S103>/Conversion' */
extern uint8_T FLT_HvilMin;            /* '<S102>/Conversion' */
extern uint8_T FLT_HvilMax;            /* '<S101>/Conversion' */
extern uint8_T FLT_DChrgPosStuckMin;   /* '<S100>/Conversion' */
extern uint8_T FLT_DChrgPosStuckMax;   /* '<S98>/Conversion' */
extern uint8_T FLT_DChrgNegStuckMin;   /* '<S97>/Conversion' */
extern uint8_T FLT_DChrgNegStuckMax;   /* '<S96>/Conversion' */
extern uint8_T FLT_PrStuckMin;         /* '<S95>/Conversion' */
extern uint8_T FLT_PosStuckMax;        /* '<S94>/Conversion' */
extern uint8_T FLT_MPosStuckMin;       /* '<S93>/Conversion' */
extern uint8_T FLT_MNegStuckMin;       /* '<S92>/Conversion' */
extern uint8_T FLT_MNegStuckMax;       /* '<S91>/Conversion' */
extern uint8_T FLT_SocRngLoMin;        /* '<S90>/Conversion' */
extern uint8_T FLT_SocRngLoMax;        /* '<S89>/Conversion' */
extern uint8_T FLT_SocRngHiMin;        /* '<S87>/Conversion' */
extern uint8_T FLT_SocRngHiMax;        /* '<S86>/Conversion' */
extern uint8_T FLT_DisChOCNpl;         /* '<S85>/Conversion' */
extern uint8_T FLT_DisChOCMin;         /* '<S84>/Conversion' */
extern uint8_T FLT_DisChOCMax;         /* '<S83>/Conversion' */
extern uint8_T FLT_ChrgOCNpl;          /* '<S82>/Conversion' */
extern uint8_T FLT_ChrgOCMin;          /* '<S81>/Conversion' */
extern uint8_T FLT_ChrgOCMax;          /* '<S80>/Conversion' */
extern uint8_T FLT_BattTHopMax;        /* '<S79>/Conversion' */
extern uint8_T FLT_BattTCnstMax;       /* '<S78>/Conversion' */
extern uint8_T FLT_BattTFaultMin;      /* '<S76>/Conversion' */
extern uint8_T FLT_BattTFaultMax;      /* '<S75>/Conversion' */
extern uint8_T FLT_BattTAlrmMin;       /* '<S74>/Conversion' */
extern uint8_T FLT_BattTAlrmMax;       /* '<S73>/Conversion' */
extern uint8_T FLT_BattTWarnMin;       /* '<S72>/Conversion' */
extern uint8_T FLT_BattTWarnMax;       /* '<S71>/Conversion' */
extern uint8_T FLT_CellVoltFusfMin;    /* '<S70>/Conversion' */
extern uint8_T FLT_CellVoltFusfMax;    /* '<S69>/Conversion' */
extern uint8_T FLT_CellVoltFaultMin;   /* '<S68>/Conversion' */
extern uint8_T FLT_CellVoltFaultMax;   /* '<S67>/Conversion' */
extern uint8_T FLT_CellVoltAlrmMin;    /* '<S65>/Conversion' */
extern uint8_T FLT_CellVoltAlrmMax;    /* '<S64>/Conversion' */
extern uint8_T FLT_CellVoltWarnMin;    /* '<S63>/Conversion' */
extern uint8_T FLT_CellVoltWarnMax;    /* '<S62>/Conversion' */
extern uint8_T FLT_CellVoltNpl;        /* '<S61>/Conversion' */
extern uint8_T FLT_PackUNpl;           /* '<S60>/Conversion' */
extern uint8_T FLT_DChrgUNpl;          /* '<S59>/Conversion' */
extern uint8_T FLT_BattUNpl;           /* '<S58>/Conversion' */
extern uint8_T NMBMS_ActiveSource2;    /* '<S57>/Conversion' */
extern uint8_T NMBMS_ActiveSource1;    /* '<S56>/Conversion' */
extern uint8_T NMBMS_WakeSource;       /* '<S54>/Conversion' */
extern uint8_T NMBMS_NormalFromReady;  /* '<S53>/Conversion' */
extern uint8_T NMBMS_NormalFromRepeat; /* '<S52>/Conversion' */
extern uint8_T NMBMS_RepeatFromReady;  /* '<S51>/Conversion' */
extern uint8_T NMBMS_RepeatFromNormal; /* '<S50>/Conversion' */
extern uint8_T NMBMS_RepeatFromPrepare;/* '<S49>/Conversion' */
extern uint8_T NMBMS_RepeatFromSleep;  /* '<S48>/Conversion' */
extern uint8_T NMBMS_Actwake;          /* '<S47>/Conversion' */
extern uint8_T NMBMS_RepeatReq;        /* '<S46>/Conversion' */
extern uint8_T NMBMS_SourceID;         /* '<S45>/Conversion' */
extern uint8_T BMS_ChrgVoltAbnrm;      /* '<S43>/Conversion' */
extern uint8_T BMS_ChrgCurrAbnrm;      /* '<S42>/Conversion' */
extern uint8_T BMS_OtherErr;           /* '<S41>/Conversion' */
extern uint8_T BMS_CC2ChkVoltErr;      /* '<S40>/Conversion' */
extern uint8_T BMS_MainRelayErr;       /* '<S39>/Conversion' */
extern uint8_T BMS_BattOvrTempErr;     /* '<S38>/Conversion' */
extern uint8_T BMS_ChrgCnntErr;        /* '<S37>/Conversion' */
extern uint8_T BMS_stPcbOvrTempErr;    /* '<S36>/Conversion' */
extern uint8_T BMS_stDChrgOutpCnntOvrTempErr;/* '<S35>/Conversion' */
extern uint8_T BMS_stDChrgBattInsulationErr;/* '<S34>/Conversion' */
extern uint8_T BMS_stDChrgChrgerActStop;/* '<S32>/Conversion' */
extern uint8_T BMS_stDChrgRchCellVoltLmt;/* '<S31>/Conversion' */
extern uint8_T BMS_stDChrgRchPackVoltLmt;/* '<S30>/Conversion' */
extern uint8_T BMS_stDChrgRchSocLmt;   /* '<S29>/Conversion' */
extern uint8_T BMS_DChgStVoltOutFlg;   /* '<S26>/Conversion' */
extern uint8_T BMS_ChrgAhAccum;        /* '<S25>/Conversion' */
extern uint8_T BMS_DTCIndex;           /* '<S21>/Conversion' */
extern uint8_T BMS_DTCQantity;         /* '<S20>/Conversion' */
extern uint8_T BMS_CellTempCount_A;    /* '<S12>/Conversion' */
extern uint8_T BMS_CellVoltCount_A;    /* '<S326>/Conversion' */
extern uint8_T BMS_Heat_TempDiff;      /* '<S324>/Conversion' */
extern uint8_T BMS_Cool_TempDiff;      /* '<S323>/Conversion' */
extern uint8_T BMS_DCChgMode;          /* '<S318>/Conversion' */
extern uint8_T BMS_ACChgMode;          /* '<S317>/Conversion' */
extern uint8_T BMS_DCChgConnectSt;     /* '<S316>/Conversion' */
extern uint8_T BMS_StateOfChargeReal;  /* '<S315>/Conversion' */
extern uint8_T BMS_TempHighWarning;    /* '<S314>/Conversion' */
extern uint8_T BMS_PackOVFault;        /* '<S313>/Conversion' */
extern uint8_T BMS_PackUVFault;        /* '<S312>/Conversion' */
extern uint8_T BMS_CellOVFault;        /* '<S311>/Conversion' */
extern uint8_T BMS_CellUVFault;        /* '<S310>/Conversion' */
extern uint8_T BMS_AcDcChrgConnectBoth;/* '<S308>/Conversion' */
extern uint8_T BMS_OTAModeSts;         /* '<S307>/Conversion' */
extern uint8_T BMS_SOCLowWarning;      /* '<S306>/Conversion' */
extern uint8_T BMS_SOCHighWarning;     /* '<S305>/Conversion' */
extern uint8_T BMS_SOCHopWarning;      /* '<S304>/Conversion' */
extern uint8_T BMS_MismatchWarning;    /* '<S303>/Conversion' */
extern uint8_T BMS_ConsistencyWarning; /* '<S302>/Conversion' */
extern uint8_T BMS_OverChargeWarning;  /* '<S301>/Conversion' */
extern uint8_T BMS_TempValueWarning_A; /* '<S300>/Conversion' */
extern uint8_T BMS_Ser_Lamp;           /* '<S299>/Conversion' */
extern uint8_T BMS_Warn_Lamp;          /* '<S297>/Conversion' */
extern uint8_T BMS_Batt_Full;          /* '<S296>/Conversion' */
extern uint8_T BMS_ACChgConnectSt;     /* '<S295>/Conversion' */
extern uint8_T BMS_IsoCheckStatus; /* '<S289>/Conversion' */
extern uint8_T BMS_TempFault;          /* '<S286>/Conversion' */
extern uint8_T BMS_PreThemalReq;       /* '<S283>/Conversion' */
extern uint8_T BMS_ElockRequest;       /* '<S282>/Conversion' */
extern uint8_T BMS_PreThemalMode;      /* '<S281>/Conversion' */
extern uint8_T BMS_VCUHvDownReqValid;  /* '<S280>/Conversion' */
extern uint8_T BMS_VCUHvDownReq;       /* '<S279>/Conversion' */
extern uint8_T BMS_VCUHvUpReqValid;    /* '<S277>/Conversion' */
extern uint8_T BMS_VCUHvUpReq;         /* '<S274>/Conversion' */
extern uint8_T BMS_BlanceStateValid;   /* '<S273>/Conversion' */
extern uint8_T BMS_BlanceState;        /* '<S272>/Conversion' */
extern uint8_T BMS_IVI_DischargeStatus;/* '<S269>/Conversion' */
extern uint8_T BMS_StateOfHealth;      /* '<S267>/Conversion' */
extern uint8_T BMS_AppChgMode;         /* '<S266>/Conversion' */
extern uint8_T BMS_VcuV2XMod;          /* '<S264>/Conversion' */
extern uint8_T BMS_FaultLevel;         /* '<S263>/Conversion' */
extern uint8_T BMS_InterlockOpenFault; /* '<S262>/Conversion' */
extern uint8_T BMS_StateOfCharge;      /* '<S261>/Conversion' */
extern uint8_T BMS_StateOfCharge_A;    /* '<S268>/Conversion' */
extern uint8_T BMS_IsolationFault;     /* '<S260>/Conversion' */
extern uint8_T BMS_SysSelfCheck;       /* '<S259>/Conversion' */
extern uint8_T BMS_STAUS;              /* '<S258>/Conversion' */
extern uint8_T BMS_OnDischrgCmd;       /* '<S244>/Conversion' */
extern uint8_T BMS_ObcReadyReq;        /* '<S233>/Conversion' */
extern uint8_T BMS_OnChrgCmd;          /* '<S188>/Conversion' */
extern uint8_T BMS_Heatreq;            /* '<S88>/Conversion' */
extern uint8_T BMS_CoolingReq;         /* '<S77>/Conversion' */
extern uint8_T BMS_ThermalRunAway;     /* '<S22>/Conversion' */
extern uint8_T BMS_KL15;               /* '<S11>/Conversion' */
extern uint8_T BMS_Prechage_relay_Sta; /* '<S309>/Conversion' */
extern uint8_T BMS_RelayStuckClosed;   /* '<S287>/Conversion' */
extern uint8_T BMS_QCN_relay_Sta;      /* '<S276>/Conversion' */
extern uint8_T BMS_QCP_relay_Sta;      /* '<S265>/Conversion' */
extern uint8_T BMS_PV_relay_Sta;       /* '<S232>/Conversion' */
extern uint8_T BMS_NV_relay_Sta;       /* '<S121>/Conversion' */
extern uint8_T BMS_HVConnectStt;       /* '<S10>/Conversion' */
extern uint8_T BEM_Reserved;           /* '<S392>/Conversion' */
extern uint8_T BEM_RcvMsgTimeOut7_CSD; /* '<S390>/Conversion' */
extern uint8_T BEM_RcvMsgTimeOut6_CST; /* '<S389>/Conversion' */
extern uint8_T BEM_RcvMsgTimeOut5_CCS; /* '<S388>/Conversion' */
extern uint8_T BEM_RcvMsgTimeOut4_CRO_OK;/* '<S387>/Conversion' */
extern uint8_T BEM_RcvMsgTimeOut3_CTSCML;/* '<S386>/Conversion' */
extern uint8_T BEM_RcvMsgTimeOut2_CRM_OK;/* '<S385>/Conversion' */
extern uint8_T BEM_RcvMsgTimeOut1_CRM_NG;/* '<S384>/Conversion' */
extern uint8_T BSD_Batt_SOC_END;       /* '<S383>/Conversion' */
extern uint8_T BST_ChrgVoltAbnrm;      /* '<S377>/Conversion' */
extern uint8_T BST_ChrgCurrAbnrm;      /* '<S376>/Conversion' */
extern uint8_T BST_OtherErr;           /* '<S375>/Conversion' */
extern uint8_T BST_CC2ChkVoltErr;      /* '<S374>/Conversion' */
extern uint8_T BST_MainRelayErr;       /* '<S373>/Conversion' */
extern uint8_T BST_BattOvrTempErr;     /* '<S372>/Conversion' */
extern uint8_T BST_ChrgCnntErr;        /* '<S371>/Conversion' */
extern uint8_T BST_PcbOvrTempErr;      /* '<S370>/Conversion' */
extern uint8_T BST_OutpCnntOvrTempErr; /* '<S368>/Conversion' */
extern uint8_T BST_BattInsulationErr;  /* '<S367>/Conversion' */
extern uint8_T BST_ChrgerActStop;      /* '<S366>/Conversion' */
extern uint8_T BST_RchCellVoltLmt;     /* '<S365>/Conversion' */
extern uint8_T BST_RchPackVoltLmt;     /* '<S364>/Conversion' */
extern uint8_T BST_RchSocLmt;          /* '<S363>/Conversion' */
extern uint8_T BSM_BattErr_SOCAbnor;   /* '<S359>/Conversion' */
extern uint8_T BSM_BattErr_TempOverLmt;/* '<S357>/Conversion' */
extern uint8_T BSM_BattErr_ChgCurOverLmt;/* '<S356>/Conversion' */
extern uint8_T BSM_BattErr_OutputConectSt;/* '<S355>/Conversion' */
extern uint8_T BSM_BattErr_InsulationSt;/* '<S353>/Conversion' */
extern uint8_T BSM_BattErr_ChgPermitSt;/* '<S352>/Conversion' */
extern uint8_T BSM_BattErr_CellVoltAbnor;/* '<S351>/Conversion' */
extern uint8_T BCL_ChgModeReq;         /* '<S348>/Conversion' */
extern uint8_T BRO_ReadyforChg;        /* '<S395>/Conversion' */
extern uint8_T BHM_PackMaxChrgCurrEna; /* '<S394>/Conversion' */
extern uint8_T BLM_S2OnReq;            /* '<S380>/Conversion' */
extern uint8_T BLM_WeldDetReq;         /* '<S369>/Conversion' */
extern uint8_T BLM_BmsSleepReq;        /* '<S358>/Conversion' */
extern uint8_T BLM_BmsLockReq;         /* '<S347>/Conversion' */
extern uint8_T BMS_CellTemp_7_A;       /* '<S19>/Conversion' */
extern uint8_T BMS_CellTemp_6_A;       /* '<S18>/Conversion' */
extern uint8_T BMS_CellTemp_5_A;       /* '<S17>/Conversion' */
extern uint8_T BMS_CellTemp_4_A;       /* '<S16>/Conversion' */
extern uint8_T BMS_CellTemp_3_A;       /* '<S15>/Conversion' */
extern uint8_T BMS_CellTemp_2_A;       /* '<S14>/Conversion' */
extern uint8_T BMS_CellTemp_1_A;       /* '<S13>/Conversion' */
extern uint8_T BMS_Heat_TempTarget;    /* '<S321>/Conversion' */
extern uint8_T BMS_Cool_TempTarget;    /* '<S319>/Conversion' */
extern uint8_T BMS_BattMinTemp;        /* '<S292>/Conversion' */
extern uint8_T BMS_BattMaxTemp;        /* '<S291>/Conversion' */
extern uint8_T BMS_BattAvgTemp;        /* '<S284>/Conversion' */
extern uint8_T BMS_CoolantTempOut;     /* '<S44>/Conversion' */
extern uint8_T BMS_CoolantTempIn;      /* '<S33>/Conversion' */
extern uint8_T BMS_kL30cVolt;          /* '<S191>/Conversion' */
extern uint8_T BMS_kL30Volt;           /* '<S190>/Conversion' */
extern uint8_T BMS_FuseVoltage;        /* '<S290>/Conversion' */
extern uint8_T BSD_Batt_MinTempduringChg;/* '<S379>/Conversion' */
extern uint8_T BSD_Batt_MaxTempduringChg;/* '<S378>/Conversion' */
extern uint8_T BSM_Batt_TempMax;       /* '<S362>/Conversion' */
extern uint8_T BSM_Batt_TempMin;       /* '<S350>/Conversion' */
extern uint8_T BSM_Batt_SensorNumofTmpMin;/* '<S361>/Conversion' */
extern uint8_T BSM_Batt_SensorNumofTmpMax;/* '<S360>/Conversion' */
extern uint8_T BSM_Batt_NumofCellVoltMax;/* '<S354>/Conversion' */
extern real32_T IOS_OUP_Duty2adc_UAES(real32_T rtu_duty, uint16_T rtp_P,
  uint16_T rtp_D);

/* Exported data declaration */

/* Volatile memory section */
/* Declaration for custom storage class: Signal_Volatile */
extern volatile boolean_T BCCR_bDcChNegCtrHsdEna;
extern volatile boolean_T BCCR_bDcChPosCtrHsdEna;
extern volatile boolean_T BCCR_bMNegCtrHsdEna;
extern volatile boolean_T BCCR_bMPosCtrHsdEna;
extern volatile boolean_T BCCR_bPreChCtrLsdEna;
extern volatile boolean_T BCCR_bSw5CtrDiagSwt;
extern volatile boolean_T BCCR_dcDcChNegCtrLsdEna;
extern volatile boolean_T BCCR_dcDcChPosCtrLsdEna;
extern volatile boolean_T BCCR_dcMNegCtrLsdEna;
extern volatile boolean_T BCCR_dcMPosCtrLsdEna;
extern volatile uint8_T BCCR_stBmsRelayCtrStatus;
extern volatile uint8_T BCCR_stDChrgCtrDiag;
extern volatile uint8_T BCCR_stDcChNegCtrStatus;
extern volatile uint8_T BCCR_stDcChPosCtrStatus;
extern volatile uint8_T BCCR_stHVConnSt;
extern volatile uint8_T BCCR_stMNegChCtrStatus;
extern volatile uint8_T BCCR_stMPosCtrStatus;
extern volatile uint8_T BCCR_stMainCtrDiagMode;
extern volatile uint8_T BCCR_stPreChCtrStatus;
extern volatile real32_T BCMR_ahAccumDChrgAh;
extern volatile boolean_T BCMR_bAChgHVOffTmOut;
extern volatile boolean_T BCMR_bAChgHVOnTmOut;
extern volatile boolean_T BCMR_bAChgLockingTmOut;
extern volatile boolean_T BCMR_bAChgRdyTmOut;
extern volatile boolean_T BCMR_bAChgS2ClsdTmOut;
extern volatile boolean_T BCMR_bAChgUnclockTmOut;
extern volatile boolean_T BCMR_bAChgWaitingTmOut;
extern volatile boolean_T BCMR_bAChgingFlt;
extern volatile boolean_T BCMR_bAChrgCnntFlt;
extern volatile boolean_T BCMR_bAChrgPortOvrTemp;
extern volatile boolean_T BCMR_bAcChgFobd;
extern volatile boolean_T BCMR_bAcDischgFobd;
extern volatile boolean_T BCMR_bAcDischgRdy;
extern volatile boolean_T BCMR_bBmsSleepReq;
extern volatile boolean_T BCMR_bChrgFul;
extern volatile boolean_T BCMR_bDChrgWkup;
extern volatile boolean_T BCMR_bEVCCSelfChkFlt;
extern volatile boolean_T BCMR_bObcRdyReq;
extern volatile boolean_T BCMR_bPlugLockPrms;
extern volatile boolean_T BCMR_bRxCroRdyOk;
extern volatile boolean_T BCMR_bS2OnReq;
extern volatile boolean_T BCMR_bWeldDetReq;
extern volatile boolean_T BCMR_flgChrgCmd;
extern volatile uint8_T BCMR_flgDChrgStopCActive;
extern volatile boolean_T BCMR_flgDischgCmd;
extern volatile real32_T BCMR_iDChrgCalcMax;
extern volatile real32_T BCMR_iDChrgCalcMix2;
extern volatile real32_T BCMR_iDcChrgCurrReqBcl;
extern volatile real32_T BCMR_iReqCurrChrg;
extern volatile uint8_T BCMR_numBattMaxTemptAddrBsm;
extern volatile uint8_T BCMR_numBattMinTemptAddrBsm;
extern volatile uint8_T BCMR_numMaxCellVoltAddrBsm;
extern volatile real32_T BCMR_pActPwrChrg;
extern volatile uint8_T BCMR_rBattSocBsd;
extern volatile uint8_T BCMR_stAChrgCnnt;
extern volatile uint8_T BCMR_stAChrgFltCode;
extern volatile uint8_T BCMR_stAChrgMode;
extern volatile uint8_T BCMR_stAChrgObsr;
extern volatile uint8_T BCMR_stAChrgPreThmMode;
extern volatile uint8_T BCMR_stAChrgPreThmReq;
extern volatile uint8_T BCMR_stAppChgMode;
extern volatile uint8_T BCMR_stBattCellVoltErrBsm;
extern volatile uint8_T BCMR_stBattChrgCurrOvrErrBsm;
extern volatile uint8_T BCMR_stBattDChrgCurrOvrErr;
extern volatile uint8_T BCMR_stBattDChrgVoltOvrErr;
extern volatile uint8_T BCMR_stBattInsulationErrBsm;
extern volatile uint8_T BCMR_stBattInsulationErrBst;
extern volatile uint8_T BCMR_stBattOutputContErrBsm;
extern volatile uint8_T BCMR_stBattOvrTempErrBst;
extern volatile uint8_T BCMR_stBattSocErrBsm;
extern volatile uint8_T BCMR_stBattTempOvrErrBsm;
extern volatile uint8_T BCMR_stBmsRdyBro;
extern volatile uint8_T BCMR_stCC2ChkVoltErr;
extern volatile uint8_T BCMR_stCC2ChkVoltErrBst;
extern volatile uint8_T BCMR_stChrgAbnmExit;
extern volatile boolean_T BCMR_stChrgCnntBoth;
extern volatile uint8_T BCMR_stChrgCnntErrBst;
extern volatile uint8_T BCMR_stChrgCurrAbnrmBst;
extern volatile uint8_T BCMR_stChrgEnaBsm;
extern volatile uint8_T BCMR_stChrgVoltAbnrmBst;
extern volatile uint8_T BCMR_stChrgerActStopBst;
extern volatile uint8_T BCMR_stDChrgCnnt;
extern volatile uint8_T BCMR_stDChrgCnntErr;
extern volatile uint8_T BCMR_stDChrgDebugOut;
extern volatile uint8_T BCMR_stDChrgElockReq;
extern volatile uint8_T BCMR_stDChrgGbFlowTimeout;
extern volatile uint8_T BCMR_stDChrgMode;
extern volatile uint8_T BCMR_stDChrgRchPackVoltLmt;
extern volatile uint8_T BCMR_stDChrgRchSocLmt;
extern volatile uint8_T BCMR_stDcBattInsulationErr;
extern volatile uint8_T BCMR_stDcBattTempOvrErr;
extern volatile real32_T BCMR_stDcChrgModeBcl;
extern volatile uint8_T BCMR_stDcOutpCnntOvrTempErr;
extern volatile uint8_T BCMR_stDcRchCellVoltLmt;
extern volatile uint8_T BCMR_stIviDischg;
extern volatile uint8_T BCMR_stMainRelayErr;
extern volatile uint8_T BCMR_stMainRelayErrBst;
extern volatile uint8_T BCMR_stOtherErr;
extern volatile uint8_T BCMR_stOtherErrBem;
extern volatile uint8_T BCMR_stOtherErrBst;
extern volatile uint8_T BCMR_stOutpCnntOvrTempErrBst;
extern volatile uint8_T BCMR_stPcbOvrTempErr;
extern volatile uint8_T BCMR_stPcbOvrTempErrBst;
extern volatile uint8_T BCMR_stPreThmFltCode;
extern volatile uint8_T BCMR_stPreThmObsvr;
extern volatile uint8_T BCMR_stRchCellVoltLmtBst;
extern volatile uint8_T BCMR_stRchPackVoltLmtBst;
extern volatile uint8_T BCMR_stRchSocLmtBst;
extern volatile uint8_T BCMR_stSpn3901TimeoutBem;
extern volatile uint8_T BCMR_stSpn3902TimeoutBem;
extern volatile uint8_T BCMR_stSpn3903TimeoutBem;
extern volatile uint8_T BCMR_stSpn3904TimeoutBem;
extern volatile uint8_T BCMR_stSpn3905TimeoutBem;
extern volatile uint8_T BCMR_stSpn3906TimeoutBem;
extern volatile uint8_T BCMR_stSpn3907TimeoutBem;
extern volatile uint8_T BCMR_stV2xMod;
extern volatile real32_T BCMR_tBattMaxTempBsd;
extern volatile real32_T BCMR_tBattMaxTempBsm;
extern volatile real32_T BCMR_tBattMinTempBsd;
extern volatile real32_T BCMR_tBattMinTempBsm;
extern volatile real32_T BCMR_tiChrgRemTime;
extern volatile real32_T BCMR_uDcChrgVoltReqCalc;
extern volatile real32_T BCMR_uMaxPmtdChrgPackCurrBhm;
extern volatile real32_T BCMR_uMaxPmtdChrgPackCurrEna;
extern volatile real32_T BCMR_uMaxPmtdChrgPackVoltBhm;
extern volatile real32_T BCMR_uMaxVoltChrg;
extern volatile real32_T BCMR_uReqVoltChrg;
extern volatile uint16_T BCMR_vBattMaxCellVoltBsd;
extern volatile uint16_T BCMR_vBattMinCellVoltBsd;
extern volatile real32_T BCMR_vDcChrgVoltReqBcl;
extern volatile uint8_T BMCR_bBmuShutdown;

extern volatile boolean_T BMCR_bPwrDownReqVald;
extern volatile boolean_T BMCR_bPwrUpReqVald;
extern volatile boolean_T BMCR_bWkUpVCU;
extern volatile boolean_T BMCR_flgBmsOTAMode;
extern volatile boolean_T BMCR_flgPwrDownReq;
extern volatile boolean_T BMCR_flgPwrUpReq;
extern volatile uint8_T BMCR_stBmsModeCtrl;
extern volatile uint32_T BMCR_tiSetWakeUpTime;
extern volatile boolean_T BSER_bBalaVald;
extern volatile boolean_T BSER_bBattOvrVoltFault;
extern volatile boolean_T BSER_bBattUndrVoltFault;
extern volatile boolean_T BSER_bCellCnstFault;
extern volatile boolean_T BSER_bCellOvrVoltFault;
extern volatile boolean_T BSER_bCellUndrVoltFault;
extern volatile boolean_T BSER_bOvrChrgFault;
extern volatile boolean_T BSER_bSocHiFault;
extern volatile boolean_T BSER_bSocHopFault;
extern volatile boolean_T BSER_bSocLoFault;
extern volatile real32_T BSER_eBattNrmEnrg;
extern volatile real32_T BSER_eSoe;
extern volatile real32_T BSER_iConstCurrChMax;
extern volatile real32_T BSER_iConstCurrDisChMax;
extern volatile real32_T BSER_iPeakCurrCh;
extern volatile real32_T BSER_iPeakCurrDisCh;
extern volatile real32_T BSER_pConstPwrCh;
extern volatile real32_T BSER_pConstPwrDisCh;
extern volatile real32_T BSER_pPeakPwrCh;
extern volatile real32_T BSER_pPeakPwrDisCh;
extern volatile real32_T BSER_rSoc;
extern volatile real32_T BSER_rSocDspl;
extern volatile real32_T BSER_rSoh;
extern volatile boolean_T BSER_stBal;
extern volatile real32_T BSER_uPeakVoltCh;
extern volatile real32_T BSER_uPeakVoltDisCh;
extern volatile boolean_T BSPR_bBattOvrTempFault;
extern volatile boolean_T BSPR_bBattTempFault;
extern volatile boolean_T BSPR_bCellTempCnstFault;
extern volatile boolean_T BSPR_bKl15WkUp;
extern volatile uint8_T BSPR_cntCellSer;
extern volatile uint8_T BSPR_cntCellTemp;
extern volatile real32_T BSPR_dcHvilPwmDuty;
extern volatile real32_T BSPR_iAdCurr;
extern volatile real32_T BSPR_iBattCurr;
extern volatile uint8_T BSPR_stBmsSelfChk;
extern volatile real32_T BSPR_tBattTempAvrg;
extern volatile real32_T BSPR_tBattTempMax;
extern volatile real32_T BSPR_tBattTempMin;
extern volatile real32_T BSPR_tClntDsT;
extern volatile real32_T BSPR_tClntUsT;
extern volatile real32_T BSPR_uBattVolt;
extern volatile real32_T BSPR_uDChrgVoltRaw;
extern volatile real32_T BSPR_uDchrgNegVolt;
extern volatile real32_T BSPR_uKl30;
extern volatile real32_T BSPR_uKl30c;
extern volatile real32_T BSPR_uNegVolt;
extern volatile real32_T BSPR_uPackVolt;
extern volatile real32_T BSPR_uPackVoltRaw;
extern volatile boolean_T BTMR_bThmRunAway;
extern volatile uint8_T BTMR_flgClntPwrReq;
extern volatile uint8_T BTMR_flgHtgPwrReq;
extern volatile real32_T BTMR_pClntPwrReq;
extern volatile real32_T BTMR_pHtgPwrReq;
extern volatile real32_T BTMR_tClntTgtTemp;
extern volatile real32_T BTMR_tDiffClntTgtUsT;
extern volatile real32_T BTMR_tDiffHtTgtUsT;
extern volatile real32_T BTMR_tHtTgtTemp;
extern volatile boolean_T CNMR_flgBmsActSrce_A;
extern volatile boolean_T CNMR_flgBmsActSrce_B;
extern volatile boolean_T CNMR_flgBmsNormFromRdy;
extern volatile boolean_T CNMR_flgBmsNormFromRpt;
extern volatile boolean_T CNMR_flgBmsRptFromNorm;
extern volatile boolean_T CNMR_flgBmsRptFromPrepr;
extern volatile boolean_T CNMR_flgBmsRptFromRdy;
extern volatile boolean_T CNMR_flgBmsRptFromSlp;
extern volatile boolean_T CNMR_flgBmsRptReq;
extern volatile uint8_T CNMR_flgBmsSrceID;
extern volatile uint8_T CNMR_flgBmsWkSrce;
extern volatile boolean_T CNMR_flgBmsWkUp;
extern volatile uint8_T CNMR_stDebugOut;
extern volatile uint8_T CNMR_stTransferRoute;
extern volatile boolean_T COMR_bSysMishFault;
extern volatile uint32_T COMR_cntDtcCode_A;
extern volatile uint32_T COMR_cntDtcCode_B;
extern volatile uint8_T COMR_cntDtcInd;
extern volatile uint8_T COMR_cntDtcQtty;
extern volatile real32_T COMR_iDcChrgCurrReqBcl;
extern volatile uint8_T COMR_stEuroChrgMode;
extern volatile real32_T COMR_tCellTempA;
extern volatile real32_T COMR_tCellTempB;
extern volatile real32_T COMR_tCellTempC;
extern volatile real32_T COMR_tCellTempD;
extern volatile real32_T COMR_tCellTempE;
extern volatile real32_T COMR_tCellTempF;
extern volatile real32_T COMR_tCellTempG;
extern volatile real32_T COMR_uCellVoltA;
extern volatile real32_T COMR_uCellVoltB;
extern volatile real32_T COMR_uCellVoltC;
extern volatile real32_T COMR_uCellVoltD;
extern volatile real32_T COMR_uMaxCellVolt;
extern volatile real32_T COMR_uMinCellVolt;
extern volatile uint32_T COMR_verSoftwareVersion;
extern volatile boolean_T DSMR_638LinCommErr;
extern volatile boolean_T DSMR_AChgPileRdyTmt;
extern volatile boolean_T DSMR_AChrgCurrMish;
extern volatile boolean_T DSMR_AChrgVoltMish;
extern volatile boolean_T DSMR_APlusChk;
extern volatile boolean_T DSMR_BattHVMsgTmt;
extern volatile boolean_T DSMR_BattTAlrmMax;
extern volatile boolean_T DSMR_BattTAlrmMin;
extern volatile boolean_T DSMR_BattTCnstMax;
extern volatile boolean_T DSMR_BattTFaultMax;
extern volatile boolean_T DSMR_BattTFaultMin;
extern volatile boolean_T DSMR_BattTGradtMax;
extern volatile boolean_T DSMR_BattTHopMax;
extern volatile boolean_T DSMR_BattTWarnMax;
extern volatile boolean_T DSMR_BattTWarnMin;
extern volatile boolean_T DSMR_BattTempVldMax;
extern volatile boolean_T DSMR_BattTempVldMin;
extern volatile boolean_T DSMR_BattUNpl;
extern volatile boolean_T DSMR_BattVoltVld;
extern volatile boolean_T DSMR_BoardTempTmt;
extern volatile boolean_T DSMR_BusHVMsgTmt;
extern volatile boolean_T DSMR_CC2Chk;
extern volatile boolean_T DSMR_CSCPwrSpyHiErr;
extern volatile boolean_T DSMR_CSCPwrSpyLoErr;
extern volatile boolean_T DSMR_CellTempTmt;
extern volatile boolean_T DSMR_CellVoltAlrmMax;
extern volatile boolean_T DSMR_CellVoltAlrmMin;
extern volatile boolean_T DSMR_CellVoltFaultMax;
extern volatile boolean_T DSMR_CellVoltFaultMin;
extern volatile boolean_T DSMR_CellVoltFusfMax;
extern volatile boolean_T DSMR_CellVoltFusfMin;
extern volatile boolean_T DSMR_CellVoltNpl;
extern volatile boolean_T DSMR_CellVoltTmt;
extern volatile boolean_T DSMR_CellVoltVldMax;
extern volatile boolean_T DSMR_CellVoltVldMin;
extern volatile boolean_T DSMR_CellVoltWarnMax;
extern volatile boolean_T DSMR_CellVoltWarnMin;
extern volatile boolean_T DSMR_ChkSumMsg050Err;
extern volatile boolean_T DSMR_ChkSumMsg2A3Err;
extern volatile boolean_T DSMR_ChkSumMsg2E0Err;
extern volatile boolean_T DSMR_ChkSumMsg2E1Err;
extern volatile boolean_T DSMR_ChrgOCMax;
extern volatile boolean_T DSMR_ChrgOCMin;
extern volatile boolean_T DSMR_ChrgOCNpl;
extern volatile boolean_T DSMR_ClntDsTElecMax;
extern volatile boolean_T DSMR_ClntDsTElecMin;
extern volatile boolean_T DSMR_ClntDsTElecSig;
extern volatile boolean_T DSMR_ClntUsTElecMax;
extern volatile boolean_T DSMR_ClntUsTElecMin;
extern volatile boolean_T DSMR_ClntUsTElecSig;
extern volatile boolean_T DSMR_CoolPerfPlaus;
extern volatile boolean_T DSMR_CrashNpl;
extern volatile boolean_T DSMR_CscCellTempOpenLine;
extern volatile boolean_T DSMR_CscCellVoltOpenLine;
extern volatile boolean_T DSMR_CurrChrgPlaus;
extern volatile boolean_T DSMR_CurrOffsPlaus;
extern volatile boolean_T DSMR_CurrStukPlaus;
extern volatile boolean_T DSMR_DChrgBattTMin;
extern volatile boolean_T DSMR_DChrgCCSTmt;
extern volatile boolean_T DSMR_DChrgCHMTmt;
extern volatile boolean_T DSMR_DChrgCMLTmt;
extern volatile boolean_T DSMR_DChrgCRMTmt;
extern volatile boolean_T DSMR_DChrgCROTmt;
extern volatile boolean_T DSMR_DChrgCSDTmt;
extern volatile boolean_T DSMR_DChrgCSTTmt;
extern volatile boolean_T DSMR_DChrgCableChk;
extern volatile boolean_T DSMR_DChrgCnntErr;
extern volatile boolean_T DSMR_DChrgCurrMish;
extern volatile boolean_T DSMR_DChrgFobd;
extern volatile boolean_T DSMR_DChrgHvOnFail;
extern volatile boolean_T DSMR_DChrgLckErr;
extern volatile boolean_T DSMR_DChrgLowTempCurrMish;
extern volatile boolean_T DSMR_DChrgMsgTimeout;
extern volatile boolean_T DSMR_DChrgNegStuckMax;
extern volatile boolean_T DSMR_DChrgNegStuckMin;
extern volatile boolean_T DSMR_DChrgParaChk;
extern volatile boolean_T DSMR_DChrgPosStuckMax;
extern volatile boolean_T DSMR_DChrgPosStuckMin;
extern volatile boolean_T DSMR_DChrgPreChTOut;
extern volatile boolean_T DSMR_DChrgPwrUpFail;
extern volatile boolean_T DSMR_DChrgSLACTOut;
extern volatile boolean_T DSMR_DChrgStakeErr;
extern volatile boolean_T DSMR_DChrgStkCurrErr;
extern volatile boolean_T DSMR_DChrgStkVoltErr;
extern volatile boolean_T DSMR_DChrgTCnntMax;
extern volatile boolean_T DSMR_DChrgTNegElecMax;
extern volatile boolean_T DSMR_DChrgTNegElecMin;
extern volatile boolean_T DSMR_DChrgTNegElecSig;
extern volatile boolean_T DSMR_DChrgTPosElecMax;
extern volatile boolean_T DSMR_DChrgTPosElecMin;
extern volatile boolean_T DSMR_DChrgTPosElecSig;
extern volatile boolean_T DSMR_DChrgUNpl;
extern volatile boolean_T DSMR_DChrgVoltMish;
extern volatile boolean_T DSMR_DChrgVoltVld;
extern volatile boolean_T DSMR_DcCanBusOff;
extern volatile boolean_T DSMR_DisChOCMax;
extern volatile boolean_T DSMR_DisChOCMin;
extern volatile boolean_T DSMR_DisChOCNpl;
extern volatile boolean_T DSMR_EepReadErr;
extern volatile boolean_T DSMR_HtgPerfPlaus;
extern volatile boolean_T DSMR_HvPwrUpFail;
extern volatile boolean_T DSMR_HvilMax;
extern volatile boolean_T DSMR_HvilMin;
extern volatile boolean_T DSMR_HvilSig;
extern volatile boolean_T DSMR_InCanBusOff;
extern volatile boolean_T DSMR_InClntOverTmp;
extern volatile boolean_T DSMR_InsResValdFault;
extern volatile boolean_T DSMR_IsoChkLv1;
extern volatile boolean_T DSMR_IsoChkLv2;
extern volatile boolean_T DSMR_Kl30OutRngErr;
extern volatile boolean_T DSMR_Kl30VoltHiErr;
extern volatile boolean_T DSMR_Kl30VoltLoErr;
extern volatile boolean_T DSMR_Kl30cVoltLoErr;
extern volatile boolean_T DSMR_MNegStuckMax;
extern volatile boolean_T DSMR_MNegStuckMin;
extern volatile boolean_T DSMR_MPosStuckMin;
extern volatile boolean_T DSMR_Msg2E6Tmt;
extern volatile boolean_T DSMR_Obc2E1Tmt;
extern volatile boolean_T DSMR_OutClntOverTmp;
extern volatile boolean_T DSMR_PackUNpl;
extern volatile boolean_T DSMR_PackVoltVld;
extern volatile boolean_T DSMR_PosStuckMax;
extern volatile boolean_T DSMR_PrStuckMin;
extern volatile boolean_T DSMR_RcMsg050Mis;
extern volatile boolean_T DSMR_RcMsg2A3Mis;
extern volatile boolean_T DSMR_RcMsg2A5Mis;
extern volatile boolean_T DSMR_RcMsg2A7Mis;
extern volatile boolean_T DSMR_RcMsg2E0Mis;
extern volatile boolean_T DSMR_RcMsg2E1Mis;
extern volatile boolean_T DSMR_SocRngHiMax;
extern volatile boolean_T DSMR_SocRngHiMin;
extern volatile boolean_T DSMR_SocRngLoMax;
extern volatile boolean_T DSMR_SocRngLoMin;
extern volatile boolean_T DSMR_Msg2A3Tmt;
extern volatile boolean_T DSMR_VeCanBusOff;
extern volatile uint8_T DSMR_stFaultRank;
extern volatile boolean_T Ground;
extern volatile boolean_T HVSR_bIsoChkStatus;
extern volatile boolean_T HVSR_bIsoSwt1Ena;
extern volatile boolean_T HVSR_bIsoSwt2Ena;
extern volatile boolean_T HVSR_bIsoSwt3Ena;
extern volatile boolean_T HVSR_bSrvLmp;
extern volatile boolean_T HVSR_bWarnLmp;
extern volatile boolean_T HVSR_flgHvilFault;
extern volatile uint8_T HVSR_flgIsoFault;
extern volatile real32_T HVSR_resIso;
extern volatile real32_T HVSR_uIsoVoltNeg;
extern volatile real32_T HVSR_uIsoVoltPos;

extern volatile boolean_T BMCR_bOutputVolt12vEna;
#endif                                 /* RTW_HEADER_IOS_OUP_private_h_ */

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