servo_demo_sfun.h
上传用户:m_sun_001
上传日期:2014-07-30
资源大小:1115k
文件大小:1k
- #ifndef __servo_demo_sfun_h__
- #define __servo_demo_sfun_h__
- /* Include files */
- #define S_FUNCTION_NAME sf_sfun
- #include "sfc_sf.h"
- #include "sfc_mex.h"
- #include "template_support_fcn_list.h"
- #include "sfcdebug.h"
- #define rtInf (mxGetInf())
- #define rtMinusInf (-(mxGetInf()))
- #define rtNaN (mxGetNaN())
- #define rtIsNaN(X) ((int)mxIsNaN(X))
- #define rtIsInf(X) ((int)mxIsInf(X))
- /* Custom Code from Simulation Target dialog*/
- #include <math.h>
- /* Type Definitions */
- /* Named Constants */
- #define CALL_EVENT (MAX_uint8_T)
- /* Variable Declarations */
- extern uint8_T _sfEvent_;
- extern uint32_T _servo_demoMachineNumber_;
- extern real_T _sfTime_;
- /* Variable Definitions */
- /* Function Declarations */
- void servo_demo_initializer(void);
- void servo_demo_terminator(void);
- /* Function Definitions */
- #endif