#ifndef __c6_ADP_h__
#define __c6_ADP_h__

/* Type Definitions */
#ifndef typedef_SFc6_ADPInstanceStruct
#define typedef_SFc6_ADPInstanceStruct

typedef struct {
  SimStruct *S;
  ChartInfoStruct chartInfo;
  uint32_T chartNumber;
  uint32_T instanceNumber;
  int32_T c6_sfEvent;
  boolean_T c6_doneDoubleBufferReInit;
  uint8_T c6_is_active_c6_ADP;
  uint8_T c6_TimeCounter20ms;
  uint8_T c6_Const100ms;
  uint8_T c6_TimeCounter100ms;
  uint8_T c6_Const20ms;
  uint8_T c6_Const500ms;
  uint8_T c6_TimeCounter500ms;
  uint8_T c6_TimeCounter1000ms;
  uint8_T c6_Const1000ms;
  uint8_T c6_doSetSimStateSideEffects;
  const mxArray *c6_setSimStateSideEffectsInfo;
  void *c6_fEmlrtCtx;
} SFc6_ADPInstanceStruct;

#endif                                 /*typedef_SFc6_ADPInstanceStruct*/

/* Named Constants */

/* Variable Declarations */
extern struct SfDebugInstanceStruct *sfGlobalDebugInstanceStruct;

/* Variable Definitions */

/* Function Declarations */
extern const mxArray *sf_c6_ADP_get_eml_resolved_functions_info(void);

/* Function Definitions */
extern void sf_c6_ADP_get_check_sum(mxArray *plhs[]);
extern void c6_ADP_method_dispatcher(SimStruct *S, int_T method, void *data);

#endif
