/*
 * File: CFM_Cal.h
 *
 * Code generated for Simulink model 'CFM'.
 *
 * Company                        : AIWAYS
 * Author                         : zhangzy
 * Model version                  : 'M111C110'
 * Simulink Coder version         : 8.13 (R2017b) 24-Jul-2017
 * C/C++ source code generated on : Wed Jul 14 16:29:42 2021
 */

#ifndef RTW_HEADER_CFM_Cal_h_
#define RTW_HEADER_CFM_Cal_h_
#include "rtwtypes.h"

/*UAESCalUint16*/
#define ASW1_OEM_START_SEC_DEFAULT_CALIB_16
#include "Asw1_OEM_MemMap.h"

/* Exported data declaration */
/* Declaration for custom storage class: UAESCalibrationUint16 */
extern const volatile uint16_T CcCFM_AFEAdcRelatedErrDeb_ms;/* AFEAdc转换相关故障debounce时间 */
extern const volatile uint16_T CcCFM_AFECellTempUpdErrDeb_ms;/* AFE温度数据更新故障debounce时间 */
extern const volatile uint16_T CcCFM_AFECellVoltLineOpenDeb_ms;/* AFE电压断线故障debounce时间 */
extern const volatile uint16_T CcCFM_AFECellVoltUpdErrDeb_ms;/* AFE电压数据更新故障debounce时间 */
extern const volatile uint16_T CcCFM_AFEComLostDeb_ms;/* AFE通讯故障debounce时间 */
extern const volatile uint16_T CcCFM_AFEDiagModeExitErrDeb_ms;/* AFE诊断模式退出故障debounce时间 */
extern const volatile uint16_T CcCFM_AFEGpioLineOpenDeb_ms;/* AFEGpio断线故障debounce时间 */
extern const volatile uint16_T CcCFM_AFEOtherErrDeb_ms;/* AFE其他故障debounce时间 */
extern const volatile uint16_T CcCFM_AFESampleErrDeb_ms;/* AFE采样失效故障debounce时间 */

#define ASW1_OEM_STOP_SEC_DEFAULT_CALIB_16
#include "Asw1_OEM_MemMap.h"           /*UAESCalUint8*/
#define ASW1_OEM_START_SEC_DEFAULT_CALIB_8
#include "Asw1_OEM_MemMap.h"

/* Declaration for custom storage class: UAESCalibrationUint8 */
extern const volatile boolean_T CaCFM_AFEAdcRelatedErrOvr_flg[8];/* GaCFM_AFEAdcRelatedErr_flg对应的OverWrite值 */
extern const volatile boolean_T CaCFM_AFECellTempUpdErrOvr_flg[8];/* GaCFM_AFECellTempUpdErr_flg对应的OverWrite值 */
extern const volatile boolean_T CaCFM_AFECellVoltLineOpenOvr_flg[8];/* GaCFM_AFECellVoltLineOpen_flg对应的OverWrite值 */
extern const volatile boolean_T CaCFM_AFECellVoltUpdErrOvr_flg[8];/* GaCFM_AFECellVoltUpdErr_flg对应的OverWrite值 */
extern const volatile boolean_T CaCFM_AFEComLostOvr_flg;/* GaCFM_AFEComLost_flg对应的OverWrite值 */
extern const volatile boolean_T CaCFM_AFEDiagModeExitErrOvr_flg[8];/* GaCFM_AFEDiagModeExitErr_flg对应的OverWrite值 */
extern const volatile boolean_T CaCFM_AFEGpioLineOpenOvr_flg[8];/* GaCFM_AFEGpioLineOpen_flg对应的OverWrite值 */
extern const volatile boolean_T CaCFM_AFEOtherErrOvr_flg[8];/* GaCFM_AFEOtherErr_flg对应的OverWrite值 */
extern const volatile boolean_T CaCFM_AFESampleErrOvr_flg[8];/* GaCFM_AFESampleErr_flg对应的OverWrite值 */
extern const volatile uint8_T CaCFM_BusBarCell_enum[112];/* Cell与铜牌标定量：
                                                            0：未使用，1：Cell，2：铜牌 */
extern const volatile uint8_T CaCFM_NTCTemp_enum[48];/* 温度标定量：
                                                        0：未使用，1：模组温度，2：铜牌温度 */
extern const volatile boolean_T CbCFM_AFEAdcRelatedErrOvrSwt_flg;/* GaCFM_AFEAdcRelatedErr_flg对应变量的Switch开关0:使用计算值；1:使用标定值 */
extern const volatile boolean_T CbCFM_AFECellTempUpdErrOvrSwt_flg;/* GaCFM_AFECellTempUpdErr_flg对应变量的Switch开关0:使用计算值；1:使用标定值 */
extern const volatile boolean_T CbCFM_AFECellVoltLineOpenOvrSwt_flg;/* GaCFM_AFECellVoltLineOpen_flg对应变量的Switch开关0:使用计算值；1:使用标定值 */
extern const volatile boolean_T CbCFM_AFECellVoltUpdErrOvrSwt_flg;/* GaCFM_AFECellVoltUpdErr_flg对应变量的Switch开关0:使用计算值；1:使用标定值 */
extern const volatile boolean_T CbCFM_AFEComLostOvrSwt_flg;/* GaCFM_AFEComLost_flg对应变量的Switch开关0:使用计算值；1:使用标定值 */
extern const volatile boolean_T CbCFM_AFEDiagModeExitErrOvrSwt_flg;/* GaCFM_AFEDiagModeExitErr_flg对应变量的Switch开关0:使用计算值；1:使用标定值 */
extern const volatile boolean_T CbCFM_AFEGpioLineOpenOvrSwt_flg;/* GaCFM_AFEGpioLineOpen_flg对应变量的Switch开关0:使用计算值；1:使用标定值 */
extern const volatile boolean_T CbCFM_AFEOtherErrOvrSwt_flg;/* GaCFM_AFEOtherErr_flg对应变量的Switch开关0:使用计算值；1:使用标定值 */
extern const volatile boolean_T CbCFM_AFESampleErrOvrSwt_flg;/* GaCFM_AFESampleErr_flg对应变量的Switch开关0:使用计算值；1:使用标定值 */

#define ASW1_OEM_STOP_SEC_DEFAULT_CALIB_8
#include "Asw1_OEM_MemMap.h"
#endif                                 /* RTW_HEADER_CFM_Cal_h_ */

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