/*
 * File: BSPR_ThmTempCalc.h
 *
 * Code generated for Simulink model 'BSPR_ThmTempCalc'.
 *
 * Model version                  : 1.68
 * Simulink Coder version         : 8.11 (R2016b) 25-Aug-2016
 * C/C++ source code generated on : Wed Jun 17 19:44:56 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_BSPR_ThmTempCalc_h_
#define RTW_HEADER_BSPR_ThmTempCalc_h_
#include <stddef.h>
#ifndef BSPR_ThmTempCalc_COMMON_INCLUDES_
# define BSPR_ThmTempCalc_COMMON_INCLUDES_
#include "rtwtypes.h"
#endif                                 /* BSPR_ThmTempCalc_COMMON_INCLUDES_ */

#include "BSPR_ThmTempCalc_types.h"

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

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

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

/* Block signals (auto storage) */
typedef struct {
  real32_T Switch1;                    /* '<S9>/Switch1' */
  real32_T uDLookupTable1;             /* '<S4>/1-D Lookup Table1' */
  real32_T Switch1_o;                  /* '<S7>/Switch1' */
  real32_T uDLookupTable1_i;           /* '<S2>/1-D Lookup Table1' */
} B_BSPR_ThmTempCalc_T;

/* Block states (auto storage) for system '<Root>' */
typedef struct {
  real32_T Delay_DSTATE;                 /* '<S9>/Delay' */
  real32_T Delay_DSTATE_d;               /* '<S8>/Delay' */
  real32_T Delay_DSTATE_p;               /* '<S7>/Delay' */
  real32_T Delay_DSTATE_pf;              /* '<S6>/Delay' */
  real32_T UnitDelay_DSTATE;           /* '<S9>/Unit Delay' */
  real32_T UnitDelay_DSTATE_e;         /* '<S8>/Unit Delay' */
  real32_T UnitDelay_DSTATE_d;         /* '<S7>/Unit Delay' */
  real32_T UnitDelay_DSTATE_dg;        /* '<S6>/Unit Delay' */
  boolean_T Subsystem_MODE;            /* '<S1>/Subsystem' */
  boolean_T Subsystem1_MODE;           /* '<S1>/Subsystem1' */
  boolean_T Subsystem2_MODE;           /* '<S1>/Subsystem2' */
  boolean_T Subsystem3_MODE;           /* '<S1>/Subsystem3' */
} DW_BSPR_ThmTempCalc_T;

/* Block signals (auto storage) */
extern B_BSPR_ThmTempCalc_T BSPR_ThmTempCalc_B;

/* Block states (auto storage) */
extern DW_BSPR_ThmTempCalc_T BSPR_ThmTempCalc_DW;

/* Model entry point functions */
extern void BSPR_ThmTempCalc_initialize(void);
extern void BSPR_ThmTempCalc_step(void);

/* Exported data declaration */

/* Declaration for custom storage class: OutputSignal */
extern volatile real32_T BSPR_tClntDsT;
extern volatile real32_T BSPR_tClntUsT;
extern volatile real32_T BSPR_uClntDsT;
extern volatile real32_T BSPR_uClntDsTFlt;
extern volatile real32_T BSPR_uClntUsT;
extern volatile real32_T BSPR_uClntUsTFlt;

/*-
 * 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>' : 'BSPR_ThmTempCalc'
 * '<S1>'   : 'BSPR_ThmTempCalc/BSPR_ThmTempCalc'
 * '<S2>'   : 'BSPR_ThmTempCalc/BSPR_ThmTempCalc/Subsystem'
 * '<S3>'   : 'BSPR_ThmTempCalc/BSPR_ThmTempCalc/Subsystem1'
 * '<S4>'   : 'BSPR_ThmTempCalc/BSPR_ThmTempCalc/Subsystem2'
 * '<S5>'   : 'BSPR_ThmTempCalc/BSPR_ThmTempCalc/Subsystem3'
 * '<S6>'   : 'BSPR_ThmTempCalc/BSPR_ThmTempCalc/Subsystem/K_Lowpass2'
 * '<S7>'   : 'BSPR_ThmTempCalc/BSPR_ThmTempCalc/Subsystem1/K_Lowpass2'
 * '<S8>'   : 'BSPR_ThmTempCalc/BSPR_ThmTempCalc/Subsystem2/K_Lowpass1'
 * '<S9>'   : 'BSPR_ThmTempCalc/BSPR_ThmTempCalc/Subsystem3/K_Lowpass1'
 */
#endif                                 /* RTW_HEADER_BSPR_ThmTempCalc_h_ */

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