| ISF 2.2 rev 5 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

main.c
Go to the documentation of this file.
1 /* ###################################################################
2 ** Filename : main.c
3 ** Project : ISF2P2_K64F_MQX_PROJ
4 ** Processor : MK64FN1M0VLL12
5 ** Version : Driver 01.01
6 ** Compiler : GNU C Compiler
7 ** Date/Time : 2016-10-06, 13:38, # CodeGen: 0
8 ** Abstract :
9 ** Main module.
10 ** This module contains user's application code.
11 ** Settings :
12 ** Contents :
13 ** No public methods
14 **
15 ** ###################################################################*/
16 /*!
17 ** @file main.c
18 ** @version 01.01
19 ** @brief
20 ** Main module.
21 ** This module contains user's application code.
22 */
23 /*!
24 ** @addtogroup main_module main module documentation
25 ** @{
26 */
27 /* MODULE main */
28
29
30 /* Including needed modules to compile this module/procedure */
31 #include "Cpu.h"
32 #include "Events.h"
33 #include "rtos_main_task.h"
34 #include "os_tasks.h"
35 #include "App1_Functions.h"
36 #include "BasicApp1_Functions.h"
37 #include "fsl_Sensor_Custom_1_Functions.h"
38 #include "fsl_Sensor_Analog_1_Functions.h"
39 #include "clockMan1.h"
40 #include "pin_init.h"
41 #include "osa1.h"
42 #include "mqx_ksdk.h"
43 #include "uart1.h"
44 #include "fsl_mpu1.h"
45 #include "fsl_hwtimer1.h"
46 #include "MainTask.h"
47 #include "I2C1.h"
48 #include "ISF_I2C1.h"
49 #include "UART2.h"
50 #include "ISF_UART1.h"
51 #include "SPI1.h"
52 #include "ISF_SPI1.h"
53 #include "ISFCore1.h"
54 #include "ISFBusManager1.h"
55 #include "BMTIMER1.h"
56 #include "EventHandler_Task1.h"
57 #include "CommChannelConfig1.h"
58 #include "Protocol1.h"
59 #include "App1.h"
60 #include "BasicApp1.h"
61 #include "RLI1.h"
62 #include "RLIChipSelect.h"
63 #include "Custom_1.h"
64 #include "FXAS21002_1.h"
65 #include "FXAS21002_2.h"
66 #include "ChipSelect.h"
67 #include "FXLC95000_1.h"
68 #include "FXLC95000_2.h"
69 #include "SPIChipSelect.h"
70 #include "SPISelect.h"
71 #include "ResetSensor.h"
72 #include "FXLS8471_1.h"
73 #include "FXLS8952_1.h"
74 #include "FXLS8471_2.h"
75 #include "FXOS8700_1.h"
76 #include "FXOS8700_2.h"
77 #include "Analog_1.h"
78 #include "ADC1.h"
79 #include "MAG3110_1.h"
80 #include "MMA8491Q_1.h"
81 #include "SensorEnable.h"
82 #include "OutX.h"
83 #include "OutY.h"
84 #include "OutZ.h"
85 #include "MMA865x_1.h"
86 #include "MMA955x_1.h"
87 #include "MMA955x_2.h"
88 #include "MPL3115_1.h"
89 #include "ORIENT_1.h"
90 #include "SensorReset.h"
91 #if CPU_INIT_CONFIG
92 #include "Init_Config.h"
93 #endif
94 /* User includes (#include below this line is not maintained by Processor Expert) */
95
96 /*lint -save -e970 Disable MISRA rule (6.3) checking. */
97 int main(void)
98 /*lint -restore Enable MISRA rule (6.3) checking. */
99 {
100 /* Write your local variable definition here */
101
102 /*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/
103 PE_low_level_init();
104 /*** End of Processor Expert internal initialization. ***/
105
106 /* Write your code here */
107 /* For example: for(;;) { } */
108
109 /*** Don't write any code pass this line, or it will be deleted during code generation. ***/
110 /*** RTOS startup code. Macro PEX_RTOS_START is defined by the RTOS component. DON'T MODIFY THIS CODE!!! ***/
111 #ifdef PEX_RTOS_START
112 PEX_RTOS_START(); /* Startup of the selected RTOS. Macro is defined by the RTOS component. */
113 #endif
114 /*** End of RTOS startup code. ***/
115 /*** Processor Expert end of main routine. DON'T MODIFY THIS CODE!!! ***/
116 for(;;){}
117 /*** Processor Expert end of main routine. DON'T WRITE CODE BELOW!!! ***/
118 } /*** End of main routine. DO NOT MODIFY THIS TEXT!!! ***/
119
120 /* END main */
121 /*!
122 ** @}
123 */
124 /*
125 ** ###################################################################
126 **
127 ** This file was created by Processor Expert 10.5 [05.21]
128 ** for the Freescale Kinetis series of microcontrollers.
129 **
130 ** ###################################################################
131 */
Cpu.h
ISFCore1.h
ISF_I2C1.h
OutX.h
FXAS21002_1.h
CommChannelConfig1.h
EventHandler_Task1.h
OS_Task component.
SensorEnable.h
clockMan1.h
App1.h
ORIENT_1.h
fsl_Sensor_Analog_1_Functions.h
This is user's event module. Put your event handler code here.
SensorReset.h
SPI1.h
UART2.h
MPL3115_1.h
BasicApp1.h
ISF_SPI1.h
BMTIMER1.h
App1_Functions.h
This is user's event module. Put your event handler code here.
RLI1.h
Custom_1.h
Protocol1.h
MMA8491Q_1.h
ISFBusManager1.h
PE_low_level_init
void PE_low_level_init(void)
FXLS8471_2.h
fsl_hwtimer1.h
MainTask.h
OS_Task component.
MAG3110_1.h
ResetSensor.h
Analog_1.h
Events.h
This is user's event module. Put your event handler code here.
FXLS8471_1.h
MMA955x_2.h
uart1.h
FXLS8952_1.h
FXOS8700_2.h
MMA865x_1.h
FXLC95000_2.h
MMA955x_1.h
pin_init.h
main
int main(void)
Definition: main.c:97
osa1.h
I2C1.h
BasicApp1_Functions.h
This is user's event module. Put your event handler code here.
FXLC95000_1.h
SPISelect.h
RLIChipSelect.h
ADC1.h
FXOS8700_1.h
ChipSelect.h
fsl_Sensor_Custom_1_Functions.h
This is user's event module. Put your event handler code here.
PEX_RTOS_START
#define PEX_RTOS_START()
Definition: mqx_ksdk.h:366
fsl_mpu1.h
mqx_ksdk.h
MQX Lite RTOS Adapter component.
OutZ.h
ISF_UART1.h
OutY.h
SPIChipSelect.h
FXAS21002_2.h
- © Freescale Semiconductor, Inc. 2016. All Rights Reserved.