/*
 * File: adc_dma_bctu.h
 *
 * Code generated for Simulink model 'adc_dma_bctu'.
 *
 * Model version                   : 4.44
 * Simulink Coder version          : 24.1 (R2024a) 19-Nov-2023
 * MBDT for S32K3 Series Version  :  Version 1.8.0 (R2023b-R2025b) 11-Dec-2025
 * C/C++ source code generated on  : Thu Mar 12 15:19:47 2026
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: ARM Compatible->ARM Cortex
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */

#ifndef adc_dma_bctu_h_
#define adc_dma_bctu_h_
#ifndef adc_dma_bctu_COMMON_INCLUDES_
#define adc_dma_bctu_COMMON_INCLUDES_
#include "rtwtypes.h"
#include "Adc.h"
#include "string.h"
#include "Mcl.h"
#include "Dio.h"
#include "Dio_Cfg.h"
#include "freemaster.h"
#include "sys_init.h"
#include "freemaster_s32k3xx_lpuart.h"
#include "Lpuart_Uart_Ip_HwAccess.h"
#include "mbdt_lpuart.h"
#endif                                 /* adc_dma_bctu_COMMON_INCLUDES_ */

#include "adc_dma_bctu_types.h"
#include "CDD_Mcl.h"
#include <stddef.h>

/* Macros for accessing real-time model data structure */
#ifndef rtmGetErrorStatus
#define rtmGetErrorStatus(rtm)         ((rtm)->errorStatus)
#endif

#ifndef rtmSetErrorStatus
#define rtmSetErrorStatus(rtm, val)    ((rtm)->errorStatus = (val))
#endif

#ifndef rtmStepTask
#define rtmStepTask(rtm, idx)          ((rtm)->Timing.TaskCounters.TID[(idx)] == 0)
#endif

#ifndef rtmTaskCounter
#define rtmTaskCounter(rtm, idx)       ((rtm)->Timing.TaskCounters.TID[(idx)])
#endif

/* Block signals (default storage) */
typedef struct {
  Mcl_DmaChannelStatusType Mcl;        /* '<S3>/Mcl' */
  uint32_T Adc;                        /* '<S2>/Adc' */
  uint32_T Adc1G0_Read;                /* '<S3>/Adc1' */
  uint32_T Adc1;                       /* '<S1>/Adc1' */
  uint16_T Adc1G0_Read_j;              /* '<S3>/Adc1' */
  uint8_T Dio;                         /* '<S3>/Dio' */
} B_adc_dma_bctu_T;

