This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
EMS/1.Software/Verify/simulink/led_ert_rtw/led.h

93 lines
2.5 KiB
C

/*
* File: led.h
*
* Code generated for Simulink model 'led'.
*
* Model version : 1.1
* Simulink Coder version : 9.8 (R2022b) 13-May-2022
* C/C++ source code generated on : Wed Dec 27 10:44:19 2023
*
* Target selection: ert.tlc
* Embedded hardware selection: Custom Processor->Custom Processor
* Code generation objectives: Unspecified
* Validation result: Not run
*/
#ifndef RTW_HEADER_led_h_
#define RTW_HEADER_led_h_
#ifndef led_COMMON_INCLUDES_
#define led_COMMON_INCLUDES_
#include "rtwtypes.h"
#endif /* led_COMMON_INCLUDES_ */
/* 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
/* Forward declaration for rtModel */
typedef struct tag_RTM_led_T RT_MODEL_led_T;
/* Block states (default storage) for system '<Root>' */
typedef struct {
boolean_T Delay_DSTATE[2]; /* '<Root>/Delay' */
} DW_led_T;
/* External outputs (root outports fed by signals with default storage) */
typedef struct {
boolean_T Out1; /* '<Root>/Out1' */
} ExtY_led_T;
/* Real-time Model Data Structure */
struct tag_RTM_led_T {
const char_T * volatile errorStatus;
};
/* Block states (default storage) */
extern DW_led_T led_DW;
/* External outputs (root outports fed by signals with default storage) */
extern ExtY_led_T led_Y;
/* Model entry point functions */
extern void led_initialize(void);
extern void led_step(void);
extern void led_terminate(void);
/* Real-time Model object */
extern RT_MODEL_led_T *const led_M;
/*-
* These blocks were eliminated from the model due to optimizations:
*
* Block '<Root>/Scope' : Unused code path elimination
*/
/*-
* 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>' : 'led'
*/
#endif /* RTW_HEADER_led_h_ */
/*
* File trailer for generated code.
*
* [EOF]
*/