/*
 * File: BSPR_BattCurrDiagParameter.c
 *
 * Code generated for Simulink model 'BSPR_BattCurrDiag'.
 *
 * Model version                  : A1.3_0
 * Simulink Coder version         : 8.11 (R2016b) 25-Aug-2016
 * C/C++ source code generated on : Sun Aug 16 22:05:12 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 "zero_crossing_types.h"
#include "BSPR_BattCurrDiag_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 real32_T BSPR_PhiCurrHiDThres_C = 0.75F;
const volatile real32_T BSPR_PhiCurrHiUThres_C = 0.8F;
const volatile real32_T BSPR_PhiCurrLoDThres_C = 0.15F;
const volatile real32_T BSPR_PhiCurrLoUThres_C = 0.2F;
const volatile real32_T BSPR_VehCurrHiDThres_C = 70.0F;
const volatile real32_T BSPR_VehCurrHiUThres_C = 80.0F;
const volatile real32_T BSPR_VehCurrLoDThres_C = 15.0F;
const volatile real32_T BSPR_VehCurrLoUThres_C = 20.0F;
const volatile uint8_T BSPR_cntBattCurrDiag_CW = 1U;
const volatile uint8_T BSPR_cntCurrChrgDiag_CW = 1U;
const volatile uint8_T BSPR_cntCurrStukDiag_CW = 1U;
const volatile uint8_T BSPR_cntPhiCurrStuk_C = 3U;
const volatile uint8_T BSPR_cntVehCurrStuk_C = 3U;
const volatile uint8_T BSPR_cofCurrChrgFlt_C = 1U;
const volatile real32_T BSPR_iCurrChrgFltThres_C = 3.0F;/* Calibrated max allowed current difference between measured and received from OBC */
const volatile real32_T BSPR_iCurrDiagAdapThres_C = 5.0F;/* Calibrated max allowed current during start */
const volatile real32_T BSPR_iCurrOBCDiffThres_C = 3.0F;/* Calibrated max allowed current difference between measured and send by OBC */
const volatile real32_T BSPR_iCurrOffsDiffThres_C = 2.0F;/* Calibrated max allowed current difference during start */
const volatile real32_T BSPR_iCurrStukDiffThres_C = 5.0F;/* Calibrated max allowed current difference during stuck diagnosis */
const volatile real32_T BSPR_tiChrgCurrDe_C = 2.0F;
const volatile real32_T BSPR_tiChrgCurrDiagDe_C = 2.0F;
const volatile real32_T BSPR_tiPhiCurrDe_C = 5.0F;
const volatile real32_T BSPR_tiVehCurrDe_C = 5.0F;

#define ASW1_OEM_STOP_SEC_DEFAULT_CALIB_UNSPECIFIED
#include "Asw1_OEM_MemMap.h"

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