/*
 * File: BSPR_BattTempPlausDiag_parameters.c
 *
 * Code generated for Simulink model 'BSPR_BattTempPlausDiag'.
 *
 * Model version                  : 1.1419
 * Simulink Coder version         : 8.13 (R2017b) 24-Jul-2017
 * C/C++ source code generated on : Fri Dec 11 09:29:30 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 "rtwtypes.h"
#include "BSPR_BattTempPlausDiag_types.h"

/* Exported data definition */
#define ASW1_OEM_START_SEC_DEFAULT_CALIB_UNSPECIFIED
#include "Asw1_OEM_MemMap.h"

/* Definition for custom storage class: Const */
const volatile uint8_T BSPR_cntBattTCnstErrDet_C = 20U;/* Event debounce:consistent error detect for battery temperature sensor */
const volatile uint8_T BSPR_cntBattTCnstErrHeal_C = 200U;/* Event debounce::consistent error heaing for battery temperature sensor */
const volatile uint8_T BSPR_cntBattTHopErrDet_C = 20U;/* Event debounce:Jitter error detect for battery temperature sensor */
const volatile uint8_T BSPR_cntBattTHopErrHeal_C = 20U;/* Event debounce::Jitter error heaing for battery temperature sensor */
const volatile uint8_T BSPR_cntBattTPlausDiag_CW = 255U;/* Codeword for out of range check */
const volatile uint8_T BSPR_cntCellTPlausDiag_CW = 255U;/* Codeword for out of range check */
const volatile real32_T BSPR_cofBattTLowPassK_C = 0.05F;/* Label: cofficent for K lowpass */
const volatile real32_T BSPR_tBattTCnstFaultThres_C = 15.0F;/* Threshold: temperature for battery temperature consistent check */
const volatile real32_T BSPR_tBattTHopFaultThres_C = 2.0F;/* Threshold: Jitter error for battery temperature */
const volatile real32_T BSPR_tBattTempCnstHi_C = 80.0F;/* Threshold:allowed max temperature for battery temperature consistent check */
const volatile real32_T BSPR_tBattTempCnstLo_C = -40.0F;/* Threshold:allowed min temperature for battery temperature consistent check */
const volatile real32_T BSPR_tBattTempCnstThres_C = 6.0F;/* Threshold:allowed difference between max battery temperature and min battery temperature */
const volatile real32_T BSPR_tBattTempEnvtDiff_C = 40.0F;/* Threshold:allowed difference between average battery temperature and environment temperature */
const volatile real32_T BSPR_tBusbarTCnstFaultThres_C = 20.0F;
const volatile real32_T BSPR_tBusbarTCnstHealThres_C = 10.0F;
const volatile real32_T BSPR_tCellTCnstFaultThres_C = 20.0F;
const volatile real32_T BSPR_tCellTCnstHealThres_C = 15.0F;
const volatile real32_T BSPR_tiBattTCnstErrDet_C = 2.0F;
const volatile real32_T BSPR_tiBattTCnstErrHeal_C = 2.0F;

#define ASW1_OEM_STOP_SEC_DEFAULT_CALIB_UNSPECIFIED
#include "Asw1_OEM_MemMap.h"

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