1 | /* |
2 | * RaspberryMagmanControl_private.h |
3 | * |
4 | * Classroom License -- for classroom instructional use only. Not for |
5 | * government, commercial, academic research, or other organizational use. |
6 | * |
7 | * Code generation for model "RaspberryMagmanControl". |
8 | * |
9 | * Model version : 1.38 |
10 | * Simulink Coder version : 8.11 (R2016b) 25-Aug-2016 |
11 | * C source code generated on : Thu Dec 22 16:38:00 2016 |
12 | * |
13 | * Target selection: ert.tlc |
14 | * Note: GRT includes extra infrastructure and instrumentation for prototyping |
15 | * Embedded hardware selection: ARM Compatible->ARM Cortex |
16 | * Code generation objectives: Unspecified |
17 | * Validation result: Not run |
18 | */ |
19 | |
20 | #ifndef RTW_HEADER_RaspberryMagmanControl_private_h_ |
21 | #define RTW_HEADER_RaspberryMagmanControl_private_h_ |
22 | #include "rtwtypes.h" |
23 | #include "multiword_types.h" |
24 | #include "RaspberryMagmanControl.h" |
25 | |
26 | /* Private macros used by the generated code to access rtModel */ |
27 | #ifndef rtmIsMajorTimeStep |
28 | # define rtmIsMajorTimeStep(rtm) (((rtm)->Timing.simTimeStep) == MAJOR_TIME_STEP) |
29 | #endif |
30 | |
31 | #ifndef rtmIsMinorTimeStep |
32 | # define rtmIsMinorTimeStep(rtm) (((rtm)->Timing.simTimeStep) == MINOR_TIME_STEP) |
33 | #endif |
34 | |
35 | #ifndef rtmSetTFinal |
36 | # define rtmSetTFinal(rtm, val) ((rtm)->Timing.tFinal = (val)) |
37 | #endif |
38 | |
39 | #ifndef rtmGetTPtr |
40 | # define rtmGetTPtr(rtm) ((rtm)->Timing.t) |
41 | #endif |
42 | |
43 | #ifndef rtmSetTPtr |
44 | # define rtmSetTPtr(rtm, val) ((rtm)->Timing.t = (val)) |
45 | #endif |
46 | |
47 | extern void sfcn_getFoilCheck_Outputs_wrapper(real_T *x, |
48 | real_T *y, |
49 | real_T *press, |
50 | int32_T *error, |
51 | const real_T *xD); |
52 | extern void sfcn_getFoilCheck_Update_wrapper(real_T *x, |
53 | real_T *y, |
54 | real_T *press, |
55 | int32_T *error, |
56 | real_T *xD); |
57 | extern void sfcn_posread_shm_Outputs_wrapper(int32_T *pos_x, |
58 | int32_T *pos_y, |
59 | const real_T *xD); |
60 | extern void sfcn_posread_shm_Update_wrapper(int32_T *pos_x, |
61 | int32_T *pos_y, |
62 | real_T *xD); |
63 | extern void cvxfasd_Outputs_wrapper(const real_T *Am, |
64 | const real_T *Fx, |
65 | const real_T *Fy, |
66 | real_T *y0, |
67 | real_T *stat); |
68 | extern void sfcn_setPlatform_Outputs_wrapper(const real_T *input, |
69 | const real_T *xD); |
70 | extern void sfcn_setPlatform_Update_wrapper(const real_T *input, |
71 | real_T *xD); |
72 | extern real_T rt_powd_snf(real_T u0, real_T u1); |
73 | extern void Raspber_Positiontransformation1(real_T rtu_x, real_T rtu_y, const |
74 | real_T rtu_km4[9], B_Positiontransformation1_Ras_T *localB); |
75 | |
76 | #endif /* RTW_HEADER_RaspberryMagmanControl_private_h_ */ |
77 | |