1 | /* |
2 | * magneto_tarato_dt.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 "magneto_tarato". |
9 | * |
10 | * Model version : 1.20 |
11 | * Simulink Coder version : 8.12 (R2017a) 16-Feb-2017 |
12 | * C source code generated on : Mon Nov 13 17:07:50 2017 |
13 | * |
14 | * Target selection: ert.tlc |
15 | * Embedded hardware selection: ARM Compatible->ARM Cortex |
16 | * Code generation objectives: Unspecified |
17 | * Validation result: Not run |
18 | */ |
19 | |
20 | #include "ext_types.h" |
21 | |
22 | /* data type size table */ |
23 | static uint_T rtDataTypeSizes[] = { |
24 | sizeof(real_T), |
25 | sizeof(real32_T), |
26 | sizeof(int8_T), |
27 | sizeof(uint8_T), |
28 | sizeof(int16_T), |
29 | sizeof(uint16_T), |
30 | sizeof(int32_T), |
31 | sizeof(uint32_T), |
32 | sizeof(boolean_T), |
33 | sizeof(fcn_call_T), |
34 | sizeof(int_T), |
35 | sizeof(pointer_T), |
36 | sizeof(action_T), |
37 | 2*sizeof(uint32_T), |
38 | sizeof(freedomk64f_fxos8700_magneto__T) |
39 | }; |
40 | |
41 | /* data type name table */ |
42 | static const char_T * rtDataTypeNames[] = { |
43 | "real_T", |
44 | "real32_T", |
45 | "int8_T", |
46 | "uint8_T", |
47 | "int16_T", |
48 | "uint16_T", |
49 | "int32_T", |
50 | "uint32_T", |
51 | "boolean_T", |
52 | "fcn_call_T", |
53 | "int_T", |
54 | "pointer_T", |
55 | "action_T", |
56 | "timer_uint32_pair_T", |
57 | "freedomk64f_fxos8700_magneto__T" |
58 | }; |
59 | |
60 | /* data type transitions for block I/O structure */ |
61 | static DataTypeTransition rtBTransitions[] = { |
62 | { (char_T *)(&magneto_tarato_B.Reshape9to3x3columnmajor[0]), 0, 0, 9 }, |
63 | |
64 | { (char_T *)(&magneto_tarato_B.Gain), 0, 0, 8 } |
65 | , |
66 | |
67 | { (char_T *)(&magneto_tarato_DW.obj), 14, 0, 1 }, |
68 | |
69 | { (char_T *)(&magneto_tarato_DW.Scope_PWORK.LoggedData[0]), 11, 0, 3 } |
70 | }; |
71 | |
72 | /* data type transition table for block I/O structure */ |
73 | static DataTypeTransitionTable rtBTransTable = { |
74 | 4U, |
75 | rtBTransitions |
76 | }; |
77 | |
78 | /* data type transitions for Parameters structure */ |
79 | static DataTypeTransition rtPTransitions[] = { |
80 | { (char_T *)(&magneto_tarato_P.FXOS87006AxesSensor_SampleTime), 0, 0, 18 } |
81 | }; |
82 | |
83 | /* data type transition table for Parameters structure */ |
84 | static DataTypeTransitionTable rtPTransTable = { |
85 | 1U, |
86 | rtPTransitions |
87 | }; |
88 | |
89 | /* [EOF] magneto_tarato_dt.h */ |
90 | |