IH100_private.h 3.5 KB

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