/* Parameters (default storage) */
struct P_adc_dma_bctu_T_ {
  real_T Adc2_api_func;                /* Mask Parameter: Adc2_api_func
                                        * Referenced by: '<S1>/Adc2'
                                        */
  real_T Adc1_api_func;                /* Mask Parameter: Adc1_api_func
                                        * Referenced by: '<S1>/Adc1'
                                        */
  real_T Adc1_api_func_a;              /* Mask Parameter: Adc1_api_func_a
                                        * Referenced by: '<S3>/Adc1'
                                        */
  real_T Mcl_api_func;                 /* Mask Parameter: Mcl_api_func
                                        * Referenced by: '<S3>/Mcl'
                                        */
  real_T Mcl2_api_func;                /* Mask Parameter: Mcl2_api_func
                                        * Referenced by: '<S3>/Mcl2'
                                        */
  real_T Adc_api_func;                 /* Mask Parameter: Adc_api_func
                                        * Referenced by: '<S2>/Adc'
                                        */
  real_T Adc1_api_func_b;              /* Mask Parameter: Adc1_api_func_b
                                        * Referenced by: '<S2>/Adc1'
                                        */
  real_T FreeMASTERConfig_automatic_buff;
                              /* Mask Parameter: FreeMASTERConfig_automatic_buff
                               * Referenced by: '<S2>/FreeMASTER Config'
                               */
  real_T FreeMASTERConfig_canrxidext;
                                  /* Mask Parameter: FreeMASTERConfig_canrxidext
                                   * Referenced by: '<S2>/FreeMASTER Config'
                                   */
  real_T FreeMASTERConfig_canrxobj; /* Mask Parameter: FreeMASTERConfig_canrxobj
                                     * Referenced by: '<S2>/FreeMASTER Config'
                                     */
  real_T FreeMASTERConfig_cantxidext;
                                  /* Mask Parameter: FreeMASTERConfig_cantxidext
                                   * Referenced by: '<S2>/FreeMASTER Config'
                                   */
  real_T FreeMASTERConfig_cantxobj; /* Mask Parameter: FreeMASTERConfig_cantxobj
                                     * Referenced by: '<S2>/FreeMASTER Config'
                                     */
  real_T Dio_channel;                  /* Mask Parameter: Dio_channel
                                        * Referenced by: '<S3>/Dio'
                                        */
  real_T FreeMASTERConfig_default_rfifo_;
                              /* Mask Parameter: FreeMASTERConfig_default_rfifo_
                               * Referenced by: '<S2>/FreeMASTER Config'
                               */
  real_T Mcl2_dmaChannelCommandType;
                                   /* Mask Parameter: Mcl2_dmaChannelCommandType
                                    * Referenced by: '<S3>/Mcl2'
                                    */
  real_T Mcl_dmaLogicChannel;          /* Mask Parameter: Mcl_dmaLogicChannel
                                        * Referenced by: '<S3>/Mcl'
                                        */
  real_T Mcl2_dmaLogicChannel;         /* Mask Parameter: Mcl2_dmaLogicChannel
                                        * Referenced by: '<S3>/Mcl2'
                                        */
  real_T Dio_gpioSim;                  /* Mask Parameter: Dio_gpioSim
                                        * Referenced by: '<S3>/Dio'
                                        */
  real_T Adc2_group;                   /* Mask Parameter: Adc2_group
                                        * Referenced by: '<S1>/Adc2'
                                        */
  real_T Adc1_group;                   /* Mask Parameter: Adc1_group
                                        * Referenced by: '<S1>/Adc1'
                                        */
  real_T Adc1_group_o;                 /* Mask Parameter: Adc1_group_o
                                        * Referenced by: '<S3>/Adc1'
                                        */
  real_T Adc_group;                    /* Mask Parameter: Adc_group
                                        * Referenced by: '<S2>/Adc'
                                        */
  real_T Adc1_group_b;                 /* Mask Parameter: Adc1_group_b
                                        * Referenced by: '<S2>/Adc1'
                                        */
  real_T Hardware_Interrupt_Handler_irqG;
                              /* Mask Parameter: Hardware_Interrupt_Handler_irqG
                               * Referenced by: '<Root>/Hardware_Interrupt_Handler'
                               */
  real_T Hardware_Interrupt_Handler_irqH;
                              /* Mask Parameter: Hardware_Interrupt_Handler_irqH
                               * Referenced by: '<Root>/Hardware_Interrupt_Handler'
                               */
  real_T Hardware_Interrupt_Handler_irqS;
                              /* Mask Parameter: Hardware_Interrupt_Handler_irqS
                               * Referenced by: '<Root>/Hardware_Interrupt_Handler'
                               */
  real_T FreeMASTERConfig_isr_prio; /* Mask Parameter: FreeMASTERConfig_isr_prio
                                     * Referenced by: '<S2>/FreeMASTER Config'
                                     */
  real_T FreeMASTERConfig_mode;        /* Mask Parameter: FreeMASTERConfig_mode
                                        * Referenced by: '<S2>/FreeMASTER Config'
                                        */
  real_T FreeMASTERConfig_scope_max_vars;
                              /* Mask Parameter: FreeMASTERConfig_scope_max_vars
                               * Referenced by: '<S2>/FreeMASTER Config'
                               */
  real_T FreeMASTERConfig_scope_use;
                                   /* Mask Parameter: FreeMASTERConfig_scope_use
                                    * Referenced by: '<S2>/FreeMASTER Config'
                                    */
  uint16_T FreeMASTERConfig_canrxid; /* Mask Parameter: FreeMASTERConfig_canrxid
                                      * Referenced by: '<S2>/FreeMASTER Config'
                                      */
  uint16_T FreeMASTERConfig_cantxid; /* Mask Parameter: FreeMASTERConfig_cantxid
                                      * Referenced by: '<S2>/FreeMASTER Config'
                                      */
  real_T Adc2_P3;                      /* Expression: hw_unit
                                        * Referenced by: '<S1>/Adc2'
                                        */
  real_T Adc2_P5;                      /* Expression: channel
                                        * Referenced by: '<S1>/Adc2'
                                        */
  real_T Adc2_P6;                      /* Expression: threshold_control
                                        * Referenced by: '<S1>/Adc2'
                                        */
  real_T Adc2_P7;                      /* Expression: power_state
                                        * Referenced by: '<S1>/Adc2'
                                        */
  real_T Adc2_P8;                      /* Expression: ctu_unit
                                        * Referenced by: '<S1>/Adc2'
                                        */
  real_T Adc2_P9;                      /* Expression: ctu_trigger
                                        * Referenced by: '<S1>/Adc2'
                                        */
  real_T Adc2_P10;                     /* Expression: ctu_fifo_idx
                                        * Referenced by: '<S1>/Adc2'
                                        */
  real_T Adc1_P3;                      /* Expression: hw_unit
                                        * Referenced by: '<S1>/Adc1'
                                        */
  real_T Adc1_P5;                      /* Expression: channel
                                        * Referenced by: '<S1>/Adc1'
                                        */
  real_T Adc1_P6;                      /* Expression: threshold_control
                                        * Referenced by: '<S1>/Adc1'
                                        */
  real_T Adc1_P7;                      /* Expression: power_state
                                        * Referenced by: '<S1>/Adc1'
                                        */
  real_T Adc1_P8;                      /* Expression: ctu_unit
                                        * Referenced by: '<S1>/Adc1'
                                        */
  real_T Adc1_P9;                      /* Expression: ctu_trigger
                                        * Referenced by: '<S1>/Adc1'
                                        */
  real_T Adc1_P10;                     /* Expression: ctu_fifo_idx
                                        * Referenced by: '<S1>/Adc1'
                                        */
  real_T Adc1_P3_e;                    /* Expression: hw_unit
                                        * Referenced by: '<S3>/Adc1'
                                        */
  real_T Adc1_P5_h;                    /* Expression: channel
                                        * Referenced by: '<S3>/Adc1'
                                        */
  real_T Adc1_P6_b;                    /* Expression: threshold_control
                                        * Referenced by: '<S3>/Adc1'
                                        */
  real_T Adc1_P7_d;                    /* Expression: power_state
                                        * Referenced by: '<S3>/Adc1'
                                        */
  real_T Adc1_P8_k;                    /* Expression: ctu_unit
                                        * Referenced by: '<S3>/Adc1'
                                        */
  real_T Adc1_P9_e;                    /* Expression: ctu_trigger
                                        * Referenced by: '<S3>/Adc1'
                                        */
  real_T Adc1_P10_l;                   /* Expression: ctu_fifo_idx
                                        * Referenced by: '<S3>/Adc1'
                                        */
  real_T Mcl_P3;                       /* Expression: logicInput
                                        * Referenced by: '<S3>/Mcl'
                                        */
  real_T Mcl_P4;                       /* Expression: logicOutput
                                        * Referenced by: '<S3>/Mcl'
                                        */
  real_T Mcl_P5;                       /* Expression: logicInstance
                                        * Referenced by: '<S3>/Mcl'
                                        */
  real_T Mcl_P6;                       /* Expression: emiosInstance
                                        * Referenced by: '<S3>/Mcl'
                                        */
  real_T Mcl_P7;                       /* Expression: ftmInstance
                                        * Referenced by: '<S3>/Mcl'
                                        */
  real_T Mcl_P8;                       /* Expression: logicChannel
                                        * Referenced by: '<S3>/Mcl'
                                        */
  real_T Mcl_P9;                       /* Expression: prescalerType
                                        * Referenced by: '<S3>/Mcl'
                                        */
  real_T Mcl_P10;                      /* Expression: dmaLogicInstance
                                        * Referenced by: '<S3>/Mcl'
                                        */
  real_T Mcl_P12;                      /* Expression: dmaInstanceCommandType
                                        * Referenced by: '<S3>/Mcl'
                                        */
  real_T Mcl_P13;                      /* Expression: dmaChannelCommandType
                                        * Referenced by: '<S3>/Mcl'
                                        */
  real_T Mcl_P14;                      /* Expression: dmaScatterGatherElement
                                        * Referenced by: '<S3>/Mcl'
                                        */
  real_T Mcl_P15;                      /* Expression: dmaChannelInfo
                                        * Referenced by: '<S3>/Mcl'
                                        */
  real_T Dio_P3;                       /* Expression: channel_group
                                        * Referenced by: '<S3>/Dio'
                                        */
  real_T Dio_P4;                       /* Expression: port
                                        * Referenced by: '<S3>/Dio'
                                        */
  real_T Mcl2_P3;                      /* Expression: logicInput
                                        * Referenced by: '<S3>/Mcl2'
                                        */
  real_T Mcl2_P4;                      /* Expression: logicOutput
                                        * Referenced by: '<S3>/Mcl2'
                                        */
  real_T Mcl2_P5;                      /* Expression: logicInstance
                                        * Referenced by: '<S3>/Mcl2'
                                        */
  real_T Mcl2_P6;                      /* Expression: emiosInstance
                                        * Referenced by: '<S3>/Mcl2'
                                        */
  real_T Mcl2_P7;                      /* Expression: ftmInstance
                                        * Referenced by: '<S3>/Mcl2'
                                        */
  real_T Mcl2_P8;                      /* Expression: logicChannel
                                        * Referenced by: '<S3>/Mcl2'
                                        */
  real_T Mcl2_P9;                      /* Expression: prescalerType
                                        * Referenced by: '<S3>/Mcl2'
                                        */
  real_T Mcl2_P10;                     /* Expression: dmaLogicInstance
                                        * Referenced by: '<S3>/Mcl2'
                                        */
  real_T Mcl2_P12;                     /* Expression: dmaInstanceCommandType
                                        * Referenced by: '<S3>/Mcl2'
                                        */
  real_T Mcl2_P14;                     /* Expression: dmaScatterGatherElement
                                        * Referenced by: '<S3>/Mcl2'
                                        */
  real_T Mcl2_P15;                     /* Expression: dmaChannelInfo
                                        * Referenced by: '<S3>/Mcl2'
                                        */
  real_T Adc_P3;                       /* Expression: hw_unit
                                        * Referenced by: '<S2>/Adc'
                                        */
  real_T Adc_P5;                       /* Expression: channel
                                        * Referenced by: '<S2>/Adc'
                                        */
  real_T Adc_P6;                       /* Expression: threshold_control
                                        * Referenced by: '<S2>/Adc'
                                        */
  real_T Adc_P7;                       /* Expression: power_state
                                        * Referenced by: '<S2>/Adc'
                                        */
  real_T Adc_P8;                       /* Expression: ctu_unit
                                        * Referenced by: '<S2>/Adc'
                                        */
  real_T Adc_P9;                       /* Expression: ctu_trigger
                                        * Referenced by: '<S2>/Adc'
                                        */
  real_T Adc_P10;                      /* Expression: ctu_fifo_idx
                                        * Referenced by: '<S2>/Adc'
                                        */
  real_T Adc1_P3_f;                    /* Expression: hw_unit
                                        * Referenced by: '<S2>/Adc1'
                                        */
  real_T Adc1_P5_p;                    /* Expression: channel
                                        * Referenced by: '<S2>/Adc1'
                                        */
  real_T Adc1_P6_o;                    /* Expression: threshold_control
                                        * Referenced by: '<S2>/Adc1'
                                        */
  real_T Adc1_P7_o;                    /* Expression: power_state
                                        * Referenced by: '<S2>/Adc1'
                                        */
  real_T Adc1_P8_e;                    /* Expression: ctu_unit
                                        * Referenced by: '<S2>/Adc1'
                                        */
  real_T Adc1_P9_k;                    /* Expression: ctu_trigger
                                        * Referenced by: '<S2>/Adc1'
                                        */
  real_T Adc1_P10_n;                   /* Expression: ctu_fifo_idx
                                        * Referenced by: '<S2>/Adc1'
                                        */
  real_T FreeMASTERConfig_P1;          /* Expression: connection_type
                                        * Referenced by: '<S2>/FreeMASTER Config'
                                        */
  real_T FreeMASTERConfig_P2;          /* Expression: instance
                                        * Referenced by: '<S2>/FreeMASTER Config'
                                        */
  real_T FreeMASTERConfig_P15;         /* Expression: buff_size
                                        * Referenced by: '<S2>/FreeMASTER Config'
                                        */
  real_T FreeMASTERConfig_P17;         /* Expression: rfifo_size
                                        * Referenced by: '<S2>/FreeMASTER Config'
                                        */
  real_T Hardware_Interrupt_Handler_P2;/* Expression: blockCbk
                                        * Referenced by: '<Root>/Hardware_Interrupt_Handler'
                                        */
  Mcl_DmaChannelStateType DataStoreMemory16_InitialValue;
                   /* Expression: Mcl_DmaChannelStateType.MCL_DMA_CH_RESET_STATE
                    * Referenced by: '<Root>/Data Store Memory16'
                    */
  int32_T Hardware_Interrupt_Handler_P1[3];/* Expression: funcParams
                                            * Referenced by: '<Root>/Hardware_Interrupt_Handler'
                                            */
  uint32_T Adc2_P1;                    /* Expression: funcParam
                                        * Referenced by: '<S1>/Adc2'
                                        */
  uint32_T Adc1_P1;                    /* Expression: funcParam
                                        * Referenced by: '<S1>/Adc1'
                                        */
  uint32_T Adc1_P1_p;                  /* Expression: funcParam
                                        * Referenced by: '<S3>/Adc1'
                                        */
  uint32_T Mcl_P1;                     /* Expression: funcParam
                                        * Referenced by: '<S3>/Mcl'
                                        */
  uint32_T Dio_P1[2];                  /* Expression: funcParams
                                        * Referenced by: '<S3>/Dio'
                                        */
  uint32_T Mcl2_P1;                    /* Expression: funcParam
                                        * Referenced by: '<S3>/Mcl2'
                                        */
  uint32_T Adc_P1;                     /* Expression: funcParam
                                        * Referenced by: '<S2>/Adc'
                                        */
  uint32_T Adc1_P1_pu;                 /* Expression: funcParam
                                        * Referenced by: '<S2>/Adc1'
                                        */
  uint32_T DataStoreMemory12_InitialValue;
                           /* Computed Parameter: DataStoreMemory12_InitialValue
                            * Referenced by: '<Root>/Data Store Memory12'
                            */
  uint32_T DataStoreMemory7_InitialValue;
                            /* Computed Parameter: DataStoreMemory7_InitialValue
                             * Referenced by: '<Root>/Data Store Memory7'
                             */
  uint32_T DataStoreMemory1_InitialValue;
                            /* Computed Parameter: DataStoreMemory1_InitialValue
                             * Referenced by: '<Root>/Data Store Memory1'
                             */
  uint32_T DataStoreMemory17_InitialValue;
                           /* Computed Parameter: DataStoreMemory17_InitialValue
                            * Referenced by: '<Root>/Data Store Memory17'
                            */
  uint32_T DataStoreMemory3_InitialValue;
                            /* Computed Parameter: DataStoreMemory3_InitialValue
                             * Referenced by: '<Root>/Data Store Memory3'
                             */
  uint32_T DataStoreMemory4_InitialValue;
                            /* Computed Parameter: DataStoreMemory4_InitialValue
                             * Referenced by: '<Root>/Data Store Memory4'
                             */
  uint16_T FreeMASTERConfig_P3[6];    /* Computed Parameter: FreeMASTERConfig_P3
                                       * Referenced by: '<S2>/FreeMASTER Config'
                                       */
  uint16_T DataStoreMemory20_InitialValue;
                           /* Computed Parameter: DataStoreMemory20_InitialValue
                            * Referenced by: '<Root>/Data Store Memory20'
                            */
  uint16_T DataStoreMemory5_InitialValue;
                            /* Computed Parameter: DataStoreMemory5_InitialValue
                             * Referenced by: '<Root>/Data Store Memory5'
                             */
  uint16_T DataStoreMemory6_InitialValue;
                            /* Computed Parameter: DataStoreMemory6_InitialValue
                             * Referenced by: '<Root>/Data Store Memory6'
                             */
  uint16_T DataStoreMemory2_InitialValue;
                            /* Computed Parameter: DataStoreMemory2_InitialValue
                             * Referenced by: '<Root>/Data Store Memory2'
                             */
  uint16_T DataStoreMemory_InitialValue;
                             /* Computed Parameter: DataStoreMemory_InitialValue
                              * Referenced by: '<Root>/Data Store Memory'
                              */
  boolean_T DataStoreMemory10_InitialValue;
                           /* Computed Parameter: DataStoreMemory10_InitialValue
                            * Referenced by: '<Root>/Data Store Memory10'
                            */
  boolean_T DataStoreMemory11_InitialValue;
                           /* Computed Parameter: DataStoreMemory11_InitialValue
                            * Referenced by: '<Root>/Data Store Memory11'
                            */
  boolean_T DataStoreMemory14_InitialValue;
                           /* Computed Parameter: DataStoreMemory14_InitialValue
                            * Referenced by: '<Root>/Data Store Memory14'
                            */
  boolean_T DataStoreMemory9_InitialValue;
                            /* Computed Parameter: DataStoreMemory9_InitialValue
                             * Referenced by: '<Root>/Data Store Memory9'
                             */
  boolean_T DataStoreMemory18_InitialValue;
                           /* Computed Parameter: DataStoreMemory18_InitialValue
                            * Referenced by: '<Root>/Data Store Memory18'
                            */
  boolean_T DataStoreMemory19_InitialValue;
                           /* Computed Parameter: DataStoreMemory19_InitialValue
                            * Referenced by: '<Root>/Data Store Memory19'
                            */
  uint8_T DataStoreMemory13_InitialValue;
                           /* Computed Parameter: DataStoreMemory13_InitialValue
                            * Referenced by: '<Root>/Data Store Memory13'
                            */
  uint8_T DataStoreMemory15_InitialValue;
                           /* Computed Parameter: DataStoreMemory15_InitialValue
                            * Referenced by: '<Root>/Data Store Memory15'
                            */
  uint8_T DataStoreMemory8_InitialValue;
                            /* Computed Parameter: DataStoreMemory8_InitialValue
                             * Referenced by: '<Root>/Data Store Memory8'
                             */
};

