/*
 * File: DGM_private.h
 *
 * Code generated for Simulink model 'DGM'.
 *
 * Model version                  : 1.2
 * Simulink Coder version         : 8.13 (R2017b) 24-Jul-2017
 * C/C++ source code generated on : Tue Jun 16 14:04:28 2020
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: Generic->Unspecified (assume 32-bit Generic)
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */

#ifndef RTW_HEADER_DGM_private_h_
#define RTW_HEADER_DGM_private_h_
#include "rtwtypes.h"
#include "DGM.h"
#ifndef UCHAR_MAX
#include <limits.h>
#endif

#if ( UCHAR_MAX != (0xFFU) ) || ( SCHAR_MAX != (0x7F) )
#error Code was generated for compiler with different sized uchar/char. \
Consider adjusting Test hardware word size settings on the \
Hardware Implementation pane to match your compiler word sizes as \
defined in limits.h of the compiler. Alternatively, you can \
select the Test hardware is the same as production hardware option and \
select the Enable portable word sizes option on the Code Generation > \
Verification pane for ERT based targets, which will disable the \
preprocessor word size checks.
#endif

#if ( USHRT_MAX != (0xFFFFU) ) || ( SHRT_MAX != (0x7FFF) )
#error Code was generated for compiler with different sized ushort/short. \
Consider adjusting Test hardware word size settings on the \
Hardware Implementation pane to match your compiler word sizes as \
defined in limits.h of the compiler. Alternatively, you can \
select the Test hardware is the same as production hardware option and \
select the Enable portable word sizes option on the Code Generation > \
Verification pane for ERT based targets, which will disable the \
preprocessor word size checks.
#endif

#if ( UINT_MAX != (0xFFFFFFFFU) ) || ( INT_MAX != (0x7FFFFFFF) )
#error Code was generated for compiler with different sized uint/int. \
Consider adjusting Test hardware word size settings on the \
Hardware Implementation pane to match your compiler word sizes as \
defined in limits.h of the compiler. Alternatively, you can \
select the Test hardware is the same as production hardware option and \
select the Enable portable word sizes option on the Code Generation > \
Verification pane for ERT based targets, which will disable the \
preprocessor word size checks.
#endif

#if ( ULONG_MAX != (0xFFFFFFFFU) ) || ( LONG_MAX != (0x7FFFFFFF) )
#error Code was generated for compiler with different sized ulong/long. \
Consider adjusting Test hardware word size settings on the \
Hardware Implementation pane to match your compiler word sizes as \
defined in limits.h of the compiler. Alternatively, you can \
select the Test hardware is the same as production hardware option and \
select the Enable portable word sizes option on the Code Generation > \
Verification pane for ERT based targets, which will disable the \
preprocessor word size checks.
#endif

/* Imported (extern) block signals */
extern volatile boolean_T COMR_DFC_Msg17DTmt;   /* '<S197>/rff_cti' */
extern volatile boolean_T COMR_DFC_ChkSumMsg2EBErr;/* '<S192>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg2EBTmt;   /* '<S188>/rff_cti' */
extern volatile boolean_T COMR_DFC_RcMsg2E6Mis; /* '<S184>/rff_cti' */
extern volatile boolean_T COMR_DFC_ChkSumMsg2E6Err;/* '<S180>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg2E6Tmt;   /* '<S176>/rff_cti' */
extern volatile boolean_T COMR_DFC_RcMsg2E1Mis; /* '<S172>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg28CTmt;   /* '<S168>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg37FTmt;   /* '<S164>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg195Tmt;   /* '<S160>/rff_cti' */
extern volatile boolean_T COMR_DFC_ChkSumMsg2E1Err;/* '<S156>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg2F1Tmt;   /* '<S152>/rff_cti' */
extern volatile boolean_T COMR_DFC_RcMsg050Mis; /* '<S148>/rff_cti' */
extern volatile boolean_T COMR_DFC_ChkSumMsg050Err;/* '<S144>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg050Tmt;   /* '<S140>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg3AATmt;   /* '<S136>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg2DFTmt;   /* '<S132>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg2BBTmt;   /* '<S128>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg2ADTmt;   /* '<S124>/rff_cti' */
extern volatile boolean_T COMR_DFC_RcMsg2A7Mis; /* '<S120>/rff_cti' */
extern volatile boolean_T COMR_DFC_ChkSumMsg2A7Err;/* '<S116>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg2E1Tmt;   /* '<S112>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg2A7Tmt;   /* '<S108>/rff_cti' */
extern volatile boolean_T COMR_DFC_RcMsg2A5Mis; /* '<S104>/rff_cti' */
extern volatile boolean_T COMR_DFC_ChkSumMsg2A5Err;/* '<S100>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg2A5Tmt;   /* '<S96>/rff_cti' */
extern volatile boolean_T COMR_DFC_RcMsg2A3Mis; /* '<S92>/rff_cti' */
extern volatile boolean_T COMR_DFC_ChkSumMsg2A3Err;/* '<S88>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg2A3Tmt;   /* '<S84>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg0B5Tmt;   /* '<S80>/rff_cti' */
extern volatile boolean_T COMR_DFC_MsgCABTmt;   /* '<S76>/rff_cti' */
extern volatile boolean_T COMR_DFC_RcMsg2EBMis; /* '<S72>/rff_cti' */
extern volatile boolean_T COMR_DFC_Msg130Tmt;   /* '<S68>/rff_cti' */
extern boolean_T DGM_OnAfterDelay(boolean_T rtu_OnSignal, rtB_OnAfterDelay_DGM
  *localB, rtDW_OnAfterDelay_DGM *localDW, uint32_T rtp_taskTime, uint32_T
  rtp_delayTime);
