| 1 | /* | 
| 2 | * Arduino_skal_private.h | 
| 3 | * | 
| 4 | * Academic License - for use in teaching, academic research, and meeting | 
| 5 | * course requirements at degree granting institutions only. Not for | 
| 6 | * government, commercial, or other organizational use. | 
| 7 | * | 
| 8 | * Code generation for model "Arduino_skal". | 
| 9 | * | 
| 10 | * Model version : 1.1 | 
| 11 | * Simulink Coder version : 9.5 (R2021a) 14-Nov-2020 | 
| 12 | * C++ source code generated on : Thu Apr 15 15:56:50 2021 | 
| 13 | * | 
| 14 | * Target selection: grt.tlc | 
| 15 | * Note: GRT includes extra infrastructure and instrumentation for prototyping | 
| 16 | * Embedded hardware selection: Intel->x86-64 (Windows64) | 
| 17 | * Code generation objective: Debugging | 
| 18 | * Validation result: Not run | 
| 19 | */ | 
| 20 | |
| 21 | #ifndef RTW_HEADER_Arduino_skal_private_h_ | 
| 22 | #define RTW_HEADER_Arduino_skal_private_h_ | 
| 23 | #include "rtwtypes.h" | 
| 24 | #include "builtin_typeid_types.h" | 
| 25 | #include "multiword_types.h" | 
| 26 | |
| 27 | /* Private macros used by the generated code to access rtModel */ | 
| 28 | #ifndef rtmSetFirstInitCond | 
| 29 | #define rtmSetFirstInitCond(rtm, val) ((rtm)->Timing.firstInitCondFlag = (val)) | 
| 30 | #endif | 
| 31 | |
| 32 | #ifndef rtmIsFirstInitCond | 
| 33 | #define rtmIsFirstInitCond(rtm) ((rtm)->Timing.firstInitCondFlag) | 
| 34 | #endif | 
| 35 | |
| 36 | #ifndef rtmIsMajorTimeStep | 
| 37 | #define rtmIsMajorTimeStep(rtm) (((rtm)->Timing.simTimeStep) == MAJOR_TIME_STEP) | 
| 38 | #endif | 
| 39 | |
| 40 | #ifndef rtmIsMinorTimeStep | 
| 41 | #define rtmIsMinorTimeStep(rtm) (((rtm)->Timing.simTimeStep) == MINOR_TIME_STEP) | 
| 42 | #endif | 
| 43 | |
| 44 | #ifndef rtmSetTFinal | 
| 45 | #define rtmSetTFinal(rtm, val) ((rtm)->Timing.tFinal = (val)) | 
| 46 | #endif | 
| 47 | |
| 48 | #ifndef rtmSetTPtr | 
| 49 | #define rtmSetTPtr(rtm, val) ((rtm)->Timing.t = (val)) | 
| 50 | #endif | 
| 51 | |
| 52 | /* private model entry point functions */ | 
| 53 | extern void Arduino_skal_derivatives(); | 
| 54 | |
| 55 | #endif /* RTW_HEADER_Arduino_skal_private_h_ */ | 
| 56 |