/* Real-time Model Data Structure */
struct tag_RTM_adc_dma_bctu_T {
  const char_T * volatile errorStatus;

  /*
   * Timing:
   * The following substructure contains information regarding
   * the timing information for the model.
   */
  struct {
    struct {
      uint8_T TID[2];
    } TaskCounters;
  } Timing;
};

/* Block parameters (default storage) */
extern P_adc_dma_bctu_T adc_dma_bctu_P;

/* Block signals (default storage) */
extern B_adc_dma_bctu_T adc_dma_bctu_B;

/* External function called from main */
extern void adc_dma_bctu_SetEventsForThisBaseStep(boolean_T *eventFlags);

/* Model entry point functions */
extern void adc_dma_bctu_initialize(void);
extern void adc_dma_bctu_step0(void);
extern void adc_dma_bctu_step1(void);
extern void adc_dma_bctu_terminate(void);

/* Storage class 'noCacheable' */
#define ADC_START_SEC_VAR_INIT_UNSPECIFIED_NO_CACHEABLE
#include "Adc_MemMap.h"

extern uint16_T Adc1G0_ResBuff;        /* '<S2>/ResultBuffer' */

#define ADC_STOP_SEC_VAR_INIT_UNSPECIFIED_NO_CACHEABLE
#include "Adc_MemMap.h"

