/*
 * File: COMR_RtcCor.h
 *
 * Code generated for Simulink model 'COMR_RtcCor'.
 *
 * Model version                  : A1.1_0
 * Simulink Coder version         : 8.11 (R2016b) 25-Aug-2016
 * C/C++ source code generated on : Wed Jun 17 20:19:13 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_COMR_RtcCor_h_
#define RTW_HEADER_COMR_RtcCor_h_
#include <math.h>
#include <stddef.h>
#ifndef COMR_RtcCor_COMMON_INCLUDES_
# define COMR_RtcCor_COMMON_INCLUDES_
#include "rtwtypes.h"
#endif                                 /* COMR_RtcCor_COMMON_INCLUDES_ */

#include "COMR_RtcCor_types.h"
#include "plook_u32u8_bincka.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 {
  boolean_T RelationalOperator;        /* '<S6>/Relational Operator' */
} B_COMR_RtcCor_T;

/* Block states (auto storage) for system '<Root>' */
typedef struct {
  real32_T Delay_DSTATE;               /* '<S3>/Delay' */
} DW_COMR_RtcCor_T;

/* Block signals (auto storage) */
extern B_COMR_RtcCor_T COMR_RtcCor_B;

/* Block states (auto storage) */
extern DW_COMR_RtcCor_T COMR_RtcCor_DW;

/* Model entry point functions */
extern void COMR_RtcCor_initialize(void);
extern void COMR_RtcCor_step(void);

/* Exported data declaration */

/* Declaration for custom storage class: OutputSignal */
extern volatile boolean_T COMR_bRtcCorrectionEn;
extern volatile real32_T COMR_tiDiffStopTime;

/*-
 * 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>' : 'COMR_RtcCor'
 * '<S1>'   : 'COMR_RtcCor/COMR_RtcCor'
 * '<S2>'   : 'COMR_RtcCor/COMR_RtcCor/COMR_RtcCalc'
 * '<S3>'   : 'COMR_RtcCor/COMR_RtcCor/TONV_100msTimeDebounce'
 * '<S4>'   : 'COMR_RtcCor/COMR_RtcCor/COMR_RtcCalc/Data2Day'
 * '<S5>'   : 'COMR_RtcCor/COMR_RtcCor/COMR_RtcCalc/Data2Day_Nvm'
 * '<S6>'   : 'COMR_RtcCor/COMR_RtcCor/COMR_RtcCalc/MinCalc'
 */
#endif                                 /* RTW_HEADER_COMR_RtcCor_h_ */

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