SOH_private.h 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /*
  2. * File: SOH_private.h
  3. *
  4. * Code generated for Simulink model 'SOH'.
  5. *
  6. * Model version : 1.14
  7. * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020
  8. * C/C++ source code generated on : Thu Aug 12 17:54:32 2021
  9. *
  10. * Target selection: ert.tlc
  11. * Embedded hardware selection: Intel->x86-64 (Windows64)
  12. * Code generation objectives: Unspecified
  13. * Validation result: Not run
  14. */
  15. #ifndef RTW_HEADER_SOH_private_h_
  16. #define RTW_HEADER_SOH_private_h_
  17. #include "rtwtypes.h"
  18. #ifndef UCHAR_MAX
  19. #include <limits.h>
  20. #endif
  21. #if ( UCHAR_MAX != (0xFFU) ) || ( SCHAR_MAX != (0x7F) )
  22. #error Code was generated for compiler with different sized uchar/char. \
  23. Consider adjusting Test hardware word size settings on the \
  24. Hardware Implementation pane to match your compiler word sizes as \
  25. defined in limits.h of the compiler. Alternatively, you can \
  26. select the Test hardware is the same as production hardware option and \
  27. select the Enable portable word sizes option on the Code Generation > \
  28. Verification pane for ERT based targets, which will disable the \
  29. preprocessor word size checks.
  30. #endif
  31. #if ( USHRT_MAX != (0xFFFFU) ) || ( SHRT_MAX != (0x7FFF) )
  32. #error Code was generated for compiler with different sized ushort/short. \
  33. Consider adjusting Test hardware word size settings on the \
  34. Hardware Implementation pane to match your compiler word sizes as \
  35. defined in limits.h of the compiler. Alternatively, you can \
  36. select the Test hardware is the same as production hardware option and \
  37. select the Enable portable word sizes option on the Code Generation > \
  38. Verification pane for ERT based targets, which will disable the \
  39. preprocessor word size checks.
  40. #endif
  41. #if ( UINT_MAX != (0xFFFFFFFFU) ) || ( INT_MAX != (0x7FFFFFFF) )
  42. #error Code was generated for compiler with different sized uint/int. \
  43. Consider adjusting Test hardware word size settings on the \
  44. Hardware Implementation pane to match your compiler word sizes as \
  45. defined in limits.h of the compiler. Alternatively, you can \
  46. select the Test hardware is the same as production hardware option and \
  47. select the Enable portable word sizes option on the Code Generation > \
  48. Verification pane for ERT based targets, which will disable the \
  49. preprocessor word size checks.
  50. #endif
  51. #if ( ULONG_MAX != (0xFFFFFFFFU) ) || ( LONG_MAX != (0x7FFFFFFF) )
  52. #error Code was generated for compiler with different sized ulong/long. \
  53. Consider adjusting Test hardware word size settings on the \
  54. Hardware Implementation pane to match your compiler word sizes as \
  55. defined in limits.h of the compiler. Alternatively, you can \
  56. select the Test hardware is the same as production hardware option and \
  57. select the Enable portable word sizes option on the Code Generation > \
  58. Verification pane for ERT based targets, which will disable the \
  59. preprocessor word size checks.
  60. #endif
  61. /* Macros for accessing real-time model data structure */
  62. #ifndef rtmGetErrorStatus
  63. #define rtmGetErrorStatus(rtm) (*((rtm)->errorStatus))
  64. #endif
  65. #ifndef rtmSetErrorStatus
  66. #define rtmSetErrorStatus(rtm, val) (*((rtm)->errorStatus) = (val))
  67. #endif
  68. #ifndef rtmGetErrorStatusPointer
  69. #define rtmGetErrorStatusPointer(rtm) (rtm)->errorStatus
  70. #endif
  71. #ifndef rtmSetErrorStatusPointer
  72. #define rtmSetErrorStatusPointer(rtm, val) ((rtm)->errorStatus = (val))
  73. #endif
  74. extern const uint16_T rtCP_pooled_neXCembKU1Do[13];
  75. extern const uint16_T rtCP_pooled_Pg3wA7d95Txu[13];
  76. #define rtCP_uDLookupTable1_bp01Data rtCP_pooled_neXCembKU1Do /* Expression: cmnm_V_ocv
  77. * Referenced by: '<S13>/1-D Lookup Table1'
  78. */
  79. #define rtCP_uDLookupTable2_bp01Data rtCP_pooled_neXCembKU1Do /* Expression: cmnm_V_ocv
  80. * Referenced by: '<S13>/1-D Lookup Table2'
  81. */
  82. #define rtCP_uDLookupTable1_tableData rtCP_pooled_Pg3wA7d95Txu /* Expression: cmnm_pct_soc
  83. * Referenced by: '<S13>/1-D Lookup Table1'
  84. */
  85. #define rtCP_uDLookupTable2_tableData rtCP_pooled_Pg3wA7d95Txu /* Expression: cmnm_pct_soc
  86. * Referenced by: '<S13>/1-D Lookup Table2'
  87. */
  88. #endif /* RTW_HEADER_SOH_private_h_ */
  89. /*
  90. * File trailer for generated code.
  91. *
  92. * [EOF]
  93. */