/*
 * CANTest_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 "CANTest".
 *
 * Model version              : 1.360
 * Simulink Coder version : 8.14 (R2018a) 06-Feb-2018
 * C source code generated on : Tue Jul 11 11:56:08 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 "CANTest.h"
#include "CANTest_private.h"

/* Block parameters (default storage) */
P_CANTest_T CANTest_P = {
  /* Variable: Ts
   * Referenced by:
   *   '<S6>/Constant'
   *   '<S6>/gain'
   */
  0.002,

  /* 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: 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: -2
   * Referenced by: '<S5>/Constant4'
   */
  -2.0,

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

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

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

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

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

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

  /* Expression: 0
   * Referenced by: '<S6>/d'
   */
  0.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
};
