DAM.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. #ifndef RTW_HEADER_DAM_h_
  2. #define RTW_HEADER_DAM_h_
  3. #ifndef DAM_COMMON_INCLUDES_
  4. #define DAM_COMMON_INCLUDES_
  5. #include "rtwtypes.h"
  6. #endif
  7. #include "DAM_types.h"
  8. #include "BCUCal.h"
  9. #include "BCUDisp.h"
  10. #ifndef DAM_MDLREF_HIDE_CHILD_
  11. typedef struct {
  12. real32_T Gain;
  13. real32_T Gain1;
  14. real32_T Gain1_n;
  15. real32_T Gain2;
  16. real32_T Gain3;
  17. real32_T Gain4;
  18. real32_T Gain_m;
  19. real32_T Gain1_b;
  20. real32_T Product2;
  21. real32_T Product3;
  22. real32_T Product4;
  23. real32_T Product5;
  24. real32_T Merge;
  25. real32_T Merge1;
  26. real32_T Merge11;
  27. real32_T Merge12;
  28. real32_T Merge2;
  29. real32_T Merge3;
  30. real32_T Merge4;
  31. real32_T Merge5;
  32. real32_T Merge6;
  33. real32_T Merge7;
  34. uint16_T Merge13;
  35. uint16_T Merge8;
  36. uint16_T Merge9;
  37. chgCnctObj DataTypeConversion;
  38. } B_DAM_c_T;
  39. #endif
  40. #ifndef DAM_MDLREF_HIDE_CHILD_
  41. typedef struct {
  42. real32_T UnitDelay_DSTATE;
  43. real32_T UnitDelay1_DSTATE;
  44. real32_T UnitDelay4_DSTATE;
  45. real32_T UnitDelay5_DSTATE;
  46. real32_T UnitDelay2_DSTATE;
  47. real32_T UnitDelay3_DSTATE;
  48. real32_T UnitDelay6_DSTATE;
  49. real32_T UnitDelay7_DSTATE;
  50. real32_T UnitDelay_DSTATE_h;
  51. real32_T UnitDelay1_DSTATE_c;
  52. real32_T UnitDelay1_DSTATE_o;
  53. real32_T UnitDelay4_DSTATE_g;
  54. real32_T UnitDelay7_DSTATE_l;
  55. real32_T UnitDelay2_DSTATE_e;
  56. real32_T UnitDelay_DSTATE_d;
  57. real32_T UnitDelay1_DSTATE_p;
  58. uint8_T UnitDelay1_DSTATE_k;
  59. boolean_T UnitDelay_DSTATE_a;
  60. chrgSt UnitDelay_DSTATE_ac;
  61. int8_T If_ActiveSubsystem;
  62. } DW_DAM_f_T;
  63. #endif
  64. #ifndef DAM_MDLREF_HIDE_CHILD_
  65. struct tag_RTM_DAM_T {
  66. const char_T **errorStatus;
  67. };
  68. #endif
  69. #ifndef DAM_MDLREF_HIDE_CHILD_
  70. typedef struct {
  71. RT_MODEL_DAM_T rtm;
  72. } MdlrefDW_DAM_T;
  73. #endif
  74. extern void DAM_Init(void);
  75. extern void DAM_Disable(void);
  76. extern void DAM(void);
  77. extern void DAM_initialize(const char_T **rt_errorStatus);
  78. #ifndef DAM_MDLREF_HIDE_CHILD_
  79. extern MdlrefDW_DAM_T DAM_MdlrefDW;
  80. #endif
  81. #ifndef DAM_MDLREF_HIDE_CHILD_
  82. extern B_DAM_c_T DAM_B;
  83. extern DW_DAM_f_T DAM_DW;
  84. #endif
  85. #endif