bancada-motores/Control/VF Control/VFControl_sg_rtw/VFControl_private.h

90 lines
2.3 KiB
C
Raw Permalink Normal View History

2024-10-28 10:36:48 +00:00
/*
* VFControl_private.h
*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
*
* Code generation for model "VFControl".
*
* Model version : 1.1
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
* C++ source code generated on : Wed Oct 16 11:33:22 2024
*
* Target selection: speedgoat.tlc
* Note: GRT includes extra infrastructure and instrumentation for prototyping
* Embedded hardware selection: Intel->x86-64 (Linux 64)
* Code generation objectives: Unspecified
* Validation result: Not run
*/
#ifndef VFControl_private_h_
#define VFControl_private_h_
#include "rtwtypes.h"
#include "multiword_types.h"
#include "VFControl_types.h"
#include "VFControl.h"
#include <math.h>
#include <stdlib.h>
/* Private macros used by the generated code to access rtModel */
#ifndef rtmIsMajorTimeStep
#define rtmIsMajorTimeStep(rtm) (((rtm)->Timing.simTimeStep) == MAJOR_TIME_STEP)
#endif
#ifndef rtmIsMinorTimeStep
#define rtmIsMinorTimeStep(rtm) (((rtm)->Timing.simTimeStep) == MINOR_TIME_STEP)
#endif
#ifndef rtmSetTFinal
#define rtmSetTFinal(rtm, val) ((rtm)->Timing.tFinal = (val))
#endif
#ifndef rtmSetTPtr
#define rtmSetTPtr(rtm, val) ((rtm)->Timing.t = (val))
#endif
#ifndef CodeFormat
#define CodeFormat S-Function
#else
#undef CodeFormat
#define CodeFormat S-Function
#endif
#ifndef S_FUNCTION_NAME
#define S_FUNCTION_NAME simulink_only_sfcn
#else
#undef S_FUNCTION_NAME
#define S_FUNCTION_NAME simulink_only_sfcn
#endif
#ifndef S_FUNCTION_LEVEL
#define S_FUNCTION_LEVEL 2
#else
#undef S_FUNCTION_LEVEL
#define S_FUNCTION_LEVEL 2
#endif
#ifndef RTW_GENERATED_S_FUNCTION
#define RTW_GENERATED_S_FUNCTION
#endif
#ifndef rtmGetDataMapInfo
# define rtmGetDataMapInfo(rtm) NULL
#endif
#ifndef rtmSetDataMapInfo
# define rtmSetDataMapInfo(rtm, val)
#endif
#if !defined(RTW_SFUNCTION_DEFINES)
#define RTW_SFUNCTION_DEFINES
#ifndef _RTW_COMMON_DEFINES_
#define _RTW_COMMON_DEFINES_
#endif
#endif
extern "C" void sg_fpga_do_sf_a2(SimStruct *rts);
#endif /* VFControl_private_h_ */