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

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

ISFCore1.c
Go to the documentation of this file.
1 /* ###################################################################
2 ** This component module is generated by Processor Expert. Do not modify it.
3 ** Filename : ISFCore1.c
4 ** CDE edition : Standard
5 ** Project : ISF2P2_K64F_MQX_PROJ
6 ** Processor : MK64FN1M0VLL12
7 ** Component : ISF_KSDK_Core
8 ** Version : Component 02.500, Driver 01.00, CPU db: 3.00.000
9 ** Repository : My Components
10 ** Compiler : GNU C Compiler
11 ** Date/Time : 2016-10-06, 13:38, # CodeGen: 0
12 ** Abstract :
13 **
14 ** Settings :
15 ** Component Name : ISFCore1
16 ** Core Components :
17 ** Command Interpreter Service :
18 ** Enable : yes
19 ** CI Protocol : 1
20 ** CIProtocol0 : Protocol1
21 ** Maximum receive buffer size : 34
22 ** CI Callback List : 4
23 ** NewCICallback0 : App1_ci_app_callback
24 ** NewCICallback1 : BasicApp1_ci_app_callback
25 ** NewCICallback2 : rli_ci_app_callback
26 ** NewCICallback3 : rli_ci_app_callback
27 ** CI Task Priority : 8
28 ** CI Task Stack Size : 1200
29 ** Bus Manager Service :
30 ** Bus Manager Enabled : yes
31 ** ISFBusManager : ISF_KSDK_BusManager
32 ** Bus Manger Task Priority : 9
33 ** Bus Manager Task Stack Size : 1024
34 ** Event Handler Service : yes
35 ** Event Handler Task : OS_Task
36 ** Communication Channel Configuration : ISF_KSDK_Protocol_Adapter
37 ** System Sensor Configuration : 18
38 ** Sensor_0 : Custom_1
39 ** Sensor_1 : FXAS21002_1
40 ** Sensor_2 : FXAS21002_2
41 ** Sensor_3 : FXLC95000_1
42 ** Sensor_4 : FXLC95000_2
43 ** Sensor_5 : FXLS8471_1
44 ** Sensor_6 : FXLS8471_2
45 ** Sensor_7 : FXLS8952_1
46 ** Sensor_8 : FXOS8700_1
47 ** Sensor_9 : FXOS8700_2
48 ** Sensor_10 : Analog_1
49 ** Sensor_11 : MAG3110_1
50 ** Sensor_12 : MMA8491Q_1
51 ** Sensor_13 : MMA865x_1
52 ** Sensor_14 : MMA955x_1
53 ** Sensor_15 : MMA955x_2
54 ** Sensor_16 : MPL3115_1
55 ** Sensor_17 : ORIENT_1
56 ** Contents :
57 ** No public methods
58 **
59 ** (c) Copyright <company/user-name>, 2015,
60 http://www.<company>.com
61 mail: info@<company>.com
62 ** ###################################################################*/
63 /*!
64 ** @file ISFCore1.c
65 ** @version 01.00
66 ** @brief
67 **
68 */
69 /*!
70 ** @addtogroup ISFCore1_module ISFCore1 module documentation
71 ** @{
72 */
73
74 /* MODULE ISFCore1. */
75
76 #include "ISFCore1.h"
77 #include "isf_eventhandler.h"
78
79
80 // Total number of CI protocol(s) defined: 1
81 // Total number of CI callback(s) defined: 4
82
83
84 extern ci_response_enum App1_ci_app_callback(ci_host_cmd_packet_t*, ci_app_resp_packet_t*);
85 extern ci_response_enum BasicApp1_ci_app_callback(ci_host_cmd_packet_t*, ci_app_resp_packet_t*);
86 extern ci_response_enum rli_ci_app_callback(ci_host_cmd_packet_t*, ci_app_resp_packet_t*);
87 extern ci_response_enum rli_ci_app_callback(ci_host_cmd_packet_t*, ci_app_resp_packet_t*);
88
89
90
91 /*!
92 * @brief Command interpreter callbacks. The array index is the application ID.
93 */
94 const ci_funcp_t ci_callback[] =
95 {
96 // ISF callbacks come first.
97 ISF_APP_CALLBACKS
98
99 // Add your application callback here.
100 App1_ci_app_callback,
101 BasicApp1_ci_app_callback,
102 rli_ci_app_callback,
103 rli_ci_app_callback,
104
105 // Null terminate the callback array.
106 0
107 };
108
109
110
111 /* Write your code here ... */
112
113
114 /* Write your code here ... */
115
116
117
118 /*
119 ** ===================================================================
120 ** Method : ISFCore1_TaskEntryFunction (component ISF_KSDK_Core)
121 **
122 ** Description :
123 ** This method is internal. It is used by Processor Expert only.
124 ** ===================================================================
125 */
126 void EH_task(os_task_param_t task_init_data)
127 {
128 /* Write your code here ... */
129 isf_EventHandler_Init();
130
131 EventHandler_task();
132 }
133
134 /* END ISFCore1. */
135
136 /*!
137 ** @}
138 */
139 /*
140 ** ###################################################################
141 **
142 ** This file was created by Processor Expert 10.5 [05.21]
143 ** for the Freescale Kinetis series of microcontrollers.
144 **
145 ** ###################################################################
146 */
ISFCore1.h
EventHandler_task
void EventHandler_task(void)
Definition: isf_eventhandler.c:146
ci_callback
const ci_funcp_t ci_callback[]
Command interpreter callbacks. The array index is the application ID.
Definition: ISFCore1.c:94
BasicApp1_ci_app_callback
ci_response_enum BasicApp1_ci_app_callback(ci_host_cmd_packet_t *, ci_app_resp_packet_t *)
Definition: BasicApp1.c:554
isf_eventhandler.h
os_task_param_t
task_param_t os_task_param_t
Definition: mqx_ksdk.h:354
App1_ci_app_callback
ci_response_enum App1_ci_app_callback(ci_host_cmd_packet_t *, ci_app_resp_packet_t *)
Definition: App1.c:1067
isf_EventHandler_Init
void isf_EventHandler_Init(void)
Definition: isf_eventhandler.c:42
ci_app_resp_packet_t
This structure enables an application to read from or write to the host.
Definition: isf_ci.h:221
ci_host_cmd_packet_t
This structure contains host command information.
Definition: isf_ci.h:197
EH_task
void EH_task(os_task_param_t task_init_data)
Definition: ISFCore1.c:126
ISF_APP_CALLBACKS
#define ISF_APP_CALLBACKS
This macro defines the ISF application Command Interpreter callback(s). Note: The user must put thes...
Definition: isf_init.h:341
ci_response_enum
ci_response_enum
These are the CI errors provided to the host.
Definition: isf_ci.h:119
ci_funcp_t
ci_response_t(* ci_funcp_t)(ci_host_cmd_packet_t *, ci_app_resp_packet_t *)
This is a CI callback function pointer.
Definition: isf_ci.h:253
rli_ci_app_callback
ci_response_enum rli_ci_app_callback(ci_host_cmd_packet_t *, ci_app_resp_packet_t *)
Definition: rli_project.c:213
- © Freescale Semiconductor, Inc. 2016. All Rights Reserved.