IH100_private.h 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. #ifndef RTW_HEADER_IH100_private_h_
  2. #define RTW_HEADER_IH100_private_h_
  3. #include "rtwtypes.h"
  4. #include "IH100_types.h"
  5. #ifndef UCHAR_MAX
  6. #include <limits.h>
  7. #endif
  8. #if ( UCHAR_MAX != (0xFFU) ) || ( SCHAR_MAX != (0x7F) )
  9. #error Code was generated for compiler with different sized uchar/char. \
  10. Consider adjusting Test hardware word size settings on the \
  11. Hardware Implementation pane to match your compiler word sizes as \
  12. defined in limits.h of the compiler. Alternatively, you can \
  13. select the Test hardware is the same as production hardware option and \
  14. select the Enable portable word sizes option on the Code Generation > \
  15. Verification pane for ERT based targets, which will disable the \
  16. preprocessor word size checks.
  17. #endif
  18. #if ( USHRT_MAX != (0xFFFFU) ) || ( SHRT_MAX != (0x7FFF) )
  19. #error Code was generated for compiler with different sized ushort/short. \
  20. Consider adjusting Test hardware word size settings on the \
  21. Hardware Implementation pane to match your compiler word sizes as \
  22. defined in limits.h of the compiler. Alternatively, you can \
  23. select the Test hardware is the same as production hardware option and \
  24. select the Enable portable word sizes option on the Code Generation > \
  25. Verification pane for ERT based targets, which will disable the \
  26. preprocessor word size checks.
  27. #endif
  28. #if ( UINT_MAX != (0xFFFFFFFFU) ) || ( INT_MAX != (0x7FFFFFFF) )
  29. #error Code was generated for compiler with different sized uint/int. \
  30. Consider adjusting Test hardware word size settings on the \
  31. Hardware Implementation pane to match your compiler word sizes as \
  32. defined in limits.h of the compiler. Alternatively, you can \
  33. select the Test hardware is the same as production hardware option and \
  34. select the Enable portable word sizes option on the Code Generation > \
  35. Verification pane for ERT based targets, which will disable the \
  36. preprocessor word size checks.
  37. #endif
  38. #if ( ULONG_MAX != (0xFFFFFFFFU) ) || ( LONG_MAX != (0x7FFFFFFF) )
  39. #error Code was generated for compiler with different sized ulong/long. \
  40. Consider adjusting Test hardware word size settings on the \
  41. Hardware Implementation pane to match your compiler word sizes as \
  42. defined in limits.h of the compiler. Alternatively, you can \
  43. select the Test hardware is the same as production hardware option and \
  44. select the Enable portable word sizes option on the Code Generation > \
  45. Verification pane for ERT based targets, which will disable the \
  46. preprocessor word size checks.
  47. #endif
  48. #ifndef rtmGetErrorStatus
  49. #define rtmGetErrorStatus(rtm) (*((rtm)->errorStatus))
  50. #endif
  51. #ifndef rtmSetErrorStatus
  52. #define rtmSetErrorStatus(rtm, val) (*((rtm)->errorStatus) = (val))
  53. #endif
  54. #ifndef rtmGetErrorStatusPointer
  55. #define rtmGetErrorStatusPointer(rtm) (rtm)->errorStatus
  56. #endif
  57. #ifndef rtmSetErrorStatusPointer
  58. #define rtmSetErrorStatusPointer(rtm, val) ((rtm)->errorStatus = (val))
  59. #endif
  60. extern const uint16_T rtCP_pooled_bGtbEevhgRDy[12];
  61. extern const uint16_T rtCP_pooled_38ieQigmLwUn[12];
  62. extern const uint8_T rtCP_pooled_Gh9RpM5of8Do[12];
  63. #define rtCP_uDLookupTable1_tableData rtCP_pooled_bGtbEevhgRDy
  64. #define rtCP_uDLookupTable_tableData rtCP_pooled_38ieQigmLwUn
  65. #define rtCP_uDLookupTable1_tableData_g rtCP_pooled_bGtbEevhgRDy
  66. #define rtCP_uDLookupTable_tableData_k rtCP_pooled_38ieQigmLwUn
  67. #define rtCP_uDLookupTable1_bp01Data rtCP_pooled_Gh9RpM5of8Do
  68. #define rtCP_uDLookupTable_bp01Data rtCP_pooled_Gh9RpM5of8Do
  69. #define rtCP_uDLookupTable1_bp01Data_o rtCP_pooled_Gh9RpM5of8Do
  70. #define rtCP_uDLookupTable_bp01Data_b rtCP_pooled_Gh9RpM5of8Do
  71. #endif