/**************************************************************************************************
*  Filename     :  Global_Define.h
*  Author       :  Zhang Zhiyun
*  Description  :  Global Define
*  ChangeTime   : 09-Sep-2020 11:41:03
* 
*  AIWAYS Automotive Co.,Ltd 
***************************************************************************************************/

  
#ifndef RTW_HEADER_Global_Define_h_
#define RTW_HEADER_Global_Define_h_
#include "rtwtypes.h"
  
  
#define ASWTYPE_TRUE 1
#define ASWTYPE_FALSE 0
#define ASWTYPE_ACTIVE 1
#define ASWTYPE_IDLE 0
#define WAKEUP_DEFAULT 0
#define WAKEUP_KEYON 1
#define WAKEUP_DC 2
#define WAKEUP_AC 4
#define WAKEUP_CAN 8
#define WAKEUP_RTC 16
#define WAKEUP_VTL 32
#define WAKEUP_EDC 64
#define WAKEUP_HSF 128
 
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ACCACChrgState_
#define _DEFINED_TYPEDEF_FOR_Enum_ACCACChrgState_
typedef enum {
 Enum_ACCACChrgState_Default = 0,
 Enum_ACCACChrgState_Chrg = 1,
 Enum_ACCACChrgState_StepChrg = 2,
 Enum_ACCACChrgState_Heating = 3,
 Enum_ACCACChrgState_Stop = 4
}Enum_ACCACChrgState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_BPMBMUSpyState_
#define _DEFINED_TYPEDEF_FOR_Enum_BPMBMUSpyState_
typedef enum {
 Enum_BPMBMUSpyState_Normal = 0,
 Enum_BPMBMUSpyState_Low = 1,
 Enum_BPMBMUSpyState_High = 2,
 Enum_BPMBMUSpyState_TooLow = 3,
 Enum_BPMBMUSpyState_TooHigh = 4
}Enum_BPMBMUSpyState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_BTMBPTCChrgHeatLvl_
#define _DEFINED_TYPEDEF_FOR_Enum_BTMBPTCChrgHeatLvl_
typedef enum {
 Enum_BTMBPTCChrgHeatLvl_Default = 0,
 Enum_BTMBPTCChrgHeatLvl_Lv1 = 1,
 Enum_BTMBPTCChrgHeatLvl_Lv2 = 2,
 Enum_BTMBPTCChrgHeatLvl_Lv3 = 3,
 Enum_BTMBPTCChrgHeatLvl_Lv4 = 4
}Enum_BTMBPTCChrgHeatLvl;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_BTMBPTCDisChrgHeatLvl_
#define _DEFINED_TYPEDEF_FOR_Enum_BTMBPTCDisChrgHeatLvl_
typedef enum {
 Enum_BTMBPTCDisChrgHeatLvl_Default = 0,
 Enum_BTMBPTCDisChrgHeatLvl_Lv1 = 1,
 Enum_BTMBPTCDisChrgHeatLvl_Lv2 = 2,
 Enum_BTMBPTCDisChrgHeatLvl_Lv3 = 3,
 Enum_BTMBPTCDisChrgHeatLvl_Lv4 = 4
}Enum_BTMBPTCDisChrgHeatLvl;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_BTMChrgCoolLvl_
#define _DEFINED_TYPEDEF_FOR_Enum_BTMChrgCoolLvl_
typedef enum {
 Enum_BTMChrgCoolLvl_Default = 0,
 Enum_BTMChrgCoolLvl_Lv1 = 1,
 Enum_BTMChrgCoolLvl_Lv2 = 2,
 Enum_BTMChrgCoolLvl_Lv3 = 3,
 Enum_BTMChrgCoolLvl_Lv4 = 4
}Enum_BTMChrgCoolLvl;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_BTMCoolReq_
#define _DEFINED_TYPEDEF_FOR_Enum_BTMCoolReq_
typedef enum {
 Enum_BTMCoolReq_Default = 0,
 Enum_BTMCoolReq_Lv1 = 1,
 Enum_BTMCoolReq_Lv2 = 2,
 Enum_BTMCoolReq_Lv3 = 3,
 Enum_BTMCoolReq_Lv4 = 4
}Enum_BTMCoolReq;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_BTMDisChrgCoolLvl_
#define _DEFINED_TYPEDEF_FOR_Enum_BTMDisChrgCoolLvl_
typedef enum {
 Enum_BTMDisChrgCoolLvl_Default = 0,
 Enum_BTMDisChrgCoolLvl_Lv1 = 1,
 Enum_BTMDisChrgCoolLvl_Lv2 = 2,
 Enum_BTMDisChrgCoolLvl_Lv3 = 3,
 Enum_BTMDisChrgCoolLvl_Lv4 = 4
}Enum_BTMDisChrgCoolLvl;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_BTMHeatReq_
#define _DEFINED_TYPEDEF_FOR_Enum_BTMHeatReq_
typedef enum {
 Enum_BTMHeatReq_Default = 0,
 Enum_BTMHeatReq_Lv1 = 1,
 Enum_BTMHeatReq_Lv2 = 2,
 Enum_BTMHeatReq_Lv3 = 3,
 Enum_BTMHeatReq_Lv4 = 4
}Enum_BTMHeatReq;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_BTMSelCycLvl_
#define _DEFINED_TYPEDEF_FOR_Enum_BTMSelCycLvl_
typedef enum {
 Enum_BTMSelCycLvl_Default = 0,
 Enum_BTMSelCycLvl_Lv1 = 1,
 Enum_BTMSelCycLvl_Lv2 = 2,
 Enum_BTMSelCycLvl_Lv3 = 3,
 Enum_BTMSelCycLvl_Lv4 = 4
}Enum_BTMSelCycLvl;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_CDPCellTempDiffState_
#define _DEFINED_TYPEDEF_FOR_Enum_CDPCellTempDiffState_
typedef enum {
 Enum_CDPCellTempDiffState_Normal = 0,
 Enum_CDPCellTempDiffState_FltLevel1 = 1,
 Enum_CDPCellTempDiffState_FltLevel2 = 2,
 Enum_CDPCellTempDiffState_FltLevel3 = 3
}Enum_CDPCellTempDiffState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_CDPCellVoltDiffState_
#define _DEFINED_TYPEDEF_FOR_Enum_CDPCellVoltDiffState_
typedef enum {
 Enum_CDPCellVoltDiffState_Normal = 0,
 Enum_CDPCellVoltDiffState_FltLevel1 = 1,
 Enum_CDPCellVoltDiffState_FltLevel2 = 2,
 Enum_CDPCellVoltDiffState_FltLevel3 = 3
}Enum_CDPCellVoltDiffState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_CDPMaxCellTempState_
#define _DEFINED_TYPEDEF_FOR_Enum_CDPMaxCellTempState_
typedef enum {
 Enum_CDPMaxCellTempState_Normal = 0,
 Enum_CDPMaxCellTempState_FltLevel1 = 1,
 Enum_CDPMaxCellTempState_FltLevel2 = 2,
 Enum_CDPMaxCellTempState_FltLevel3 = 3
}Enum_CDPMaxCellTempState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_CDPMaxCellVoltState_
#define _DEFINED_TYPEDEF_FOR_Enum_CDPMaxCellVoltState_
typedef enum {
 Enum_CDPMaxCellVoltState_Normal = 0,
 Enum_CDPMaxCellVoltState_FltLevel1 = 1,
 Enum_CDPMaxCellVoltState_FltLevel2 = 2,
 Enum_CDPMaxCellVoltState_FltLevel3 = 3
}Enum_CDPMaxCellVoltState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_CDPMinCellTempState_
#define _DEFINED_TYPEDEF_FOR_Enum_CDPMinCellTempState_
typedef enum {
 Enum_CDPMinCellTempState_Normal = 0,
 Enum_CDPMinCellTempState_FltLevel1 = 1,
 Enum_CDPMinCellTempState_FltLevel2 = 2,
 Enum_CDPMinCellTempState_FltLevel3 = 3
}Enum_CDPMinCellTempState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_CDPMinCellVoltState_
#define _DEFINED_TYPEDEF_FOR_Enum_CDPMinCellVoltState_
typedef enum {
 Enum_CDPMinCellVoltState_Normal = 0,
 Enum_CDPMinCellVoltState_FltLevel1 = 1,
 Enum_CDPMinCellVoltState_FltLevel2 = 2,
 Enum_CDPMinCellVoltState_FltLevel3 = 3
}Enum_CDPMinCellVoltState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_CFMBusBarCell_
#define _DEFINED_TYPEDEF_FOR_Enum_CFMBusBarCell_
typedef enum {
 Enum_CFMBusBarCell_NoUse = 0,
 Enum_CFMBusBarCell_Cell = 1,
 Enum_CFMBusBarCell_BusBar = 2
}Enum_CFMBusBarCell;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_CFMNTCTemp_
#define _DEFINED_TYPEDEF_FOR_Enum_CFMNTCTemp_
typedef enum {
 Enum_CFMNTCTemp_NoUse = 0,
 Enum_CFMNTCTemp_Cell = 1,
 Enum_CFMNTCTemp_BusBar = 2
}Enum_CFMNTCTemp;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_CMSBmsSelfChk_
#define _DEFINED_TYPEDEF_FOR_Enum_CMSBmsSelfChk_
typedef enum {
 Enum_CMSBmsSelfChk_SelfChecking = 1,
 Enum_CMSBmsSelfChk_Fault = 2,
 Enum_CMSBmsSelfChk_NoFault = 3
}Enum_CMSBmsSelfChk;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_CMSHVBatFltSevrtyStat_
#define _DEFINED_TYPEDEF_FOR_Enum_CMSHVBatFltSevrtyStat_
typedef enum {
 Enum_CMSHVBatFltSevrtyStat_Default = 0,
 Enum_CMSHVBatFltSevrtyStat_Low = 1,
 Enum_CMSHVBatFltSevrtyStat_Med = 2,
 Enum_CMSHVBatFltSevrtyStat_High = 3,
 Enum_CMSHVBatFltSevrtyStat_Highest = 4
}Enum_CMSHVBatFltSevrtyStat;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_CTCCtrCtlConnMode_
#define _DEFINED_TYPEDEF_FOR_Enum_CTCCtrCtlConnMode_
typedef enum {
 Enum_CTCCtrCtlConnMode_Default = 0,
 Enum_CTCCtrCtlConnMode_DCChrg = 1,
 Enum_CTCCtrCtlConnMode_EDCChrg = 2,
 Enum_CTCCtrCtlConnMode_ACChrg = 3,
 Enum_CTCCtrCtlConnMode_Drive = 4,
 Enum_CTCCtrCtlConnMode_VTL = 5,
 Enum_CTCCtrCtlConnMode_SelfDischrg = 6
}Enum_CTCCtrCtlConnMode;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_CTCCtrCtlState_
#define _DEFINED_TYPEDEF_FOR_Enum_CTCCtrCtlState_
typedef enum {
 Enum_CTCCtrCtlState_Offline = 0,
 Enum_CTCCtrCtlState_Connect = 1,
 Enum_CTCCtrCtlState_DCConnect = 2,
 Enum_CTCCtrCtlState_Online = 3,
 Enum_CTCCtrCtlState_PreShutdown = 4,
 Enum_CTCCtrCtlState_Shutdown = 5,
 Enum_CTCCtrCtlState_Emergency = 6,
 Enum_CTCCtrCtlState_Manual = 7
}Enum_CTCCtrCtlState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_CTCDCChrgConnState_
#define _DEFINED_TYPEDEF_FOR_Enum_CTCDCChrgConnState_
typedef enum {
 Enum_CTCDCChrgConnState_DCPosClsoe = 0,
 Enum_CTCDCChrgConnState_DCNegClose = 1,
 Enum_CTCDCChrgConnState_ConnFinish = 2,
 Enum_CTCDCChrgConnState_ConnFlt = 3
}Enum_CTCDCChrgConnState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_CTCDriveConnState_
#define _DEFINED_TYPEDEF_FOR_Enum_CTCDriveConnState_
typedef enum {
 Enum_CTCDriveConnState_BeforePreChrg = 0,
 Enum_CTCDriveConnState_PreChrg = 1,
 Enum_CTCDriveConnState_AfterPreChrg = 2,
 Enum_CTCDriveConnState_ConnFlt = 3
}Enum_CTCDriveConnState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_DCCDCChrgState_
#define _DEFINED_TYPEDEF_FOR_Enum_DCCDCChrgState_
typedef enum {
 Enum_DCCDCChrgState_Default = 0,
 Enum_DCCDCChrgState_Chrg = 1,
 Enum_DCCDCChrgState_StepChrg = 2,
 Enum_DCCDCChrgState_Heating = 3,
 Enum_DCCDCChrgState_Stop = 4
}Enum_DCCDCChrgState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_DCCDCConnSt_
#define _DEFINED_TYPEDEF_FOR_Enum_DCCDCConnSt_
typedef enum {
 Enum_DCCDCConnSt_Default = 0,
 Enum_DCCDCConnSt_HandShake = 1,
 Enum_DCCDCConnSt_ID = 2,
 Enum_DCCDCConnSt_CFG = 3,
 Enum_DCCDCConnSt_Chrging = 4,
 Enum_DCCDCConnSt_ChrgFin = 5,
 Enum_DCCDCConnSt_CommTout = 6
}Enum_DCCDCConnSt;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_FTCFltLevel_
#define _DEFINED_TYPEDEF_FOR_Enum_FTCFltLevel_
typedef enum {
 Enum_FTCFltLevel_Default = 0,
 Enum_FTCFltLevel_Tiny = 1,
 Enum_FTCFltLevel_Res = 2,
 Enum_FTCFltLevel_Limit = 3,
 Enum_FTCFltLevel_Res1 = 4,
 Enum_FTCFltLevel_Limp = 5,
 Enum_FTCFltLevel_Slide = 6,
 Enum_FTCFltLevel_Open = 7,
 Enum_FTCFltLevel_Immed = 8
}Enum_FTCFltLevel;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_HDPPackVoltState_
#define _DEFINED_TYPEDEF_FOR_Enum_HDPPackVoltState_
typedef enum {
 Enum_HDPPackVoltState_Normal = 0,
 Enum_HDPPackVoltState_HighWarning = 1,
 Enum_HDPPackVoltState_HighAlarm = 2,
 Enum_HDPPackVoltState_LowWarning = 3,
 Enum_HDPPackVoltState_LowAlarm = 4
}Enum_HDPPackVoltState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISOHVIsoFltLevel_
#define _DEFINED_TYPEDEF_FOR_Enum_ISOHVIsoFltLevel_
typedef enum {
 Enum_ISOHVIsoFltLevel_Default = 0,
 Enum_ISOHVIsoFltLevel_FltLevel1 = 1,
 Enum_ISOHVIsoFltLevel_FltLevel2 = 2,
 Enum_ISOHVIsoFltLevel_FltLevel3 = 3
}Enum_ISOHVIsoFltLevel;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISOHVIsoMeasState_
#define _DEFINED_TYPEDEF_FOR_Enum_ISOHVIsoMeasState_
typedef enum {
 Enum_ISOHVIsoMeasState_Initial = 0,
 Enum_ISOHVIsoMeasState_Offline = 1,
 Enum_ISOHVIsoMeasState_PosMeas = 2,
 Enum_ISOHVIsoMeasState_NegMeas = 3,
 Enum_ISOHVIsoMeasState_VauleCalcu = 4
}Enum_ISOHVIsoMeasState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISPAppInvld_
#define _DEFINED_TYPEDEF_FOR_Enum_ISPAppInvld_
typedef enum {
 Enum_ISPAppInvld_Normal = 0,
 Enum_ISPAppInvld_InValid = 1
}Enum_ISPAppInvld;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISPBMULastPwrDown_
#define _DEFINED_TYPEDEF_FOR_Enum_ISPBMULastPwrDown_
typedef enum {
 Enum_ISPBMULastPwrDown_PwrSpyUnknown = 0,
 Enum_ISPBMULastPwrDown_PwrSpyDisconnect = 1,
 Enum_ISPBMULastPwrDown_PwrSpyConnect = 2
}Enum_ISPBMULastPwrDown;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISPBMULastReset_
#define _DEFINED_TYPEDEF_FOR_Enum_ISPBMULastReset_
typedef enum {
 Enum_ISPBMULastReset_NoReset = 0,
 Enum_ISPBMULastReset_ResetByApp = 1,
 Enum_ISPBMULastReset_ResetByWD = 2,
 Enum_ISPBMULastReset_ResetByGenExcp = 2,
 Enum_ISPBMULastReset_ResetByStackMonitor = 2,
 Enum_ISPBMULastReset_ResetBySafetyExcp = 2,
 Enum_ISPBMULastReset_ResetUnkonown = 2,
 Enum_ISPBMULastReset_ResetDuringShutdown = 2
}Enum_ISPBMULastReset;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISPBsicSysMod_
#define _DEFINED_TYPEDEF_FOR_Enum_ISPBsicSysMod_
typedef enum {
 Enum_ISPBsicSysMod_Boot = 0,
 Enum_ISPBsicSysMod_Init = 1,
 Enum_ISPBsicSysMod_Run = 2,
 Enum_ISPBsicSysMod_Shutdown = 3
}Enum_ISPBsicSysMod;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISPCCState_
#define _DEFINED_TYPEDEF_FOR_Enum_ISPCCState_
typedef enum {
 Enum_ISPCCState_Unconnect = 0,
 Enum_ISPCCState_Deblocking = 1,
 Enum_ISPCCState_Connect = 2,
 Enum_ISPCCState_Fault = 3,
 Enum_ISPCCState_DischrgConnect = 4
}Enum_ISPCCState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISPCMUAFETempVld_
#define _DEFINED_TYPEDEF_FOR_Enum_ISPCMUAFETempVld_
typedef enum {
 Enum_ISPCMUAFETempVld_OnlyConvErr = 6,
 Enum_ISPCMUAFETempVld_OnlyCRCErr = 5,
 Enum_ISPCMUAFETempVld_OnlyUpdateErr = 3,
 Enum_ISPCMUAFETempVld_NoErr = 7
}Enum_ISPCMUAFETempVld;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISPCMUPCBTempVld_
#define _DEFINED_TYPEDEF_FOR_Enum_ISPCMUPCBTempVld_
typedef enum {
 Enum_ISPCMUPCBTempVld_OnlyUpdateErr = 3,
 Enum_ISPCMUPCBTempVld_OnlyCRCErr = 5,
 Enum_ISPCMUPCBTempVld_OnlyConvErr = 6,
 Enum_ISPCMUPCBTempVld_NoErr = 7
}Enum_ISPCMUPCBTempVld;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISPCellTempVld_
#define _DEFINED_TYPEDEF_FOR_Enum_ISPCellTempVld_
typedef enum {
 Enum_ISPCellTempVld_ConvErrCRCErr = 0,
 Enum_ISPCellTempVld_OnlyCRCErr = 1,
 Enum_ISPCellTempVld_OnlyConvErr = 2,
 Enum_ISPCellTempVld_NoErr = 3
}Enum_ISPCellTempVld;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISPCellVoltVld_
#define _DEFINED_TYPEDEF_FOR_Enum_ISPCellVoltVld_
typedef enum {
 Enum_ISPCellVoltVld_ConvErrCRCErr = 0,
 Enum_ISPCellVoltVld_OnlyCRCErr = 1,
 Enum_ISPCellVoltVld_OnlyConvErr = 2,
 Enum_ISPCellVoltVld_NoErr = 3
}Enum_ISPCellVoltVld;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISPCmuReIninSts_
#define _DEFINED_TYPEDEF_FOR_Enum_ISPCmuReIninSts_
typedef enum {
 Enum_ISPCmuReIninSts_NoInint = 0,
 Enum_ISPCmuReIninSts_InintProcess = 1,
 Enum_ISPCmuReIninSts_InintFail = 2
}Enum_ISPCmuReIninSts;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISPCrashSgl_
#define _DEFINED_TYPEDEF_FOR_Enum_ISPCrashSgl_
typedef enum {
 Enum_ISPCrashSgl_NoCrash = 0,
 Enum_ISPCrashSgl_FrontPretensioner = 1,
 Enum_ISPCrashSgl_FrontFirstLevel = 2,
 Enum_ISPCrashSgl_FrontPretensionerFrontFirstLevel = 3,
 Enum_ISPCrashSgl_RightHandSide = 8,
 Enum_ISPCrashSgl_FrontPretensionerRightHandSide = 9,
 Enum_ISPCrashSgl_FrontFirstLevelRightHandSide = 10,
 Enum_ISPCrashSgl_FrontPretensionerFrontFirstLevelRightHandSide = 11,
 Enum_ISPCrashSgl_LeftHandSide = 16,
 Enum_ISPCrashSgl_FrontPretensionerLeftHandSide = 17,
 Enum_ISPCrashSgl_FrontFirstLevelLeftHandSide = 18,
 Enum_ISPCrashSgl_FrontPretensionerFrontFirstLevelLeftHandSide = 19,
 Enum_ISPCrashSgl_LeftHandSideRightHandSide = 24,
 Enum_ISPCrashSgl_FrontPretensionerLeftHandSideRightHandSide = 25,
 Enum_ISPCrashSgl_FrontFirstLevelLeftHandSideRightHandSide = 26,
 Enum_ISPCrashSgl_FrontPretensionerFrontFirstLevelLeftHandSideRightHandSide = 27
}Enum_ISPCrashSgl;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISPDischgReq_
#define _DEFINED_TYPEDEF_FOR_Enum_ISPDischgReq_
typedef enum {
 Enum_ISPDischgReq_NoRequest = 0,
 Enum_ISPDischgReq_V2XDischrg = 1,
 Enum_ISPDischgReq_QuitRequest = 2
}Enum_ISPDischgReq;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISPEcuOffTiSt_
#define _DEFINED_TYPEDEF_FOR_Enum_ISPEcuOffTiSt_
typedef enum {
 Enum_ISPEcuOffTiSt_Valid = 1,
 Enum_ISPEcuOffTiSt_IrregularShutdown = 2,
 Enum_ISPEcuOffTiSt_FunFail = 3
}Enum_ISPEcuOffTiSt;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISPRunNVMState_
#define _DEFINED_TYPEDEF_FOR_Enum_ISPRunNVMState_
typedef enum {
 Enum_ISPRunNVMState_LastOK = 0,
 Enum_ISPRunNVMState_LastNotOK = 1,
 Enum_ISPRunNVMState_Pending = 2,
 Enum_ISPRunNVMState_IntFailed = 3,
 Enum_ISPRunNVMState_Skipped = 4,
 Enum_ISPRunNVMState_RefInValidated = 5,
 Enum_ISPRunNVMState_Cancled = 6,
 Enum_ISPRunNVMState_RefLost = 7,
 Enum_ISPRunNVMState_RestoredRom = 8
}Enum_ISPRunNVMState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISPShutDownNVMState_
#define _DEFINED_TYPEDEF_FOR_Enum_ISPShutDownNVMState_
typedef enum {
 Enum_ISPShutDownNVMState_LastOK = 0,
 Enum_ISPShutDownNVMState_LastNotOK = 1,
 Enum_ISPShutDownNVMState_Pending = 2,
 Enum_ISPShutDownNVMState_IntFailed = 3,
 Enum_ISPShutDownNVMState_Skipped = 4,
 Enum_ISPShutDownNVMState_RefInValidated = 5,
 Enum_ISPShutDownNVMState_Cancled = 6,
 Enum_ISPShutDownNVMState_RefLost = 7,
 Enum_ISPShutDownNVMState_RestoredRom = 8
}Enum_ISPShutDownNVMState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ISPStackVoltVld_
#define _DEFINED_TYPEDEF_FOR_Enum_ISPStackVoltVld_
typedef enum {
 Enum_ISPStackVoltVld_UpdateErrCRCErrConvErr = 0,
 Enum_ISPStackVoltVld_UpdateErrCRCErr = 1,
 Enum_ISPStackVoltVld_UpdateErrConvErr = 2,
 Enum_ISPStackVoltVld_OnlyUpdateErr = 3,
 Enum_ISPStackVoltVld_ConvErrCRCErr = 4,
 Enum_ISPStackVoltVld_OnlyCRCErr = 5,
 Enum_ISPStackVoltVld_OnlyConvErr = 6,
 Enum_ISPStackVoltVld_NoErr = 7
}Enum_ISPStackVoltVld;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_LDPCC2St_
#define _DEFINED_TYPEDEF_FOR_Enum_LDPCC2St_
typedef enum {
 Enum_LDPCC2St_Unconnect = 0,
 Enum_LDPCC2St_Connect = 1,
 Enum_LDPCC2St_Fault = 2
}Enum_LDPCC2St;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_LDPDCChrgPlugTempState_
#define _DEFINED_TYPEDEF_FOR_Enum_LDPDCChrgPlugTempState_
typedef enum {
 Enum_LDPCChrgPlugTempState_Normal = 0,
 Enum_LDPDCChrgPlugTempState_FltLevel1 = 1,
 Enum_LDPDCChrgPlugTempState_FltLevel2 = 2,
 Enum_LDPDCChrgPlugTempState_FltLevel3 = 3
}Enum_LDPDCChrgPlugTempState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_MSMBMUState_
#define _DEFINED_TYPEDEF_FOR_Enum_MSMBMUState_
typedef enum {
 Enum_MSMBMUState_Standby = 0,
 Enum_MSMBMUState_Run = 1,
 Enum_MSMBMUState_PreShutdown = 2,
 Enum_MSMBMUState_Shutdown = 3
}Enum_MSMBMUState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ODPCCState_
#define _DEFINED_TYPEDEF_FOR_Enum_ODPCCState_
typedef enum {
 Enum_ODPCCState_Init = 0,
 Enum_ODPCCState_DisConnect = 1,
 Enum_ODPCCState_HalfConnect = 2,
 Enum_ODPCCState_ChrgConnect10A15000 = 3,
 Enum_ODPCCState_ChrgConnect16A680 = 4,
 Enum_ODPCCState_ChrgConnect32A220 = 5,
 Enum_ODPCCState_DisChrgConnect10A27000 = 6,
 Enum_ODPCCState_DisChrgConnect16A2000 = 7,
 Enum_ODPCCState_DisChrgConnect32A1000 = 8,
 Enum_ODPCCState_Reserved = 9
}Enum_ODPCCState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ODPElockState_
#define _DEFINED_TYPEDEF_FOR_Enum_ODPElockState_
typedef enum {
 Enum_ODPElockState_UnLock = 0,
 Enum_ODPElockState_Lock = 1,
 Enum_ODPElockState_Reserve = 2
}Enum_ODPElockState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ODPObcChrgSt_
#define _DEFINED_TYPEDEF_FOR_Enum_ODPObcChrgSt_
typedef enum {
 Enum_ODPObcChrgSt_Init = 0,
 Enum_ODPObcChrgSt_Ready = 1,
 Enum_ODPObcChrgSt_Charging = 2,
 Enum_ODPObcChrgSt_V2LDisChrging = 3,
 Enum_ODPObcChrgSt_InnerDisChrging = 4,
 Enum_ODPObcChrgSt_V2VDisChrging = 5,
 Enum_ODPObcChrgSt_Drating = 6,
 Enum_ODPObcChrgSt_Stop = 7,
 Enum_ODPObcChrgSt_PreHeating = 8,
 Enum_ODPObcChrgSt_Poweroff = 9,
 Enum_ODPObcChrgSt_Fault = 10
}Enum_ODPObcChrgSt;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_ODP_ObcCpSt_
#define _DEFINED_TYPEDEF_FOR_Enum_ODP_ObcCpSt_
typedef enum {
 Enum_ODP_ObcCpSt_CP9V = 0,
 Enum_ODP_ObcCpSt_CP0V = 1,
 Enum_ODP_ObcCpSt_CP9VPWM = 2,
 Enum_ODP_ObcCpSt_CP6V = 3,
 Enum_ODP_ObcCpSt_CP6VPWM = 4,
 Enum_ODP_ObcCpSt_CP12V = 5,
 Enum_ODP_ObcCpSt_CP12VPWM = 6,
 Enum_ODP_ObcCpSt_CPOutRange = 7
}Enum_ODP_ObcCpSt;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_SOCSOCWarnSt_
#define _DEFINED_TYPEDEF_FOR_Enum_SOCSOCWarnSt_
typedef enum {
 Enum_SOCSOCWarnSt_Normal = 0,
 Enum_SOCSOCWarnSt_HighWarning = 1,
 Enum_SOCSOCWarnSt_HighAlarm = 2,
 Enum_SOCSOCWarnSt_LowWarning = 3,
 Enum_SOCSOCWarnSt_LowAlarm = 4
}Enum_SOCSOCWarnSt;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_SOHCapFltState_
#define _DEFINED_TYPEDEF_FOR_Enum_SOHCapFltState_
typedef enum {
 Enum_SOHCapFltState_Normal = 0,
 Enum_SOHCapFltState_Warning = 1,
 Enum_SOHCapFltState_Alarm = 2
}Enum_SOHCapFltState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_SOPChrgPwrState_
#define _DEFINED_TYPEDEF_FOR_Enum_SOPChrgPwrState_
typedef enum {
 Enum_SOPChrgPwrState_Normal = 0,
 Enum_SOPChrgPwrState_FltLevel1 = 1,
 Enum_SOPChrgPwrState_FltLevel2 = 2,
 Enum_SOPChrgPwrState_FltLevel3 = 3
}Enum_SOPChrgPwrState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_SOPDisChrgPwrState_
#define _DEFINED_TYPEDEF_FOR_Enum_SOPDisChrgPwrState_
typedef enum {
 Enum_SOPDisChrgPwrState_Normal = 0,
 Enum_SOPDisChrgPwrState_FltLevel1 = 1,
 Enum_SOPDisChrgPwrState_FltLevel2 = 2,
 Enum_SOPDisChrgPwrState_FltLevel3 = 3
}Enum_SOPDisChrgPwrState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_SOPFeedbackPwrState_
#define _DEFINED_TYPEDEF_FOR_Enum_SOPFeedbackPwrState_
typedef enum {
 Enum_SOPFeedbackPwrState_Normal = 0,
 Enum_SOPFeedbackPwrState_FltLevel1 = 1,
 Enum_SOPFeedbackPwrState_FltLevel2 = 2,
 Enum_SOPFeedbackPwrState_FltLevel3 = 3
}Enum_SOPFeedbackPwrState;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_VDPChrgRqst_
#define _DEFINED_TYPEDEF_FOR_Enum_VDPChrgRqst_
typedef enum {
 Enum_VDPChrgRqst_Default = 0,
 Enum_VDPChrgRqst_PowerUp = 1,
 Enum_VDPChrgRqst_PowerDown = 2
}Enum_VDPChrgRqst;
#endif
 
#ifndef _DEFINED_TYPEDEF_FOR_Enum_VDPDriveRqst_
#define _DEFINED_TYPEDEF_FOR_Enum_VDPDriveRqst_
typedef enum {
 Enum_VDPDriveRqst_Default = 0,
 Enum_VDPDriveRqst_PowerUp = 1,
 Enum_VDPDriveRqst_PowerDown = 2,
 Enum_VDPDriveRqst_Failure = 3,
 Enum_VDPDriveRqst_EmergencyDown = 4
}Enum_VDPDriveRqst;
#endif
 
#endif 
