/*
 * File: HVSR_FuseChk.h
 *
 * Code generated for Simulink model 'HVSR_FuseChk'.
 *
 * Model version                  : 1.151
 * Simulink Coder version         : 8.11 (R2016b) 25-Aug-2016
 * C/C++ source code generated on : Thu Sep 03 20:03:04 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
 */

#ifndef RTW_HEADER_HVSR_FuseChk_h_
#define RTW_HEADER_HVSR_FuseChk_h_
#include <math.h>
#include <stddef.h>
#ifndef HVSR_FuseChk_COMMON_INCLUDES_
# define HVSR_FuseChk_COMMON_INCLUDES_
#include "rtwtypes.h"
#endif                                 /* HVSR_FuseChk_COMMON_INCLUDES_ */

#include "HVSR_FuseChk_types.h"

/* Includes for objects with custom storage classes. */
#include "HVSR_FuseChk_parameter.h"

/* Macros for accessing real-time model data structure */

/* user code (top of header file) */
#include "ASW_Interface.h"

/* Block states (auto storage) for system '<Root>' */
typedef struct {
  real32_T Delay_DSTATE;               /* '<S24>/Delay' */
  real32_T Delay_DSTATE_c;             /* '<S23>/Delay' */
  real32_T Delay_DSTATE_b;             /* '<S10>/Delay' */
  real32_T Delay_DSTATE_e;             /* '<S9>/Delay' */
  uint8_T Delay3_DSTATE;               /* '<S16>/Delay3' */
  boolean_T Delay2_DSTATE;             /* '<S16>/Delay2' */
} DW_HVSR_FuseChk_T;

/* Block states (auto storage) */
extern DW_HVSR_FuseChk_T HVSR_FuseChk_DW;

/* Model entry point functions */
extern void HVSR_FuseChk_initialize(void);
extern void HVSR_FuseChk_step(void);

/* Exported data declaration */

/* Volatile memory section */
/* Declaration for custom storage class: Volatile */
extern volatile uint8_T DFC_FuseNpl_ASW;

/* Declaration for custom storage class: OutputSignal */
extern volatile boolean_T HVSR_BattVoltVld;
extern volatile boolean_T HVSR_bBattFuseDiagCond;
extern volatile boolean_T HVSR_bFuseFaultDet;
extern volatile boolean_T HVSR_bFuseFaultHeal;
extern volatile boolean_T HVSR_bKl30FuseDiagCond;
extern volatile boolean_T HVSR_bSumVoltCellNpl;
extern volatile boolean_T HVSR_flgBattFuseErrDet;
extern volatile boolean_T HVSR_flgBattFuseErrHeal;

/*-
 * The generated code includes comments that allow you to trace directly
 * back to the appropriate location in the model.  The basic format
 * is <system>/block_name, where system is the system number (uniquely
 * assigned by Simulink) and block_name is the name of the block.
 *
 * Use the MATLAB hilite_system command to trace the generated code back
 * to the model.  For example,
 *
 * hilite_system('<S3>')    - opens system 3
 * hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3
 *
 * Here is the system hierarchy for this model
 *
 * '<Root>' : 'HVSR_FuseChk'
 * '<S1>'   : 'HVSR_FuseChk/HVSR_FuseChk'
 * '<S2>'   : 'HVSR_FuseChk/HVSR_FuseChk/ChkCond'
 * '<S3>'   : 'HVSR_FuseChk/HVSR_FuseChk/FuseDiag'
 * '<S4>'   : 'HVSR_FuseChk/HVSR_FuseChk/FuseNplCalc'
 * '<S5>'   : 'HVSR_FuseChk/HVSR_FuseChk/ChkCond/DSM_GetSFCErD'
 * '<S6>'   : 'HVSR_FuseChk/HVSR_FuseChk/ChkCond/DSM_GetSFCErD1'
 * '<S7>'   : 'HVSR_FuseChk/HVSR_FuseChk/ChkCond/DSM_GetSFCZyf'
 * '<S8>'   : 'HVSR_FuseChk/HVSR_FuseChk/ChkCond/DSM_GetSFCZyf1'
 * '<S9>'   : 'HVSR_FuseChk/HVSR_FuseChk/ChkCond/TONV_10msTimeDebounce'
 * '<S10>'  : 'HVSR_FuseChk/HVSR_FuseChk/ChkCond/TONV_10msTimeDebounce1'
 * '<S11>'  : 'HVSR_FuseChk/HVSR_FuseChk/ChkCond/DSM_GetSFCErD/DFC_IsoChkLv1_1_compare'
 * '<S12>'  : 'HVSR_FuseChk/HVSR_FuseChk/ChkCond/DSM_GetSFCErD1/DFC_IsoChkLv1_1_compare'
 * '<S13>'  : 'HVSR_FuseChk/HVSR_FuseChk/ChkCond/DSM_GetSFCZyf/DFC_IsoChkLv1_1_compare1'
 * '<S14>'  : 'HVSR_FuseChk/HVSR_FuseChk/ChkCond/DSM_GetSFCZyf1/DFC_IsoChkLv1_1_compare1'
 * '<S15>'  : 'HVSR_FuseChk/HVSR_FuseChk/FuseDiag/Compare To Constant'
 * '<S16>'  : 'HVSR_FuseChk/HVSR_FuseChk/FuseDiag/DSM_ReportCheck'
 * '<S17>'  : 'HVSR_FuseChk/HVSR_FuseChk/FuseDiag/DSM_ReportCheck/Bit Clear1'
 * '<S18>'  : 'HVSR_FuseChk/HVSR_FuseChk/FuseDiag/DSM_ReportCheck/Bit Clear2'
 * '<S19>'  : 'HVSR_FuseChk/HVSR_FuseChk/FuseDiag/DSM_ReportCheck/Bit Set'
 * '<S20>'  : 'HVSR_FuseChk/HVSR_FuseChk/FuseDiag/DSM_ReportCheck/Bit Set1'
 * '<S21>'  : 'HVSR_FuseChk/HVSR_FuseChk/FuseDiag/DSM_ReportCheck/Bit Set2'
 * '<S22>'  : 'HVSR_FuseChk/HVSR_FuseChk/FuseDiag/DSM_ReportCheck/Bit Set4'
 * '<S23>'  : 'HVSR_FuseChk/HVSR_FuseChk/FuseNplCalc/TONV_10msTimeDebounce'
 * '<S24>'  : 'HVSR_FuseChk/HVSR_FuseChk/FuseNplCalc/TONV_10msTimeDebounce1'
 */
#endif                                 /* RTW_HEADER_HVSR_FuseChk_h_ */

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