extern boolean_T DGM_OnAfterDelay1(boolean_T rtu_OnSignal,
  rtB_OnAfterDelay_DGM_f *localB, rtDW_OnAfterDelay_DGM_m *localDW, uint32_T
  rtp_taskTime, uint32_T rtp_delayTime);
extern boolean_T DGM_OnAfterDelay2(boolean_T rtu_OnSignal,
  rtB_OnAfterDelay_DGM_j *localB, rtDW_OnAfterDelay_DGM_i *localDW, uint32_T
  rtp_taskTime, uint32_T rtp_delayTime);
extern boolean_T DGM_OnHoldT(boolean_T rtu_OnSignal, rtB_OnHoldT_DGM *localB,
  rtDW_OnHoldT_DGM *localDW, uint32_T rtp_taskTime, uint32_T rtp_delayTime);
extern void DGM_rff_cti_Init(boolean_T *rty_fault_flg);
extern void DGM_rff_cti(boolean_T rtu_i_fault, int16_T rtu_sat, int16_T rtu_inc,
  int16_T rtu_dec, boolean_T rtu_lock, boolean_T *rty_fault_flg,
  rtDW_rff_cti_DGM *localDW);
extern void DGM_IOS_Init(void);
extern void DGM_IOS(void);
extern void DGM_IOS1_Init(void);
extern void DGM_IOS1(void);

/* Exported data declaration */

/* Volatile memory section */
/* Declaration for custom storage class: Signal_Volatile */
extern volatile boolean_T BMCR_bWkUpVCU;
extern volatile boolean_T BSPR_bKl15WkUp;
extern volatile boolean_T COMR_bLvComDiagEn;
extern volatile boolean_T COMR_stEol;
extern volatile boolean_T VCAN_NMMsgRx;
extern boolean_T hld_PrivateCAN_0x050_ChksumErr;
extern boolean_T hld_PrivateCAN_0x050_RolcntErr;
extern boolean_T hld_PrivateCAN_0x050_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x0B5_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x130_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x17D_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x195_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x28C_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x2A3_ChksumErr;
extern boolean_T hld_PrivateCAN_0x2A3_RolcntErr;
extern boolean_T hld_PrivateCAN_0x2A3_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x2A5_ChksumErr;
extern boolean_T hld_PrivateCAN_0x2A5_RolcntErr;
extern boolean_T hld_PrivateCAN_0x2A5_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x2A7_ChksumErr;
extern boolean_T hld_PrivateCAN_0x2A7_RolcntErr;
extern boolean_T hld_PrivateCAN_0x2A7_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x2AD_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x2BB_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x2DF_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x2E1_ChksumErr;
extern boolean_T hld_PrivateCAN_0x2E1_RolcntErr;
extern boolean_T hld_PrivateCAN_0x2E1_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x2E6_ChksumErr;
extern boolean_T hld_PrivateCAN_0x2E6_RolcntErr;
extern boolean_T hld_PrivateCAN_0x2E6_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x2EB_ChksumErr;
extern boolean_T hld_PrivateCAN_0x2EB_RolcntErr;
extern boolean_T hld_PrivateCAN_0x2EB_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x2F1_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x37F_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x3AA_TimeoutErr;
extern boolean_T hld_PrivateCAN_0x3C2_TimeoutErr;

#endif                                 /* RTW_HEADER_DGM_private_h_ */

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