/*
 * File: BSPR_CellVoltDiag_parameters.h
 *
 * Code generated for Simulink model 'BSPR_CellVoltDiag'.
 *
 * Model version                  : 1.1098
 * Simulink Coder version         : 8.13 (R2017b) 24-Jul-2017
 * C/C++ source code generated on : Mon Feb 22 12:38:23 2021
 */

#ifndef RTW_HEADER_BSPR_CellVoltDiag_parameters_h_
#define RTW_HEADER_BSPR_CellVoltDiag_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 real32_T BSPR_CellNplDetVoltThres_C;
extern const volatile boolean_T BSPR_bCellVoltAlrmDiag_C;
extern const volatile boolean_T BSPR_bCellVoltLoAlrmDiag_C;
extern const volatile uint8_T BSPR_cntCellAvlNum_C;/* Available cell number used for reference value calculated in current battery package */
extern const volatile uint8_T BSPR_cntCellVltRngEnvtCsdr_CW;/* Codeword for environment condidered for enable condition calculate of cell voltage plausible diagnosis */
extern const volatile uint8_T BSPR_cntCellVoltNplDiag_CW;/* Codeword for cell voltage plausible diagnosis switch */
extern const volatile uint8_T BSPR_cntCellVoltRngDiag_CW;/* Codeword for cell voltage out of range diagnosis switch */
extern const volatile uint8_T BSPR_cntModuAvlNum_C;/* Available module number used for reference value calculated in current battery package */
extern const volatile uint16_T BSPR_cntUCellNplErrThres_C;/* Event debounce for cell voltage plausible detect */
extern const volatile uint16_T BSPR_cntUCellNplOkThres_C;/* Event debounce for cell voltage plausible heal */
extern const volatile uint8_T BSPR_cntVoltCellMeanSwt_CW;/* Codeword for reference value switch used for voltage plausible diagnosis */
extern const volatile real32_T BSPR_cofCurrFltCellRng_C;/* Coefficient threshold of current filter for enable condition calculate of cell voltage plausible diagnosis */
extern const volatile real32_T BSPR_iCellVoltRngCurrHi_C;/* Maximum threshold of current for enable condition calculate of cell voltage plausible diagnosis */
extern const volatile real32_T BSPR_iCellVoltRngCurrLo_C;/* Minimum threshold of current for enable condition calculate of cell voltage plausible diagnosis */
extern const volatile real32_T BSPR_iCurrHopFltDiff_C;/* Threshold for battery current fluctuate check */
extern const volatile real32_T BSPR_tBattTempCellVoltRngHi_C;/* Maximum threshold of battery temperature for enable condition calculate of cell voltage plausible diagnosis */
extern const volatile real32_T BSPR_tBattTempCellVoltRngLo_C;/* Minimum threshold of battery temperature for enable condition calculate of cell voltage plausible diagnosis */
extern const volatile real32_T BSPR_tEnvTCellVoltRngHi_C;/* Maximum threshold of environment temperature for enable condition calculate of cell voltage plausible diagnosis */
extern const volatile real32_T BSPR_tEnvTCellVoltRnglo_C;/* Minimum threshold of environment temperature for enable condition calculate of cell voltage plausible diagnosis */
extern const volatile real32_T BSPR_tiCellVoltAlrm_C;/* Time debounce for cell voltage alarm diagnosis */
extern const volatile real32_T BSPR_tiCellVoltDiagTask_C;
extern const volatile real32_T BSPR_tiCellVoltFault_C;/* Time debounce for cell voltage fault diagnosis */
extern const volatile real32_T BSPR_tiCellVoltFusf_C;/* Time debounce for cell voltage function safety diagnosis */
extern const volatile real32_T BSPR_tiCellVoltWarn_C;/* Time debounce for cell voltage warn diagnosis */
extern const volatile real32_T BSPR_tiUCellNplErrThres_C;
extern const volatile real32_T BSPR_tiUCellNplOkThres_C;
extern const volatile real32_T BSPR_uCellVoltNplDiag_CUR[5];/* Curve for cell voltage consistence diagnosis */
extern const volatile real32_T BSPR_uCellVoltNplDiag_CUR_X[5];/* X-axis: curve for cell voltage consistence diagnosis */
extern const volatile real32_T BSPR_uCellVoltRngHiFault_CUR[40];/* Curve for cell voltage out of range high fault diagnosis */
extern const volatile real32_T BSPR_uCellVoltRngHiFusf_CUR[40];/* Curve for cell voltage out of range high function safety diagnosis */
extern const volatile real32_T BSPR_uCellVoltRngHiWarnAlrm_CUR[40];/* Curve for cell voltage out of range high warn and alarm diagnosis */
extern const volatile real32_T BSPR_uCellVoltRngLoFault_CUR[40];/* Curve for cell voltage out of range low fault diagnosis */
extern const volatile real32_T BSPR_uCellVoltRngLoFusf_CUR[40];/* Curve for cell voltage out of range low function safety diagnosis */
extern const volatile real32_T BSPR_uCellVoltRngLoWarnAlrm_CUR[40];/* Curve for cell voltage out of range low warn and alarm diagnosis */
extern const volatile real32_T BSPR_uCellVoltRng_CUR_X[5];/* X-axis:Curve for cell voltage out of range diagnosis */
extern const volatile real32_T BSPR_uCellVoltRng_CUR_Y[8];/* Y-axis:Curve for cell voltage out of range diagnosis */

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

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