/*
 * presnost_data.c
 *
 * Code generation for model "presnost".
 *
 * Model version              : 1.114
 * Simulink Coder version : 8.3 (R2012b) 20-Jul-2012
 * C source code generated on : Fri May 22 19:06:12 2015
 *
 * Target selection: rtwin.tlc
 * Note: GRT includes extra infrastructure and instrumentation for prototyping
 * Embedded hardware selection: Generic->32-bit x86 compatible
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */
#include "presnost.h"
#include "presnost_private.h"

/* Block parameters (auto storage) */
Parameters_presnost presnost_P = {
  0.0,                                 /* Expression: start
                                        * Referenced by: '<S6>/Step'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<S6>/Step'
                                        */
  5050.0,                              /* Expression: slope
                                        * Referenced by: '<S6>/Step'
                                        */
  0.0,                                 /* Expression: start
                                        * Referenced by: '<S6>/Constant'
                                        */
  0.0,                                 /* Expression: X0
                                        * Referenced by: '<S6>/Constant1'
                                        */
  10000.0,                             /* Expression: 10000
                                        * Referenced by: '<Root>/Saturation'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<Root>/Saturation'
                                        */
  0.5,                                 /* Expression: 0.5
                                        * Referenced by: '<S5>/Strida'
                                        */
  1.0,                                 /* Expression: 1
                                        * Referenced by: '<S5>/Constant1'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<S5>/Constant2'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<S5>/Constant4'
                                        */
  10.0,                                /* Expression: MaxMissedTicks
                                        * Referenced by: '<S5>/Frequency Output'
                                        */
  0.0,                                 /* Expression: YieldWhenWaiting
                                        * Referenced by: '<S5>/Frequency Output'
                                        */
  1000.0,                              /* Expression: Frequency
                                        * Referenced by: '<S5>/Frequency Output'
                                        */
  0.0,                                 /* Expression: FrequencyFinalValue
                                        * Referenced by: '<S5>/Frequency Output'
                                        */
  0.5,                                 /* Expression: Duty
                                        * Referenced by: '<S5>/Frequency Output'
                                        */
  0.0,                                 /* Expression: DutyFinalValue
                                        * Referenced by: '<S5>/Frequency Output'
                                        */
  10.0,                                /* Expression: MaxMissedTicks
                                        * Referenced by: '<S5>/DIR'
                                        */
  0.0,                                 /* Expression: YieldWhenWaiting
                                        * Referenced by: '<S5>/DIR'
                                        */
  10.0,                                /* Expression: MaxMissedTicks
                                        * Referenced by: '<S5>/Enable'
                                        */
  0.0,                                 /* Expression: YieldWhenWaiting
                                        * Referenced by: '<S5>/Enable'
                                        */
  1.0,                                 /* Expression: FinalValue
                                        * Referenced by: '<S5>/Enable'
                                        */
  10.0,                                /* Expression: MaxMissedTicks
                                        * Referenced by: '<S5>/Encoder Input'
                                        */
  0.0,                                 /* Expression: YieldWhenWaiting
                                        * Referenced by: '<S5>/Encoder Input'
                                        */
  0.0,                                 /* Expression: InputFilter
                                        * Referenced by: '<S5>/Encoder Input'
                                        */
  1.5384615384615384E-5,               /* Expression: 1/65000
                                        * Referenced by: '<S5>/Gain'
                                        */
  0.0001,                              /* Expression: 0.0001
                                        * Referenced by: '<Root>/Step'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<Root>/Step'
                                        */
  1.0,                                 /* Expression: 1
                                        * Referenced by: '<Root>/Step'
                                        */
  10.0,                                /* Expression: MaxMissedTicks
                                        * Referenced by: '<Root>/Counter Input'
                                        */
  0.0,                                 /* Expression: YieldWhenWaiting
                                        * Referenced by: '<Root>/Counter Input'
                                        */
  800.0,                               /* Expression: 800
                                        * Referenced by: '<Root>/Gain2'
                                        */
  2.0,                                 /* Expression: 2
                                        * Referenced by: '<Root>/Step1'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<Root>/Step1'
                                        */
  1.0,                                 /* Expression: 1
                                        * Referenced by: '<Root>/Step1'
                                        */
  0.0,                                 /* Expression: vinit
                                        * Referenced by: '<S1>/Delay Input1'
                                        */
  12.0,                                /* Expression: 12
                                        * Referenced by: '<Root>/Step2'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<Root>/Step2'
                                        */
  1.0,                                 /* Expression: 1
                                        * Referenced by: '<Root>/Step2'
                                        */
  0.0,                                 /* Expression: vinit
                                        * Referenced by: '<S2>/Delay Input1'
                                        */
  -5.0,                                /* Computed Parameter: TransferFcn2_A
                                        * Referenced by: '<Root>/Transfer Fcn2'
                                        */
  5.0,                                 /* Computed Parameter: TransferFcn2_C
                                        * Referenced by: '<Root>/Transfer Fcn2'
                                        */
  6.2831853071795862,                  /* Expression: 2*pi
                                        * Referenced by: '<Root>/Gain1'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<Root>/Data Store Memory'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<Root>/Data Store Memory1'
                                        */
  0,                                   /* Expression: Channels
                                        * Referenced by: '<S5>/Frequency Output'
                                        */
  1,                                   /* Expression: Channels
                                        * Referenced by: '<S5>/DIR'
                                        */
  0,                                   /* Expression: BitMode
                                        * Referenced by: '<S5>/DIR'
                                        */
  0,                                   /* Expression: Channels
                                        * Referenced by: '<S5>/Enable'
                                        */
  0,                                   /* Expression: BitMode
                                        * Referenced by: '<S5>/Enable'
                                        */
  0,                                   /* Expression: Channels
                                        * Referenced by: '<S5>/Encoder Input'
                                        */
  3,                                   /* Expression: Channels
                                        * Referenced by: '<Root>/Counter Input'
                                        */
  0,                                   /* Expression: CounterEdge
                                        * Referenced by: '<Root>/Counter Input'
                                        */
  0,                                   /* Expression: CounterGate
                                        * Referenced by: '<Root>/Counter Input'
                                        */
  0U                                   /* Computed Parameter: ManualSwitch_CurrentSetting
                                        * Referenced by: '<S5>/Manual Switch'
                                        */
};
