myuart1_sfun.h

来自「这份是实验课上的教师和学生用的实例。关于用matlab simulink仿真状态」· C头文件 代码 · 共 45 行

H
45
字号
#ifndef __MyUART1_sfun_h__
#define __MyUART1_sfun_h__

/* Include files */
#define S_FUNCTION_NAME                sf_sfun
#include "sfc_sf.h"
#include "sfc_mex.h"
#ifdef __cplusplus

extern "C" {

#endif

#include "template_support_fcn_list.h"
#ifdef __cplusplus

}
#endif

#include "sfcdebug.h"
#define rtInf                          (mxGetInf())
#define rtMinusInf                     (-(mxGetInf()))
#define rtNaN                          (mxGetNaN())
#define rtIsNaN(X)                     ((int)mxIsNaN(X))
#define rtIsInf(X)                     ((int)mxIsInf(X))

/* Type Definitions */

/* Named Constants */
#define CALL_EVENT                     (MAX_uint8_T)

/* Variable Declarations */
extern uint8_T _sfEvent_;
extern uint32_T _MyUART1MachineNumber_;
extern real_T _sfTime_;

/* Variable Definitions */

/* Function Declarations */
void MyUART1_initializer(void);
void MyUART1_terminator(void);

/* Function Definitions */
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?