123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- /*
- * File: BCU.h
- *
- * Code generated for Simulink model 'BCU'.
- *
- * Model version : 1.19
- * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020
- * C/C++ source code generated on : Fri Aug 20 13:49:53 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 "commontypedef.h"
- #include "AppSignal.h"
- #include "zero_crossing_types.h"
- #endif /* BCU_COMMON_INCLUDES_ */
- #include "BCU_types.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;
- /* Child system includes */
- //=======================================================================
- /* Child system includes */
- #define SOH_MDLREF_HIDE_CHILD_
- #include "SOH.h"
- #define SOC_MDLREF_HIDE_CHILD_
- #include "SOC.h"
- #define BLC_MDLREF_HIDE_CHILD_
- #include "BLC.h"
- #define SFM_MDLREF_HIDE_CHILD_
- extern uint16_T Time;
- /* Includes for objects with custom storage classes. */
- #include "BCUCal.h"
- #include "BCUDisp.h"
- /* 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]
- */
|