ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
BasicApp1_Templates.c
Go to the documentation of this file.
1 
2 /* This is a template of the dynamically generated code that user needs to update into 'BasicApp1_Functions.c
3 void BasicApp1_OnAnySensor_Data_Ready(uint8_t sensorIdx, uint32_t signalledEvents, void* *pAppSensorData, void* pAppDataBuffers)
4 {
5  DATA_TYPE_SUB0 *rawAccelerometerData_Sub0 = (DATA_TYPE_SUB0 *) pSensorData[0];
6  DATA_TYPE_SUB1 *rawAccelerometerData_Sub1 = (DATA_TYPE_SUB1 *) pSensorData[1];
7  DATA_TYPE_SUB2 *rawAccelerometerData_Sub2 = (DATA_TYPE_SUB2 *) pSensorData[2];
8  DATA_TYPE_SUB3 *rawAccelerometerData_Sub3 = (DATA_TYPE_SUB3 *) pSensorData[3];
9  DATA_TYPE_SUB4 *rawAccelerometerData_Sub4 = (DATA_TYPE_SUB4 *) pSensorData[4];
10  DATA_TYPE_SUB5 *rawAccelerometerData_Sub5 = (DATA_TYPE_SUB5 *) pSensorData[5];
11  DATA_TYPE_SUB6 *rawAccelerometerData_Sub6 = (DATA_TYPE_SUB6 *) pSensorData[6];
12  DATA_TYPE_SUB7 *rawAccelerometerData_Sub7 = (DATA_TYPE_SUB7 *) pSensorData[7];
13  DATA_TYPE_SUB8 *rawMagnetometerData_Sub8 = (DATA_TYPE_SUB8 *) pSensorData[8];
14  DATA_TYPE_SUB9 *rawMagnetometerData_Sub9 = (DATA_TYPE_SUB9 *) pSensorData[9];
15  DATA_TYPE_SUB10 *rawGyrometerData_Sub10 = (DATA_TYPE_SUB10 *) pSensorData[10];
16  DATA_TYPE_SUB11 *rawGyrometerData_Sub11 = (DATA_TYPE_SUB11 *) pSensorData[11];
17  DATA_TYPE_SUB12 *rawPressureData_Sub12 = (DATA_TYPE_SUB12 *) pSensorData[12];
18  DATA_TYPE_SUB13 *rawTemperatureData_Sub13 = (DATA_TYPE_SUB13 *) pSensorData[13];
19  DATA_TYPE_SUB14 *rawOrientationData_Sub14 = (DATA_TYPE_SUB14 *) pSensorData[14];
20  DATA_TYPE_SUB15 *rawAltitudeData_Sub15 = (DATA_TYPE_SUB15 *) pSensorData[15];
21  DATA_TYPE_SUB16 *rawPedometerData_Sub16 = (DATA_TYPE_SUB16 *) pSensorData[16];
22  DATA_TYPE_SUB17 *rawPedometerData_Sub17 = (DATA_TYPE_SUB17 *) pSensorData[17];
23  DATA_TYPE_SUB18 *rawCustomData_Sub18 = (DATA_TYPE_SUB18 *) pSensorData[18];
24  DATA_TYPE_SUB19 *rawAnalogData_Sub19 = (DATA_TYPE_SUB19 *) pSensorData[19];
25 
26  switch(sensorIdx)
27  {
28  case SENSOR_IDX_Accelerometer0:
29  // Write your code here.
30  // To preserve user changes, code in this file is not updated during code re-generation.
31  // Please compare your code with the sample code for this function provided in the templates file.
32  break;
33  case SENSOR_IDX_Accelerometer1:
34  // Write your code here.
35  // To preserve user changes, code in this file is not updated during code re-generation.
36  // Please compare your code with the sample code for this function provided in the templates file.
37  break;
38  case SENSOR_IDX_Accelerometer2:
39  // Write your code here.
40  // To preserve user changes, code in this file is not updated during code re-generation.
41  // Please compare your code with the sample code for this function provided in the templates file.
42  break;
43  case SENSOR_IDX_Accelerometer3:
44  // Write your code here.
45  // To preserve user changes, code in this file is not updated during code re-generation.
46  // Please compare your code with the sample code for this function provided in the templates file.
47  break;
48  case SENSOR_IDX_Accelerometer4:
49  // Write your code here.
50  // To preserve user changes, code in this file is not updated during code re-generation.
51  // Please compare your code with the sample code for this function provided in the templates file.
52  break;
53  case SENSOR_IDX_Accelerometer5:
54  // Write your code here.
55  // To preserve user changes, code in this file is not updated during code re-generation.
56  // Please compare your code with the sample code for this function provided in the templates file.
57  break;
58  case SENSOR_IDX_Accelerometer6:
59  // Write your code here.
60  // To preserve user changes, code in this file is not updated during code re-generation.
61  // Please compare your code with the sample code for this function provided in the templates file.
62  break;
63  case SENSOR_IDX_Accelerometer7:
64  // Write your code here.
65  // To preserve user changes, code in this file is not updated during code re-generation.
66  // Please compare your code with the sample code for this function provided in the templates file.
67  break;
68  case SENSOR_IDX_Magnetometer8:
69  // Write your code here.
70  // To preserve user changes, code in this file is not updated during code re-generation.
71  // Please compare your code with the sample code for this function provided in the templates file.
72  break;
73  case SENSOR_IDX_Magnetometer9:
74  // Write your code here.
75  // To preserve user changes, code in this file is not updated during code re-generation.
76  // Please compare your code with the sample code for this function provided in the templates file.
77  break;
78  case SENSOR_IDX_Gyrometer10:
79  // Write your code here.
80  // To preserve user changes, code in this file is not updated during code re-generation.
81  // Please compare your code with the sample code for this function provided in the templates file.
82  break;
83  case SENSOR_IDX_Gyrometer11:
84  // Write your code here.
85  // To preserve user changes, code in this file is not updated during code re-generation.
86  // Please compare your code with the sample code for this function provided in the templates file.
87  break;
88  case SENSOR_IDX_Pressure12:
89  // Write your code here.
90  // To preserve user changes, code in this file is not updated during code re-generation.
91  // Please compare your code with the sample code for this function provided in the templates file.
92  break;
93  case SENSOR_IDX_Temperature13:
94  // Write your code here.
95  // To preserve user changes, code in this file is not updated during code re-generation.
96  // Please compare your code with the sample code for this function provided in the templates file.
97  break;
98  case SENSOR_IDX_Orientation14:
99  // Write your code here.
100  // To preserve user changes, code in this file is not updated during code re-generation.
101  // Please compare your code with the sample code for this function provided in the templates file.
102  break;
103  case SENSOR_IDX_Altitude15:
104  // Write your code here.
105  // To preserve user changes, code in this file is not updated during code re-generation.
106  // Please compare your code with the sample code for this function provided in the templates file.
107  break;
108  case SENSOR_IDX_Pedometer16:
109  // Write your code here.
110  // To preserve user changes, code in this file is not updated during code re-generation.
111  // Please compare your code with the sample code for this function provided in the templates file.
112  break;
113  case SENSOR_IDX_Pedometer17:
114  // Write your code here.
115  // To preserve user changes, code in this file is not updated during code re-generation.
116  // Please compare your code with the sample code for this function provided in the templates file.
117  break;
118  case SENSOR_IDX_Custom18:
119  // Write your code here.
120  // To preserve user changes, code in this file is not updated during code re-generation.
121  // Please compare your code with the sample code for this function provided in the templates file.
122  break;
123  case SENSOR_IDX_Analog19:
124  // Write your code here.
125  // To preserve user changes, code in this file is not updated during code re-generation.
126  // Please compare your code with the sample code for this function provided in the templates file.
127  break;
128  default:
129  break;
130  }
131 }
132 */
133 /*!
134 ** @}
135 */
136 /*
137 ** ###################################################################
138 **
139 ** This file was created by Processor Expert 10.5 [05.21]
140 ** for the Freescale Kinetis series of microcontrollers.
141 **
142 ** ###################################################################
143 */
144