#ifndef control_Velocidad_cal_h_
#define control_Velocidad_cal_h_
#include "rtwtypes.h"

/* Storage class 'PageSwitching', for system '<Root>' */
struct control_Velocidad_cal_type {
  real_T Difference1_ICPrevInput;     /* Mask Parameter: Difference1_ICPrevInput
                                       * Referenced by: '<S14>/UD'
                                       */
  real_T PWMGenerator2Level_MinMax[2];
                                    /* Mask Parameter: PWMGenerator2Level_MinMax
                                     * Referenced by: '<S2>/Constant10'
                                     */
  real_T EdgeDetector_model;           /* Mask Parameter: EdgeDetector_model
                                        * Referenced by: '<S17>/Constant1'
                                        */
  boolean_T EdgeDetector_ic;           /* Mask Parameter: EdgeDetector_ic
                                        * Referenced by: '<S17>/Memory'
                                        */
  real_T Out1_Y0;                      /* Expression: -1e6
                                        * Referenced by: '<S21>/Out1'
                                        */
  real_T posedge_Value[2];             /* Expression: [1 0]
                                        * Referenced by: '<S17>/pos. edge'
                                        */
  real_T negedge_Value[2];             /* Expression: [0 1]
                                        * Referenced by: '<S17>/neg. edge'
                                        */
  real_T eitheredge_Value[2];          /* Expression: [1 1]
                                        * Referenced by: '<S17>/either edge'
                                        */
  real_T _Y0;                          /* Expression: initCond
                                        * Referenced by: '<S16>/ '
                                        */
  real_T Constant1_Value;              /* Expression: 50
                                        * Referenced by: '<Root>/Constant1'
                                        */
  real_T DiscreteTimeIntegrator_gainval;
                           /* Computed Parameter: DiscreteTimeIntegrator_gainval
                            * Referenced by: '<S1>/Discrete-Time Integrator'
                            */
  real_T DiscreteTimeIntegrator_IC;    /* Expression: 0
                                        * Referenced by: '<S1>/Discrete-Time Integrator'
                                        */
  real_T Constant1_Value_l;            /* Expression: 2*pi/3
                                        * Referenced by: '<S1>/Constant1'
                                        */
  real_T Constant2_Value;              /* Expression: -2*pi/3
                                        * Referenced by: '<S1>/Constant2'
                                        */
  real_T Saturation_UpperSat;          /* Expression: 1
                                        * Referenced by: '<Root>/Saturation'
                                        */
  real_T Saturation_LowerSat;          /* Expression: -1
                                        * Referenced by: '<Root>/Saturation'
                                        */
  real_T Constant3_Value;              /* Expression: sps.Delay
                                        * Referenced by: '<S13>/Constant3'
                                        */
  real_T Constant1_Value_l0;           /* Expression: sps.Period
                                        * Referenced by: '<S13>/Constant1'
                                        */
  real_T uib1_Gain;                    /* Expression: sps.Freq
                                        * Referenced by: '<S13>/1\ib1'
                                        */
  real_T uDLookupTable_tableData[3];   /* Expression: [0 2 0]
                                        * Referenced by: '<S13>/1-D Lookup Table'
                                        */
  real_T uDLookupTable_bp01Data[3];    /* Expression: [0 .5 1]
                                        * Referenced by: '<S13>/1-D Lookup Table'
                                        */
  real_T Constant2_Value_i;            /* Expression: 1
                                        * Referenced by: '<S13>/Constant2'
                                        */
  real_T Gain1_Gain;                   /* Expression: 0.5
                                        * Referenced by: '<S4>/Gain1'
                                        */
  real_T Digitaloutput_P1_Size[2];  /* Computed Parameter: Digitaloutput_P1_Size
                                     * Referenced by: '<Root>/Digital output'
                                     */
  real_T Digitaloutput_P1;             /* Expression: id
                                        * Referenced by: '<Root>/Digital output'
                                        */
  real_T Digitaloutput_P2_Size[2];  /* Computed Parameter: Digitaloutput_P2_Size
                                     * Referenced by: '<Root>/Digital output'
                                     */
  real_T Digitaloutput_P2[6];          /* Expression: chan
                                        * Referenced by: '<Root>/Digital output'
                                        */
  real_T Digitaloutput_P3_Size[2];  /* Computed Parameter: Digitaloutput_P3_Size
                                     * Referenced by: '<Root>/Digital output'
                                     */
  real_T Digitaloutput_P3;             /* Expression: vectorizeInput
                                        * Referenced by: '<Root>/Digital output'
                                        */
  real_T Digitaloutput_P4_Size[2];  /* Computed Parameter: Digitaloutput_P4_Size
                                     * Referenced by: '<Root>/Digital output'
                                     */
  real_T Digitaloutput_P4[6];          /* Expression: reset
                                        * Referenced by: '<Root>/Digital output'
                                        */
  real_T Digitaloutput_P5_Size[2];  /* Computed Parameter: Digitaloutput_P5_Size
                                     * Referenced by: '<Root>/Digital output'
                                     */
  real_T Digitaloutput_P5[6];          /* Expression: init
                                        * Referenced by: '<Root>/Digital output'
                                        */
  real_T Digitaloutput_P6_Size[2];  /* Computed Parameter: Digitaloutput_P6_Size
                                     * Referenced by: '<Root>/Digital output'
                                     */
  real_T Digitaloutput_P6;             /* Expression: ts
                                        * Referenced by: '<Root>/Digital output'
                                        */
  real_T Gain_Gain;                    /* Expression: 2*pi
                                        * Referenced by: '<S1>/Gain'
                                        */
  real_T Delay1_InitialCondition;      /* Expression: 0
                                        * Referenced by: '<S3>/Delay1'
                                        */
  real_T Digitalinput_P1_Size[2];    /* Computed Parameter: Digitalinput_P1_Size
                                      * Referenced by: '<Root>/Digital input'
                                      */
  real_T Digitalinput_P1;              /* Expression: id
                                        * Referenced by: '<Root>/Digital input'
                                        */
  real_T Digitalinput_P2_Size[2];    /* Computed Parameter: Digitalinput_P2_Size
                                      * Referenced by: '<Root>/Digital input'
                                      */
  real_T Digitalinput_P2[2];           /* Expression: chan
                                        * Referenced by: '<Root>/Digital input'
                                        */
  real_T Digitalinput_P3_Size[2];    /* Computed Parameter: Digitalinput_P3_Size
                                      * Referenced by: '<Root>/Digital input'
                                      */
  real_T Digitalinput_P3;              /* Expression: vectorizeOutput
                                        * Referenced by: '<Root>/Digital input'
                                        */
  real_T Digitalinput_P4_Size[2];    /* Computed Parameter: Digitalinput_P4_Size
                                      * Referenced by: '<Root>/Digital input'
                                      */
  real_T Digitalinput_P4;              /* Expression: ts
                                        * Referenced by: '<Root>/Digital input'
                                        */
  real_T Constant1_Value_n;            /* Expression: -1
                                        * Referenced by: '<S3>/Constant1'
                                        */
  real_T Constant2_Value_b;            /* Expression: 1
                                        * Referenced by: '<S3>/Constant2'
                                        */
  real_T Delay_InitialCondition;       /* Expression: 0
                                        * Referenced by: '<S3>/Delay'
                                        */
  real_T Constant_Value;               /* Expression: eps
                                        * Referenced by: '<S18>/Constant'
                                        */
  real_T IO397AnalogInput_P1_Size[2];
                                 /* Computed Parameter: IO397AnalogInput_P1_Size
                                  * Referenced by: '<Root>/IO397 Analog Input'
                                  */
  real_T IO397AnalogInput_P1;          /* Expression: id
                                        * Referenced by: '<Root>/IO397 Analog Input'
                                        */
  real_T IO397AnalogInput_P2_Size[2];
                                 /* Computed Parameter: IO397AnalogInput_P2_Size
                                  * Referenced by: '<Root>/IO397 Analog Input'
                                  */
  real_T IO397AnalogInput_P2[3];       /* Expression: chan
                                        * Referenced by: '<Root>/IO397 Analog Input'
                                        */
  real_T IO397AnalogInput_P3_Size[2];
                                 /* Computed Parameter: IO397AnalogInput_P3_Size
                                  * Referenced by: '<Root>/IO397 Analog Input'
                                  */
  real_T IO397AnalogInput_P3;          /* Expression: trigger
                                        * Referenced by: '<Root>/IO397 Analog Input'
                                        */
  real_T IO397AnalogInput_P4_Size[2];
                                 /* Computed Parameter: IO397AnalogInput_P4_Size
                                  * Referenced by: '<Root>/IO397 Analog Input'
                                  */
  real_T IO397AnalogInput_P4;          /* Expression: range
                                        * Referenced by: '<Root>/IO397 Analog Input'
                                        */
  real_T IO397AnalogInput_P5_Size[2];
                                 /* Computed Parameter: IO397AnalogInput_P5_Size
                                  * Referenced by: '<Root>/IO397 Analog Input'
                                  */
  real_T IO397AnalogInput_P5;          /* Expression: ts
                                        * Referenced by: '<Root>/IO397 Analog Input'
                                        */
  real_T IO397AnalogInput_P6_Size[2];
                                 /* Computed Parameter: IO397AnalogInput_P6_Size
                                  * Referenced by: '<Root>/IO397 Analog Input'
                                  */
  real_T IO397AnalogInput_P6;          /* Expression: p.AiTriggerMode
                                        * Referenced by: '<Root>/IO397 Analog Input'
                                        */
  real_T IO397AnalogInput_P7_Size[2];
                                 /* Computed Parameter: IO397AnalogInput_P7_Size
                                  * Referenced by: '<Root>/IO397 Analog Input'
                                  */
  real_T IO397AnalogInput_P7;          /* Expression: p.AiClockDivider
                                        * Referenced by: '<Root>/IO397 Analog Input'
                                        */
  real_T IO397AnalogInput_P8_Size[2];
                                 /* Computed Parameter: IO397AnalogInput_P8_Size
                                  * Referenced by: '<Root>/IO397 Analog Input'
                                  */
  real_T IO397AnalogInput_P8;          /* Expression: parAiInternalSignal
                                        * Referenced by: '<Root>/IO397 Analog Input'
                                        */
  real_T IO397AnalogInput_P9_Size[2];
                                 /* Computed Parameter: IO397AnalogInput_P9_Size
                                  * Referenced by: '<Root>/IO397 Analog Input'
                                  */
  real_T IO397AnalogInput_P9;          /* Expression: parAiDioTriggerChannel
                                        * Referenced by: '<Root>/IO397 Analog Input'
                                        */
  real_T Gain_Gain_j;                  /* Expression: 5
                                        * Referenced by: '<Root>/Gain'
                                        */
  real_T Gain1_Gain_j;                 /* Expression: 5
                                        * Referenced by: '<Root>/Gain1'
                                        */
  real_T Gain2_Gain;                   /* Expression: 5
                                        * Referenced by: '<Root>/Gain2'
                                        */
  boolean_T OUT_Y0;                    /* Computed Parameter: OUT_Y0
                                        * Referenced by: '<S19>/OUT'
                                        */
  boolean_T OUT_Y0_p;                  /* Computed Parameter: OUT_Y0_p
                                        * Referenced by: '<S20>/OUT'
                                        */
};

/* Storage class 'PageSwitching' */
extern control_Velocidad_cal_type control_Velocidad_cal_impl;
extern control_Velocidad_cal_type *control_Velocidad_cal;

#endif                                 /* control_Velocidad_cal_h_ */
