/*
 * WheelSpd1_data.c
 *
 * Academic License - for use in teaching, academic research, and meeting
 * course requirements at degree granting institutions only.  Not for
 * government, commercial, or other organizational use.
 *
 * Code generation for model "WheelSpd1".
 *
 * Model version              : 1.397
 * Simulink Coder version : 8.14 (R2018a) 06-Feb-2018
 * C source code generated on : Tue Jul 11 16:56:29 2023
 *
 * Target selection: slrt.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 "WheelSpd1.h"
#include "WheelSpd1_private.h"

/* Block parameters (default storage) */
P_WheelSpd1_T WheelSpd1_P = {
  /* Variable: K
   * Referenced by:
   *   '<S7>/Gain'
   *   '<S8>/Constant2'
   *   '<S17>/Gain'
   */
  540.0,

  /* Variable: P
   * Referenced by:
   *   '<S7>/Constant3'
   *   '<S7>/Constant4'
   *   '<S7>/Constant5'
   *   '<S8>/Constant16'
   *   '<S17>/Constant3'
   *   '<S17>/Constant4'
   *   '<S17>/Constant5'
   */
  0.8,

  /* Variable: Ts
   * Referenced by:
   *   '<S9>/Constant'
   *   '<S9>/gain'
   *   '<S11>/gain'
   *   '<S12>/gain'
   *   '<S13>/gain'
   *   '<S14>/Constant'
   *   '<S14>/gain'
   *   '<S15>/Constant'
   *   '<S22>/gain'
   *   '<S23>/gain'
   *   '<S24>/gain'
   *   '<S25>/Constant'
   *   '<S25>/gain'
   *   '<S26>/Constant'
   *   '<S20>/Constant'
   *   '<S20>/Constant2'
   *   '<S21>/gain'
   */
  0.002,

  /* Variable: Wn
   * Referenced by:
   *   '<S7>/Constant3'
   *   '<S7>/Constant4'
   *   '<S8>/Constant1'
   *   '<S17>/Constant3'
   *   '<S17>/Constant4'
   */
  14.0,

  /* Variable: jeta
   * Referenced by:
   *   '<S7>/Constant3'
   *   '<S7>/Constant4'
   *   '<S8>/Constant17'
   *   '<S17>/Constant3'
   *   '<S17>/Constant4'
   */
  0.75,

  /* Mask Parameter: ChirpSignal_T
   * Referenced by: '<S6>/targetTime'
   */
  10.0,

  /* Mask Parameter: ChirpSignal_f1
   * Referenced by:
   *   '<S6>/deltaFreq'
   *   '<S6>/initialFreq'
   */
  0.1,

  /* Mask Parameter: ChirpSignal_f2
   * Referenced by: '<S6>/deltaFreq'
   */
  3.0,

  /* Computed Parameter: CANSetup_P1_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 1.0 },

  /* Expression: id
   * Referenced by: '<S1>/CAN Setup'
   */
  1.0,

  /* Computed Parameter: CANSetup_P2_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 2.0 },

  /* Computed Parameter: CANSetup_P2
   * Referenced by: '<S1>/CAN Setup'
   */
  { 67.0, 58.0 },

  /* Computed Parameter: CANSetup_P3_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 1.0 },

  /* Expression: PCISlot
   * Referenced by: '<S1>/CAN Setup'
   */
  -1.0,

  /* Computed Parameter: CANSetup_P4_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 1.0 },

  /* Expression: port1
   * Referenced by: '<S1>/CAN Setup'
   */
  2.0,

  /* Computed Parameter: CANSetup_P5_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 1.0 },

  /* Expression: port2
   * Referenced by: '<S1>/CAN Setup'
   */
  2.0,

  /* Computed Parameter: CANSetup_P6_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 1.0 },

  /* Expression: opModeCAN1
   * Referenced by: '<S1>/CAN Setup'
   */
  1.0,

  /* Computed Parameter: CANSetup_P7_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 4.0 },

  /* Expression: usrBdrCAN1
   * Referenced by: '<S1>/CAN Setup'
   */
  { 10.0, 1.0, 13.0, 2.0 },

  /* Computed Parameter: CANSetup_P8_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 6.0 },

  /* Expression: usrBdrFD1
   * Referenced by: '<S1>/CAN Setup'
   */
  { 2.0, 1.0, 5.0, 2.0, 75.0, 5000.0 },

  /* Computed Parameter: CANSetup_P9_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 2.0 },

  /* Expression: stdAccMaskCAN1
   * Referenced by: '<S1>/CAN Setup'
   */
  { 0.0, 0.0 },

  /* Computed Parameter: CANSetup_P10_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 2.0 },

  /* Expression: extAccMaskCAN1
   * Referenced by: '<S1>/CAN Setup'
   */
  { 0.0, 0.0 },

  /* Computed Parameter: CANSetup_P11_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 1.0 },

  /* Expression: opModeCAN2
   * Referenced by: '<S1>/CAN Setup'
   */
  1.0,

  /* Computed Parameter: CANSetup_P12_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 4.0 },

  /* Expression: usrBdrCAN2
   * Referenced by: '<S1>/CAN Setup'
   */
  { 10.0, 1.0, 13.0, 2.0 },

  /* Computed Parameter: CANSetup_P13_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 6.0 },

  /* Expression: usrBdrFD2
   * Referenced by: '<S1>/CAN Setup'
   */
  { 2.0, 1.0, 5.0, 2.0, 75.0, 5000.0 },

  /* Computed Parameter: CANSetup_P14_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 2.0 },

  /* Expression: stdAccMaskCAN2
   * Referenced by: '<S1>/CAN Setup'
   */
  { 0.0, 0.0 },

  /* Computed Parameter: CANSetup_P15_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 2.0 },

  /* Expression: extAccMaskCAN2
   * Referenced by: '<S1>/CAN Setup'
   */
  { 0.0, 0.0 },

  /* Computed Parameter: CANSetup_P16_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 1.0 },

  /* Expression: initStruct
   * Referenced by: '<S1>/CAN Setup'
   */
  0.0,

  /* Computed Parameter: CANSetup_P17_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 1.0 },

  /* Expression: termStruct
   * Referenced by: '<S1>/CAN Setup'
   */
  0.0,

  /* Computed Parameter: CANSetup_P18_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 5.0 },

  /* Computed Parameter: CANSetup_P18
   * Referenced by: '<S1>/CAN Setup'
   */
  { 73.0, 79.0, 54.0, 49.0, 51.0 },

  /* Computed Parameter: CANSetup_P19_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 1.0 },

  /* Expression: qtyMod
   * Referenced by: '<S1>/CAN Setup'
   */
  1.0,

  /* Computed Parameter: CANSetup_P20_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 2.0 },

  /* Expression: chNo
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 2.0 },

  /* Computed Parameter: CANSetup_P21_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 2.0 },

  /* Expression: ptTypes
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 1.0 },

  /* Computed Parameter: CANSetup_P22_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 2.0 },

  /* Expression: isProtlFD
   * Referenced by: '<S1>/CAN Setup'
   */
  { 0.0, 0.0 },

  /* Computed Parameter: CANSetup_P23_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 2.0 },

  /* Expression: protlHelpIdx
   * Referenced by: '<S1>/CAN Setup'
   */
  { 0.0, 1.0 },

  /* Computed Parameter: CANSetup_P24_Size
   * Referenced by: '<S1>/CAN Setup'
   */
  { 1.0, 1.0 },

  /* Expression: isFDMod
   * Referenced by: '<S1>/CAN Setup'
   */
  1.0,

  /* Computed Parameter: CANRead1_P1_Size
   * Referenced by: '<S1>/CAN Read1'
   */
  { 1.0, 1.0 },

  /* Expression: id
   * Referenced by: '<S1>/CAN Read1'
   */
  1.0,

  /* Computed Parameter: CANRead1_P2_Size
   * Referenced by: '<S1>/CAN Read1'
   */
  { 1.0, 1.0 },

  /* Expression: sampleTime
   * Referenced by: '<S1>/CAN Read1'
   */
  -1.0,

  /* Computed Parameter: CANRead1_P3_Size
   * Referenced by: '<S1>/CAN Read1'
   */
  { 1.0, 1.0 },

  /* Expression: messageType
   * Referenced by: '<S1>/CAN Read1'
   */
  1.0,

  /* Computed Parameter: CANRead1_P4_Size
   * Referenced by: '<S1>/CAN Read1'
   */
  { 1.0, 5.0 },

  /* Computed Parameter: CANRead1_P4
   * Referenced by: '<S1>/CAN Read1'
   */
  { 73.0, 79.0, 54.0, 49.0, 51.0 },

  /* Computed Parameter: CANRead1_P5_Size
   * Referenced by: '<S1>/CAN Read1'
   */
  { 1.0, 1.0 },

  /* Expression: ptIdx
   * Referenced by: '<S1>/CAN Read1'
   */
  0.0,

  /* Computed Parameter: CANRead1_P6_Size
   * Referenced by: '<S1>/CAN Read1'
   */
  { 1.0, 1.0 },

  /* Expression: isFDMod
   * Referenced by: '<S1>/CAN Read1'
   */
  1.0,

  /* Expression: 60
   * Referenced by: '<S4>/Gain'
   */
  60.0,

  /* Expression: 30
   * Referenced by: '<S4>/Gain1'
   */
  30.0,

  /* Expression: 1
   * Referenced by: '<S4>/ContMode'
   */
  1.0,

  /* Expression: 0
   * Referenced by: '<S4>/ContM'
   */
  0.0,

  /* Expression: 1
   * Referenced by: '<S5>/Constant'
   */
  1.0,

  /* Expression: 4
   * Referenced by: '<S5>/Constant1'
   */
  4.0,

  /* Expression: 0
   * Referenced by: '<S5>/Constant2'
   */
  0.0,

  /* Expression: 10
   * Referenced by: '<S5>/Constant3'
   */
  10.0,

  /* Expression: -10
   * Referenced by: '<S5>/Constant4'
   */
  -10.0,

  /* Expression: 3
   * Referenced by: '<S4>/InputSelector'
   */
  3.0,

  /* Expression: 0.5
   * Referenced by: '<S6>/Gain'
   */
  0.5,

  /* Expression: 1000
   * Referenced by: '<S4>/InputSine'
   */
  1000.0,

  /* Expression: 0
   * Referenced by: '<S4>/InputSine'
   */
  0.0,

  /* Expression: 0.1*2*pi
   * Referenced by: '<S4>/InputSine'
   */
  0.62831853071795862,

  /* Expression: 0
   * Referenced by: '<S4>/InputSine'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S9>/d1'
   */
  0.0,

  /* Expression: 1
   * Referenced by: '<S9>/Constant1'
   */
  1.0,

  /* Expression: 3
   * Referenced by: '<S4>/Constant1'
   */
  3.0,

  /* Expression: 2*pi
   * Referenced by: '<S9>/gain2'
   */
  6.2831853071795862,

  /* Expression: 2
   * Referenced by: '<S9>/gain1'
   */
  2.0,

  /* Expression: 0
   * Referenced by: '<S9>/d'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S22>/d'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S22>/d1'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S23>/d'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S23>/d1'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S24>/d'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S24>/d1'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S26>/Delay1'
   */
  0.0,

  /* Expression: 2
   * Referenced by: '<S26>/gain1'
   */
  2.0,

  /* Expression: 0
   * Referenced by: '<S26>/Delay'
   */
  0.0,

  /* Expression: 30
   * Referenced by: '<S8>/FF_CutoffFreq'
   */
  30.0,

  /* Expression: 2*pi
   * Referenced by: '<S26>/gain2'
   */
  6.2831853071795862,

  /* Expression: 2
   * Referenced by: '<S26>/gain3'
   */
  2.0,

  /* Expression: 8
   * Referenced by: '<S26>/Constant1'
   */
  8.0,

  /* Expression: 0
   * Referenced by: '<S26>/Delay2'
   */
  0.0,

  /* Expression: 4
   * Referenced by: '<S26>/gain4'
   */
  4.0,

  /* Expression: 0.707
   * Referenced by: '<S17>/zeta'
   */
  0.707,

  /* Expression: 4
   * Referenced by: '<S26>/Constant2'
   */
  4.0,

  /* Expression: 0
   * Referenced by: '<S26>/Delay3'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S25>/d1'
   */
  0.0,

  /* Expression: 1
   * Referenced by: '<S25>/Constant1'
   */
  1.0,

  /* Expression: 30
   * Referenced by: '<S17>/Constant1'
   */
  30.0,

  /* Expression: 2*pi
   * Referenced by: '<S25>/gain2'
   */
  6.2831853071795862,

  /* Expression: 2
   * Referenced by: '<S25>/gain1'
   */
  2.0,

  /* Expression: 0
   * Referenced by: '<S25>/d'
   */
  0.0,

  /* Expression: 1
   * Referenced by: '<S17>/FFGain'
   */
  1.0,

  /* Expression: 1
   * Referenced by: '<S8>/Selector'
   */
  1.0,

  /* Expression: 2.3
   * Referenced by: '<S8>/BW_P'
   */
  2.3,

  /* Expression: 2*pi
   * Referenced by: '<S18>/Gain'
   */
  6.2831853071795862,

  /* Expression: 15
   * Referenced by: '<S8>/BW_PI'
   */
  15.0,

  /* Expression: 2*pi
   * Referenced by: '<S19>/gain '
   */
  6.2831853071795862,

  /* Expression: 1
   * Referenced by: '<S20>/Constant1'
   */
  1.0,

  /* Expression: 0.05
   * Referenced by: '<S19>/Constant'
   */
  0.05,

  /* Expression: 2*pi
   * Referenced by: '<S20>/gain2'
   */
  6.2831853071795862,

  /* Expression: 2
   * Referenced by: '<S20>/gain3'
   */
  2.0,

  /* Expression: 0
   * Referenced by: '<S21>/d1'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S21>/d'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S20>/d1'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S20>/d'
   */
  0.0,

  /* Expression: 1
   * Referenced by: '<S8>/FBGain'
   */
  1.0,

  /* Expression: 0
   * Referenced by: '<S4>/Memory'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S11>/d'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S11>/d1'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S12>/d'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S12>/d1'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S13>/d'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S13>/d1'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S14>/d1'
   */
  0.0,

  /* Expression: 1
   * Referenced by: '<S14>/Constant1'
   */
  1.0,

  /* Expression: 5
   * Referenced by: '<S4>/Pole'
   */
  5.0,

  /* Expression: 2*pi
   * Referenced by: '<S14>/gain2'
   */
  6.2831853071795862,

  /* Expression: 2
   * Referenced by: '<S14>/gain1'
   */
  2.0,

  /* Expression: 0
   * Referenced by: '<S14>/d'
   */
  0.0,

  /* Expression: 0
   * Referenced by: '<S15>/Delay1'
   */
  0.0,

  /* Expression: 2
   * Referenced by: '<S15>/gain1'
   */
  2.0,

  /* Expression: 0
   * Referenced by: '<S15>/Delay'
   */
  0.0,

  /* Expression: 0.4
   * Referenced by: '<S4>/Qfilter2'
   */
  0.4,

  /* Expression: 2*pi
   * Referenced by: '<S15>/gain2'
   */
  6.2831853071795862,

  /* Expression: 2
   * Referenced by: '<S15>/gain3'
   */
  2.0,

  /* Expression: 8
   * Referenced by: '<S15>/Constant1'
   */
  8.0,

  /* Expression: 0
   * Referenced by: '<S15>/Delay2'
   */
  0.0,

  /* Expression: 4
   * Referenced by: '<S15>/gain4'
   */
  4.0,

  /* Expression: 0.707
   * Referenced by: '<S7>/zeta1'
   */
  0.707,

  /* Expression: 4
   * Referenced by: '<S15>/Constant2'
   */
  4.0,

  /* Expression: 0
   * Referenced by: '<S15>/Delay3'
   */
  0.0,

  /* Expression: 1
   * Referenced by: '<S4>/DOBFlag'
   */
  1.0,

  /* Expression: 1
   * Referenced by: '<S4>/ControlFlag'
   */
  1.0,

  /* Expression: 20
   * Referenced by: '<S4>/Saturation'
   */
  20.0,

  /* Expression: -20
   * Referenced by: '<S4>/Saturation'
   */
  -20.0,

  /* Computed Parameter: CANWrite1_P1_Size
   * Referenced by: '<S5>/CAN Write1'
   */
  { 1.0, 1.0 },

  /* Expression: id
   * Referenced by: '<S5>/CAN Write1'
   */
  1.0,

  /* Computed Parameter: CANWrite1_P2_Size
   * Referenced by: '<S5>/CAN Write1'
   */
  { 1.0, 1.0 },

  /* Expression: sampleTime
   * Referenced by: '<S5>/CAN Write1'
   */
  -1.0,

  /* Computed Parameter: CANWrite1_P3_Size
   * Referenced by: '<S5>/CAN Write1'
   */
  { 1.0, 1.0 },

  /* Expression: messageType
   * Referenced by: '<S5>/CAN Write1'
   */
  1.0,

  /* Computed Parameter: CANWrite1_P4_Size
   * Referenced by: '<S5>/CAN Write1'
   */
  { 1.0, 1.0 },

  /* Expression: enaStatusPort
   * Referenced by: '<S5>/CAN Write1'
   */
  0.0,

  /* Computed Parameter: CANWrite1_P5_Size
   * Referenced by: '<S5>/CAN Write1'
   */
  { 1.0, 5.0 },

  /* Computed Parameter: CANWrite1_P5
   * Referenced by: '<S5>/CAN Write1'
   */
  { 73.0, 79.0, 54.0, 49.0, 51.0 },

  /* Computed Parameter: CANWrite1_P6_Size
   * Referenced by: '<S5>/CAN Write1'
   */
  { 1.0, 1.0 },

  /* Expression: ptIdx
   * Referenced by: '<S5>/CAN Write1'
   */
  0.0,

  /* Computed Parameter: CANWrite1_P7_Size
   * Referenced by: '<S5>/CAN Write1'
   */
  { 1.0, 1.0 },

  /* Expression: isFDMod
   * Referenced by: '<S5>/CAN Write1'
   */
  1.0,

  /* Computed Parameter: Delay1_DelayLength
   * Referenced by: '<S26>/Delay1'
   */
  1U,

  /* Computed Parameter: Delay_DelayLength
   * Referenced by: '<S26>/Delay'
   */
  2U,

  /* Computed Parameter: Delay2_DelayLength
   * Referenced by: '<S26>/Delay2'
   */
  1U,

  /* Computed Parameter: Delay3_DelayLength
   * Referenced by: '<S26>/Delay3'
   */
  2U,

  /* Computed Parameter: Delay1_DelayLength_g
   * Referenced by: '<S15>/Delay1'
   */
  1U,

  /* Computed Parameter: Delay_DelayLength_f
   * Referenced by: '<S15>/Delay'
   */
  2U,

  /* Computed Parameter: Delay2_DelayLength_c
   * Referenced by: '<S15>/Delay2'
   */
  1U,

  /* Computed Parameter: Delay3_DelayLength_g
   * Referenced by: '<S15>/Delay3'
   */
  2U
};
