BCU.h 754 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef RTW_HEADER_BCU_h_
  2. #define RTW_HEADER_BCU_h_
  3. #ifndef BCU_COMMON_INCLUDES_
  4. #define BCU_COMMON_INCLUDES_
  5. #include "rtwtypes.h"
  6. #endif
  7. #include "BCU_types.h"
  8. #include "zero_crossing_types.h"
  9. #include "BCUCal.h"
  10. #include "BCUDisp.h"
  11. #ifndef rtmGetErrorStatus
  12. #define rtmGetErrorStatus(rtm) ((rtm)->errorStatus)
  13. #endif
  14. #ifndef rtmSetErrorStatus
  15. #define rtmSetErrorStatus(rtm, val) ((rtm)->errorStatus = (val))
  16. #endif
  17. #ifndef rtmGetErrorStatusPointer
  18. #define rtmGetErrorStatusPointer(rtm) ((const char_T **)(&((rtm)->errorStatus)))
  19. #endif
  20. struct tag_RTM_BCU_T {
  21. const char_T *errorStatus;
  22. };
  23. extern void BCU_initialize(void);
  24. extern void BCU_step(void);
  25. extern void BCU_terminate(void);
  26. extern RT_MODEL_BCU_T *const BCU_M;
  27. #endif