/*
 * File: BCMR_DChrgTiRem_private.h
 *
 * Code generated for Simulink model 'BCMR_DChrgTiRem'.
 *
 * Model version                  : 1.645
 * Simulink Coder version         : 8.11 (R2016b) 25-Aug-2016
 * C/C++ source code generated on : Sun Feb 28 20:48:46 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_BCMR_DChrgTiRem_private_h_
#define RTW_HEADER_BCMR_DChrgTiRem_private_h_
#include "rtwtypes.h"
#include "BCMR_DChrgTiRem.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_RKzlJNFV2qcn[2];

#define rtCP_TheoryTimeMap_maxIndex    rtCP_pooled_RKzlJNFV2qcn  /* Computed Parameter: rtCP_TheoryTimeMap_maxIndex
                                                                  * Referenced by: '<S17>/TheoryTimeMap'
                                                                  */

extern void BCMR_DChrgTiRem_ParaStep_Reset(B_ParaStep_BCMR_DChrgTiRem_T *localB,
  DW_ParaStep_BCMR_DChrgTiRem_T *localDW);
extern void BCMR_DChrgTiRem_ParaStep(real32_T rtu_BattTemp, const real32_T
  rtu_BCMR_BattPara_A[16], const uint8_T rtu_BCMR_ParaStep_A[16], real32_T
  rtu_BCMR_HysRng_C, B_ParaStep_BCMR_DChrgTiRem_T *localB,
  DW_ParaStep_BCMR_DChrgTiRem_T *localDW);
extern void BCMR_DChrgTiRem_ParaStep2_Reset(B_ParaStep2_BCMR_DChrgTiRem_T
  *localB, DW_ParaStep2_BCMR_DChrgTiRem_T *localDW);
extern void BCMR_DChrgTiRem_ParaStep2(real32_T rtu_BattTemp, const real32_T
  rtu_BCMR_BattPara_A[16], const uint8_T rtu_BCMR_ParaStep_A[16], real32_T
  rtu_BCMR_HysRng_C, B_ParaStep2_BCMR_DChrgTiRem_T *localB,
  DW_ParaStep2_BCMR_DChrgTiRem_T *localDW);

/* Exported data declaration */

/* Declaration for custom storage class: InputSignal */
extern volatile boolean_T BCMR_bDChrgCurrOutputEna;
extern volatile boolean_T BCMR_bDChrgCurrReqEna;
extern volatile boolean_T BCMR_flgDChrgFulChk;
extern volatile uint8_T BCMR_stDChrgDebugOut;
extern volatile real32_T BSER_rSoc;
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 COMR_iDcChrgMaxCurrOutputPmtdCml;

#endif                                 /* RTW_HEADER_BCMR_DChrgTiRem_private_h_ */

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