/*
 * File: BSPR_BattTempPlausDiag_private.h
 *
 * 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
 */

#ifndef RTW_HEADER_BSPR_BattTempPlausDiag_private_h_
#define RTW_HEADER_BSPR_BattTempPlausDiag_private_h_
#include "rtwtypes.h"
#include "BSPR_BattTempPlausDiag.h"

extern void BSPR_BattTemp_NplDiagCalc_Reset(B_NplDiagCalc_BSPR_BattTempPl_T
  *localB, DW_NplDiagCalc_BSPR_BattTempP_T *localDW);
extern void BSPR_BattTempPlausD_NplDiagCalc(const real32_T rtu_BSPR_tBattTemp_A
  [48], real32_T rtu_BSPR_tAvrgBattTempFlt, boolean_T
  rtu_BSPR_flgBattTempDiagEna, boolean_T rtu_BSPR_flgBattTempExtrDiffEna,
  uint8_T rtu_BSPR_cntBattTSnsrNum, real32_T rtu_BSPR_tBattTCnstFaultThres_C,
  uint8_T rtu_BSPR_cntBattTCnstErrDet_C, uint8_T rtu_BSPR_cntBattTCnstErrHeal_C,
  boolean_T rtu_BSPR_bBattTCnstDiagSwt, B_NplDiagCalc_BSPR_BattTempPl_T *localB,
  DW_NplDiagCalc_BSPR_BattTempP_T *localDW);
extern void BSPR_BattTemp_MeanValCalc_Reset(B_MeanValCalc_BSPR_BattTempPl_T
  *localB, DW_MeanValCalc_BSPR_BattTempP_T *localDW);
extern void BSPR_BattTempPlausD_MeanValCalc(const real32_T rtu_BSPR_tBattTemp_A
  [48], real32_T rtu_BSPR_tBattTempCnstAvrg, uint8_T rtu_BSPR_cntBattTSnsrNum,
  B_MeanValCalc_BSPR_BattTempPl_T *localB, DW_MeanValCalc_BSPR_BattTempP_T
  *localDW);
extern void BSPR_BattTempP_JitterDiag_Reset(B_JitterDiag_BSPR_BattTempPla_T
  *localB, DW_JitterDiag_BSPR_BattTempPl_T *localDW);
extern void BSPR_BattTempPlausDi_JitterDiag(const real32_T rtu_BSPR_tBattTemp_A
  [48], uint8_T rtu_BSPR_cntBattTSnsrNum, real32_T rtu_BSPR_cofBattTLowPassK_C,
  real32_T rtu_BSPR_tBattTHopFaultThres_C, uint8_T rtu_BSPR_cntBattTHopErrDet_C,
  uint8_T rtu_BSPR_cntBattTHopErrHeal_C, boolean_T rtu_BSPR_bBattTHopDiagSwt,
  B_JitterDiag_BSPR_BattTempPla_T *localB, DW_JitterDiag_BSPR_BattTempPl_T
  *localDW);

/* Exported data declaration */

/* Declaration for custom storage class: InputSignal */
extern volatile uint8_T BSPR_cntBattTSnsrNum;/* number of battery sensor in current battery package */
extern volatile uint8_T BSPR_cntCellTSnsrNum;
extern volatile real32_T BSPR_tBattTempMax;
extern volatile real32_T BSPR_tBattTempMin;
extern volatile real32_T BSPR_tBattTemp_A[48];
extern volatile real32_T BSPR_tCellTempMax;
extern volatile real32_T BSPR_tCellTempMin;
extern volatile real32_T BSPR_tCellTemp_A[48];
extern volatile real32_T COMR_tEnvT;

#endif                                 /* RTW_HEADER_BSPR_BattTempPlausDiag_private_h_ */

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