/* Exported data declaration */

/* Volatile memory section */
/* Declaration for custom storage class: Volatile */
extern volatile uint16_T ADC_BCTU_Result;/* '<Root>/Data Store Memory6' */
extern volatile uint16_T ADC_POT0;     /* '<Root>/Data Store Memory2' */
extern volatile uint8_T ActiveId_Instance;/* '<Root>/Data Store Memory13' */
extern volatile boolean_T Active_Channel;/* '<Root>/Data Store Memory18' */
extern volatile boolean_T Active_Instance;/* '<Root>/Data Store Memory14' */
extern volatile uint32_T Adc0_ReadStatus;/* '<Root>/Data Store Memory7' */
extern volatile uint32_T Adc1_BufReadStatus;/* '<Root>/Data Store Memory4' */
extern volatile uint16_T Adc1_ChansArray;/* '<Root>/Data Store Memory20' */
extern volatile uint32_T Adc1_ReadStatus;/* '<Root>/Data Store Memory3' */
extern volatile boolean_T Bctu_NDataFlag;/* '<Root>/Data Store Memory10' */
extern volatile boolean_T Bctu_OvrDataFlag;/* '<Root>/Data Store Memory11' */
extern volatile boolean_T Bctu_TriggerFlag;/* '<Root>/Data Store Memory9' */
extern volatile uint8_T Calibration_ADC1_Status;/* '<Root>/Data Store Memory8' */
extern volatile Mcl_DmaChannelStateType ChannelState;/* '<Root>/Data Store Memory16' */
extern volatile boolean_T Done_Channel;/* '<Root>/Data Store Memory19' */
extern volatile uint32_T Error_Channel;/* '<Root>/Data Store Memory17' */
extern volatile uint32_T Errors_Instance;/* '<Root>/Data Store Memory12' */
extern volatile uint32_T GroupStatus;  /* '<Root>/Data Store Memory1' */
extern volatile uint8_T Version_Instance;/* '<Root>/Data Store Memory15' */

/* Real-time Model object */
extern RT_MODEL_adc_dma_bctu_T *const adc_dma_bctu_M;
extern volatile boolean_T stopRequested;
extern volatile boolean_T runModel;

/*-
 * 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>' : 'adc_dma_bctu'
 * '<S1>'   : 'adc_dma_bctu/10ms'
 * '<S2>'   : 'adc_dma_bctu/Initialize Function'
 * '<S3>'   : 'adc_dma_bctu/Triggered Subsystem'
 */
#endif                                 /* adc_dma_bctu_h_ */

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