/*
 * File: BSPR_CellVoltDiag_private.h
 *
 * Code generated for Simulink model 'BSPR_CellVoltDiag'.
 *
 * Model version                  : 1.1099
 * Simulink Coder version         : 8.13 (R2017b) 24-Jul-2017
 * C/C++ source code generated on : Wed Jul 21 14:36:19 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_BSPR_CellVoltDiag_private_h_
#define RTW_HEADER_BSPR_CellVoltDiag_private_h_
#include "rtwtypes.h"
#include "BSPR_CellVoltDiag.h"
#ifndef UCHAR_MAX
#include <limits.h>
#endif

#if ( UCHAR_MAX != (0xFFU) ) || ( SCHAR_MAX != (0x7F) )
#error Code was generated for compiler with different sized uchar/char. \
Consider adjusting Test hardware word size settings on the \
Hardware Implementation pane to match your compiler word sizes as \
defined in limits.h of the compiler. Alternatively, you can \
select the Test hardware is the same as production hardware option and \
select the Enable portable word sizes option on the Code Generation > \
Verification pane for ERT based targets, which will disable the \
preprocessor word size checks.
#endif

#if ( USHRT_MAX != (0xFFFFU) ) || ( SHRT_MAX != (0x7FFF) )
#error Code was generated for compiler with different sized ushort/short. \
Consider adjusting Test hardware word size settings on the \
Hardware Implementation pane to match your compiler word sizes as \
defined in limits.h of the compiler. Alternatively, you can \
select the Test hardware is the same as production hardware option and \
select the Enable portable word sizes option on the Code Generation > \
Verification pane for ERT based targets, which will disable the \
preprocessor word size checks.
#endif

#if ( UINT_MAX != (0xFFFFFFFFU) ) || ( INT_MAX != (0x7FFFFFFF) )
#error Code was generated for compiler with different sized uint/int. \
Consider adjusting Test hardware word size settings on the \
Hardware Implementation pane to match your compiler word sizes as \
defined in limits.h of the compiler. Alternatively, you can \
select the Test hardware is the same as production hardware option and \
select the Enable portable word sizes option on the Code Generation > \
Verification pane for ERT based targets, which will disable the \
preprocessor word size checks.
#endif

#if ( ULONG_MAX != (0xFFFFFFFFU) ) || ( LONG_MAX != (0x7FFFFFFF) )
#error Code was generated for compiler with different sized ulong/long. \
Consider adjusting Test hardware word size settings on the \
Hardware Implementation pane to match your compiler word sizes as \
defined in limits.h of the compiler. Alternatively, you can \
select the Test hardware is the same as production hardware option and \
select the Enable portable word sizes option on the Code Generation > \
Verification pane for ERT based targets, which will disable the \
preprocessor word size checks.
#endif

extern const uint32_T rtCP_pooled_jI8S7Drr9tpo[2];

#define rtCP_BSPR_uCellVoltRngHiWarnAlr rtCP_pooled_jI8S7Drr9tpo /* Computed Parameter: rtCP_BSPR_uCellVoltRngHiWarnAlr
                                                                  * Referenced by: '<S43>/BSPR_uCellVoltRngHiWarnAlrm_CUR'
                                                                  */
#define rtCP_BSPR_uCellVoltRngHiFault_C rtCP_pooled_jI8S7Drr9tpo /* Computed Parameter: rtCP_BSPR_uCellVoltRngHiFault_C
                                                                  * Referenced by: '<S43>/BSPR_uCellVoltRngHiFault_CUR'
                                                                  */
#define rtCP_BSPR_uCellVoltRngHiFusf_CU rtCP_pooled_jI8S7Drr9tpo /* Computed Parameter: rtCP_BSPR_uCellVoltRngHiFusf_CU
                                                                  * Referenced by: '<S43>/BSPR_uCellVoltRngHiFusf_CUR'
                                                                  */
#define rtCP_BSPR_uCellVoltRngLoWarnAlr rtCP_pooled_jI8S7Drr9tpo /* Computed Parameter: rtCP_BSPR_uCellVoltRngLoWarnAlr
                                                                  * Referenced by: '<S43>/BSPR_uCellVoltRngLoWarnAlrm_CUR'
                                                                  */
#define rtCP_BSPR_uCellVoltRngLoFault_C rtCP_pooled_jI8S7Drr9tpo /* Computed Parameter: rtCP_BSPR_uCellVoltRngLoFault_C
                                                                  * Referenced by: '<S43>/BSPR_uCellVoltRngLoFault_CUR'
                                                                  */
#define rtCP_BSPR_uCellVoltRngLoFusf_CU rtCP_pooled_jI8S7Drr9tpo /* Computed Parameter: rtCP_BSPR_uCellVoltRngLoFusf_CU
                                                                  * Referenced by: '<S43>/BSPR_uCellVoltRngLoFusf_CUR'
                                                                  */

extern void B_CellVoltBMSDebounceStartZero8(boolean_T rtu_Signal, real32_T
  rtu_Hearl2Fault, real32_T rtu_FaultStep, real32_T rtu_Fault2Heal, real32_T
  rtu_HealStep, B_CellVoltBMSDebounceStartZer_T *localB,
  DW_CellVoltBMSDebounceStartZe_T *localDW);

/* Exported data declaration */

/* Declaration for custom storage class: InputSignal */
extern volatile real32_T BSER_rSoh;
extern volatile uint8_T BSPR_cntCellSerNum;
extern volatile uint8_T BSPR_cntModuSerNum;/* module number in current battery package */
extern volatile real32_T BSPR_iBattCurr;
extern volatile real32_T BSPR_tCellTempMax;
extern volatile real32_T BSPR_tCellTempMin;
extern volatile real32_T BSPR_uCellVoltMax;
extern volatile real32_T BSPR_uCellVoltMin;
extern volatile real32_T BSPR_uCellVolt_A[150];
extern volatile real32_T BSPR_uMdulVolt_A[16];
extern volatile real32_T COMR_tEnvT;

#endif                                 /* RTW_HEADER_BSPR_CellVoltDiag_private_h_ */

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