1/*
2 * RaspberryPrediction_dt.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 "RaspberryPrediction".
8 *
9 * Model version : 1.13
10 * Simulink Coder version : 8.11 (R2016b) 25-Aug-2016
11 * C source code generated on : Tue Dec 20 13:49:58 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#include "ext_types.h"
21
22/* data type size table */
23static 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};
39
40/* data type name table */
41static const char_T * rtDataTypeNames[] = {
42 "real_T",
43 "real32_T",
44 "int8_T",
45 "uint8_T",
46 "int16_T",
47 "uint16_T",
48 "int32_T",
49 "uint32_T",
50 "boolean_T",
51 "fcn_call_T",
52 "int_T",
53 "pointer_T",
54 "action_T",
55 "timer_uint32_pair_T"
56};
57
58/* data type transitions for block I/O structure */
59static DataTypeTransition rtBTransitions[] = {
60 { (char_T *)(&RaspberryPrediction_B.MagManlinearization1_o1[0]), 0, 0, 16 },
61
62 { (char_T *)(&RaspberryPrediction_B.Linearmodeloftherollingball2ind[0]), 0, 0,
63 60 },
64
65 { (char_T *)(&RaspberryPrediction_B.MagManFoilwitherror_o4), 6, 0, 3 },
66
67 { (char_T *)(&RaspberryPrediction_B.sf_Positiontransformation.X), 0, 0, 2 },
68
69 { (char_T *)(&RaspberryPrediction_B.sf_Positiontransformation1.X), 0, 0, 2 }
70 ,
71
72 { (char_T *)(&RaspberryPrediction_DW.MagManCoils_DSTATE), 0, 0, 7 },
73
74 { (char_T *)(&RaspberryPrediction_DW.Scope_PWORK.LoggedData[0]), 11, 0, 12 }
75};
76
77/* data type transition table for block I/O structure */
78static DataTypeTransitionTable rtBTransTable = {
79 7U,
80 rtBTransitions
81};
82
83/* data type transitions for Parameters structure */
84static DataTypeTransition rtPTransitions[] = {
85 { (char_T *)(&RaspberryPrediction_P.km4pi[0]), 0, 0, 32 },
86
87 { (char_T *)(&RaspberryPrediction_P.Delay_DelayLength), 7, 0, 1 }
88};
89
90/* data type transition table for Parameters structure */
91static DataTypeTransitionTable rtPTransTable = {
92 2U,
93 rtPTransitions
94};
95
96/* [EOF] RaspberryPrediction_dt.h */
97