/*
 * File: BSER_BattSopCalc_private.h
 *
 * Code generated for Simulink model 'BSER_BattSopCalc'.
 *
 * Model version                  : A100.2_0
 * Simulink Coder version         : 8.13 (R2017b) 24-Jul-2017
 * C/C++ source code generated on : Wed Aug 25 15:04:45 2021
 *
 * 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_BSER_BattSopCalc_private_h_
#define RTW_HEADER_BSER_BattSopCalc_private_h_
#include "rtwtypes.h"
#include "BSER_BattSopCalc.h"

extern const uint32_T rtCP_pooled_wr5fZL4URmrp[2];
extern const uint32_T rtCP_pooled_KtyCpO8kzX9S[2];
extern const uint32_T rtCP_pooled_j0IgYr7VVq7k[2];
extern const uint32_T rtCP_pooled_jI8S7Drr9tpo[2];

#define rtCP_SOP_I_10s_maxIndex        rtCP_pooled_wr5fZL4URmrp  /* Computed Parameter: rtCP_SOP_I_10s_maxIndex
                                                                  * Referenced by: '<S18>/SOP_I_10s'
                                                                  */
#define rtCP_SOP_I_Conti_maxIndex      rtCP_pooled_wr5fZL4URmrp  /* Computed Parameter: rtCP_SOP_I_Conti_maxIndex
                                                                  * Referenced by: '<S18>/SOP_I_Conti'
                                                                  */
#define rtCP_SOP_I_10s_maxIndex_k      rtCP_pooled_wr5fZL4URmrp  /* Computed Parameter: rtCP_SOP_I_10s_maxIndex_k
                                                                  * Referenced by: '<S30>/SOP_I_10s'
                                                                  */
#define rtCP_SOP_I_Conti_maxIndex_k    rtCP_pooled_wr5fZL4URmrp  /* Computed Parameter: rtCP_SOP_I_Conti_maxIndex_k
                                                                  * Referenced by: '<S30>/SOP_I_Conti'
                                                                  */
#define rtCP_SOP_I_10s_maxIndex_l      rtCP_pooled_KtyCpO8kzX9S  /* Computed Parameter: rtCP_SOP_I_10s_maxIndex_l
                                                                  * Referenced by: '<S38>/SOP_I_10s'
                                                                  */
#define rtCP_SOP_I_Conti_maxIndex_fd   rtCP_pooled_KtyCpO8kzX9S  /* Computed Parameter: rtCP_SOP_I_Conti_maxIndex_fd
                                                                  * Referenced by: '<S38>/SOP_I_Conti'
                                                                  */
#define rtCP_SOP_P_10s_maxIndex        rtCP_pooled_wr5fZL4URmrp  /* Computed Parameter: rtCP_SOP_P_10s_maxIndex
                                                                  * Referenced by: '<S64>/SOP_P_10s'
                                                                  */
#define rtCP_SOP_P_Conti_maxIndex      rtCP_pooled_wr5fZL4URmrp  /* Computed Parameter: rtCP_SOP_P_Conti_maxIndex
                                                                  * Referenced by: '<S64>/SOP_P_Conti'
                                                                  */
#define rtCP_SOP_P_10s_maxIndex_p3     rtCP_pooled_wr5fZL4URmrp  /* Computed Parameter: rtCP_SOP_P_10s_maxIndex_p3
                                                                  * Referenced by: '<S74>/SOP_P_10s'
                                                                  */
#define rtCP_SOP_P_Conti_maxIndex_bi   rtCP_pooled_wr5fZL4URmrp  /* Computed Parameter: rtCP_SOP_P_Conti_maxIndex_bi
                                                                  * Referenced by: '<S74>/SOP_P_Conti'
                                                                  */
#define rtCP_SOP_P_10s1_maxIndex       rtCP_pooled_KtyCpO8kzX9S  /* Computed Parameter: rtCP_SOP_P_10s1_maxIndex
                                                                  * Referenced by: '<S82>/SOP_P_10s1'
                                                                  */
#define rtCP_SOP_P_Conti_maxIndex_np   rtCP_pooled_KtyCpO8kzX9S  /* Computed Parameter: rtCP_SOP_P_Conti_maxIndex_np
                                                                  * Referenced by: '<S82>/SOP_P_Conti'
                                                                  */
#define rtCP_uDLookupTable1_maxIndex   rtCP_pooled_j0IgYr7VVq7k  /* Computed Parameter: rtCP_uDLookupTable1_maxIndex
                                                                  * Referenced by: '<S5>/1-D Lookup Table1'
                                                                  */
#define rtCP_uDLookupTable2_maxIndex   rtCP_pooled_j0IgYr7VVq7k  /* Computed Parameter: rtCP_uDLookupTable2_maxIndex
                                                                  * Referenced by: '<S5>/1-D Lookup Table2'
                                                                  */
#define rtCP_uDLookupTable3_maxIndex   rtCP_pooled_j0IgYr7VVq7k  /* Computed Parameter: rtCP_uDLookupTable3_maxIndex
                                                                  * Referenced by: '<S5>/1-D Lookup Table3'
                                                                  */
#define rtCP_uDLookupTable4_maxIndex   rtCP_pooled_j0IgYr7VVq7k  /* Computed Parameter: rtCP_uDLookupTable4_maxIndex
                                                                  * Referenced by: '<S5>/1-D Lookup Table4'
                                                                  */
#define rtCP_BSER_uCellMinLtbLmt_maxInd rtCP_pooled_jI8S7Drr9tpo /* Computed Parameter: rtCP_BSER_uCellMinLtbLmt_maxInd
                                                                  * Referenced by: '<S2>/BSER_uCellMinLtbLmt'
                                                                  */

extern void BSER_BattSopC_CurrentLimit_LUT1(real32_T rtu_T, real32_T rtu_SOC,
  B_CurrentLimit_LUT1_BSER_Batt_T *localB);
extern void BSER_BattSo_CurrentLimit_LUT1_m(real32_T rtu_T, real32_T rtu_SOC,
  B_CurrentLimit_LUT1_BSER_Ba_o_T *localB);
extern void BSER_BattSopCal_PowerLimit_LUT1(real32_T rtu_T, real32_T rtu_SOC,
  B_PowerLimit_LUT1_BSER_BattSo_T *localB);
extern void BSER_BattSopC_PowerLimit_LUT1_c(real32_T rtu_T, real32_T rtu_SOC,
  B_PowerLimit_LUT1_BSER_Batt_d_T *localB);

/* Exported data declaration */

/* Declaration for custom storage class: InputSignal */
extern volatile uint8_T BMCR_stBmsModeCtrl;
extern volatile real32_T BSER_rSocAvrg;
extern volatile real32_T BSER_rSocMax;
extern volatile real32_T BSER_rSocMin;
extern volatile real32_T BSER_rSoh;
extern volatile real32_T BSPR_iBattCurr;
extern volatile real32_T BSPR_tCellTempAvrg;
extern volatile real32_T BSPR_tCellTempMax;
extern volatile real32_T BSPR_tCellTempMin;
extern volatile real32_T BSPR_uCellVoltAvrg;
extern volatile real32_T BSPR_uCellVoltMax;
extern volatile real32_T BSPR_uCellVoltMin;
extern volatile uint8_T DSMR_stFaultRank;

#endif                                 /* RTW_HEADER_BSER_BattSopCalc_private_h_ */

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