12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- /*
- * File: BCU.h
- *
- * Code generated for Simulink model 'BCU'.
- *
- * Model version : 1.33
- * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020
- * C/C++ source code generated on : Thu Sep 9 18:19:09 2021
- *
- * Target selection: ert.tlc
- * Embedded hardware selection: Intel->x86-64 (Windows64)
- * Code generation objectives: Unspecified
- * Validation result: Not run
- */
- #ifndef RTW_HEADER_BCU_h_
- #define RTW_HEADER_BCU_h_
- #ifndef BCU_COMMON_INCLUDES_
- #define BCU_COMMON_INCLUDES_
- #include "rtwtypes.h"
- #include "zero_crossing_types.h"
- #include "AppSignal.h"
- #endif /* BCU_COMMON_INCLUDES_ */
- #include "BCU_types.h"
- /* Child system includes */
- #define SFM_MDLREF_HIDE_CHILD_
- #include "SFM.h"
- #define SPM_MDLREF_HIDE_CHILD_
- #include "SPM.h"
- /* Includes for objects with custom storage classes. */
- #include "BCUCal.h"
- #include "BCUDisp.h"
- #define PROC_BCU_TASK_STACK_SIZE (2048)
- typedef enum
- {
- PROCESS_STATE_INIT = 0,
- PROCESS_STATE_IDLE,
- PROCESS_STATE_WORK,
- PROCESS_STATE_SLEEP
- }process_Bcu;
- /* Macros for accessing real-time model data structure */
- #ifndef rtmGetErrorStatus
- #define rtmGetErrorStatus(rtm) ((rtm)->errorStatus)
- #endif
- #ifndef rtmSetErrorStatus
- #define rtmSetErrorStatus(rtm, val) ((rtm)->errorStatus = (val))
- #endif
- #ifndef rtmGetErrorStatusPointer
- #define rtmGetErrorStatusPointer(rtm) ((const char_T **)(&((rtm)->errorStatus)))
- #endif
- /* Real-time Model Data Structure */
- struct tag_RTM_BCU_T {
- const char_T *errorStatus;
- };
- /* Model entry point functions */
- extern void BCU_initialize(void);
- extern void BCU_step(void);
- extern void BCU_terminate(void);
- /* Real-time Model object */
- extern RT_MODEL_BCU_T *const BCU_M;
- /*-
- * The generated code includes comments that allow you to trace directly
- * back to the appropriate location in the model. The basic format
- * is <system>/block_name, where system is the system number (uniquely
- * assigned by Simulink) and block_name is the name of the block.
- *
- * Use the MATLAB hilite_system command to trace the generated code back
- * to the model. For example,
- *
- * hilite_system('<S3>') - opens system 3
- * hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3
- *
- * Here is the system hierarchy for this model
- *
- * '<Root>' : 'BCU'
- */
- #endif /* RTW_HEADER_BCU_h_ */
- /*
- * File trailer for generated code.
- *
- * [EOF]
- */
|