DAM.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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 Merge;
  23. real32_T Merge1;
  24. real32_T Merge2;
  25. real32_T Merge3;
  26. real32_T Merge4;
  27. real32_T Merge5;
  28. real32_T Merge6;
  29. real32_T Merge7;
  30. uint16_T Merge8;
  31. uint16_T Merge9;
  32. chgCnctObj DataTypeConversion;
  33. } B_DAM_c_T;
  34. #endif
  35. #ifndef DAM_MDLREF_HIDE_CHILD_
  36. typedef struct {
  37. real_T UnitDelay_DSTATE;
  38. real32_T UnitDelay_DSTATE_b;
  39. real32_T UnitDelay1_DSTATE;
  40. real32_T UnitDelay4_DSTATE;
  41. real32_T UnitDelay5_DSTATE;
  42. real32_T UnitDelay2_DSTATE;
  43. real32_T UnitDelay3_DSTATE;
  44. real32_T UnitDelay6_DSTATE;
  45. real32_T UnitDelay7_DSTATE;
  46. real32_T UnitDelay_DSTATE_h;
  47. real32_T UnitDelay1_DSTATE_c;
  48. real32_T UnitDelay1_DSTATE_o;
  49. real32_T UnitDelay4_DSTATE_g;
  50. real32_T UnitDelay7_DSTATE_l;
  51. real32_T UnitDelay2_DSTATE_e;
  52. real32_T UnitDelay_DSTATE_d;
  53. real32_T UnitDelay1_DSTATE_p;
  54. uint8_T UnitDelay1_DSTATE_k;
  55. chrgSt UnitDelay_DSTATE_a;
  56. int8_T If_ActiveSubsystem;
  57. } DW_DAM_f_T;
  58. #endif
  59. #ifndef DAM_MDLREF_HIDE_CHILD_
  60. typedef struct {
  61. const real_T Add;
  62. } ConstB_DAM_h_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