/*
 * File: HVSR_parameter.c
 *
 * Code generated for Simulink model 'HVSR_IsoChk'.
 *
 * Model version                  : 1.862
 * Simulink Coder version         : 8.11 (R2016b) 25-Aug-2016
 * C/C++ source code generated on : Fri Feb 26 16:33:23 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
 */

#include "rtwtypes.h"
#include "zero_crossing_types.h"
#include "HVSR_IsoChk_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 boolean_T HVSR_InsResCtrlSw_C = 1;
const volatile boolean_T HVSR_ResFirstCtrlSw_C = 1;
const volatile boolean_T HVSR_bIsoCctChkEna_C = 1;
const volatile boolean_T HVSR_bIsoResShieldCal = 0;
const volatile boolean_T HVSR_bSw1EnaByMnl_C = 0;
const volatile boolean_T HVSR_bSw2EnaByMnl_C = 0;
const volatile boolean_T HVSR_bSw3EnaByMnl_C = 0;
const volatile boolean_T HVSR_bSwEnaByMnl_C = 0;
const volatile boolean_T HVSR_bVldEnaByMnl_C = 0;
const volatile uint8_T HVSR_cntIsoChkCnfDiag_C = 3U;
const volatile uint8_T HVSR_cntIsoChkCnfLv1Diag_C = 2U;
const volatile uint8_T HVSR_cntIsoChkDiag_CW = 7U;
const volatile uint16_T HVSR_cntPwrDown_C = 300U;
const volatile real32_T HVSR_cofPosVoltfilter_C = 0.2F;
const volatile real32_T HVSR_cofResGain_C = 1.0F;
const volatile real32_T HVSR_deltInsRes_C = 500.0F;
const volatile real32_T HVSR_kSlopeVal_C = 60.0F;
const volatile real32_T HVSR_numA1A2DiffMax_C = 0.452F;
const volatile real32_T HVSR_numA1A2DiffMin_C = 0.186F;
const volatile real32_T HVSR_numA1A3DiffMax_C = 0.452F;
const volatile real32_T HVSR_numA1A3DiffMin_C = 0.186F;
const volatile real32_T HVSR_numA1A4Diff_C = 0.1F;
const volatile uint16_T HVSR_numBgnTimeCnt_C = 10U;
const volatile uint16_T HVSR_numCycleTimeCnt_C = 2U;
const volatile real32_T HVSR_numIsoCnst_C = 3.0E+6F;
const volatile uint8_T HVSR_numSlopeCnfrm_C = 10U;
const volatile real32_T HVSR_numSw13ClsdMax_C = 0.895F;
const volatile real32_T HVSR_numSw13ClsdMin_C = 0.743F;
const volatile real32_T HVSR_numSw1ClsdMax_C = 0.895F;
const volatile real32_T HVSR_numSw1ClsdMin_C = 0.743F;
const volatile real32_T HVSR_numSw2ClsdMax_C = 0.258F;
const volatile real32_T HVSR_numSw2ClsdMin_C = 0.106F;
const volatile real32_T HVSR_numSwAllOpenMax_C = 0.71F;
const volatile real32_T HVSR_numSwAllOpenMin_C = 0.292F;
const volatile real32_T HVSR_rIsoCnfHysDiag_C = 250000.0F;
const volatile real32_T HVSR_rIsoCnfHysLv1Diag_C = 750000.0F;
const volatile real32_T HVSR_resIsoFaultLvl1Thres_C = 750000.0F;
const volatile real32_T HVSR_resIsoFaultLvl2Thres_C = 250000.0F;
const volatile real32_T HVSR_resRstnUpLim_C = 10000.0F;
const volatile uint8_T HVSR_stBMSModeLvl_C = 14U;
const volatile real32_T HVSR_tiChkFilteTime_C = 1.0F;
const volatile real32_T HVSR_tiIsoCctChkTotMax_T = 20.0F;
const volatile real32_T HVSR_tiIsoCctChkWait_T = 0.2F;
const volatile real32_T HVSR_tiIsoChkCycl_T = 0.1F;
const volatile real32_T HVSR_tiIsoChkDebounce_C = 2.0F;
const volatile real32_T HVSR_tiIsoVldChkDebounce_C = 300.0F;
const volatile real32_T HVSR_tiTaskTime_C = 0.1F;
const volatile real32_T HVSR_tiVoltDiffThres_C = 0.5F;
const volatile real32_T HVSR_uBattVoltRngHi_C = 450.0F;/* Threshold for battery voltage out of range high check */
const volatile real32_T HVSR_uBattVoltRngLo_C = 150.0F;/* Threshold for battery voltage out of range low check */
const volatile real32_T HVSR_uIsoKVoltThres_C = 1.3F;
const volatile real32_T HVSR_uIsoPosVoltFilter_C = 0.5F;
const volatile real32_T HVSR_uIsoVoltThres_C = 2.0F;

#define ASW1_OEM_STOP_SEC_DEFAULT_CALIB_UNSPECIFIED
#include "Asw1_OEM_MemMap.h"

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