| ISF 2.1 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ISFCore1.c
Go to the documentation of this file.
1 /* ###################################################################
2 ** THIS COMPONENT MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
3 ** Filename : ISFCore1.c
4 ** CDE edition : Standard
5 ** Project : ISF_K64F_CW_PROJ
6 ** Processor : MK64FN1M0VLL12
7 ** Component : ISF_Core
8 ** Version : Component 01.000, Driver 01.00, CPU db: 3.00.000
9 ** Compiler : GNU C Compiler
10 ** Date/Time : 2015-03-03, 11:16, # CodeGen: 3
11 ** Abstract :
12 **
13 ** Settings :
14 ** Contents :
15 ** No public methods
16 **
17 ** (c) Copyright <company/user-name>, 2014
18 http://www.<company>.com
19 mail: info@<company>.com
20 ** ###################################################################*/
21 /*!
22 ** @file ISFCore1.c
23 ** @version 01.00
24 ** @brief
25 **
26 */
27 /*!
28 ** @addtogroup ISFCore1_module ISFCore1 module documentation
29 ** @{
30 */
31
32 /* MODULE ISFCore1. */
33
34 #include "ISFCore1.h"
35
36
37 // Total number of CI protocol(s) defined: 1
38 // Total number of CI callback(s) defined: 2
39
40
41 extern ci_response_enum rli_ci_app_callback(ci_host_cmd_packet_t*, ci_app_resp_packet_t*);
42 extern ci_response_enum App1_ci_app_callback(ci_host_cmd_packet_t*, ci_app_resp_packet_t*);
43
44
45
46 /*!
47 * @brief Command interpreter callbacks. The array index is the application ID.
48 */
49 const ci_funcp_t ci_callback[] =
50 {
51 // ISF callbacks come first.
52 ISF_APP_CALLBACKS
53
54 // Add your application callback here.
55 rli_ci_app_callback,
56 App1_ci_app_callback,
57
58 // Null terminate the callback array.
59 0
60 };
61
62
63 /*
64 ** ===================================================================
65 ** Method : ISFCore1_OnTask (component ISF_Core)
66 **
67 ** Description :
68 ** This method is internal. It is used by Processor Expert only.
69 ** ===================================================================
70 */
71 void PM_task(uint32_t task_init_data)
72 {
73 /* Write your code here ... */
74 // Waiting for the system synchronisation.
75 isf_system_sync();
76 task_idle(0);
77 }
78
79 /* Write your code here ... */
80
81
82 /* Write your code here ... */
83
84
85
86 /*
87 ** ===================================================================
88 ** Method : ISFCore1_OnTask (component ISF_Core)
89 **
90 ** Description :
91 ** This method is internal. It is used by Processor Expert only.
92 ** ===================================================================
93 */
94 void CI_task(uint32_t task_init_data)
95 {
96 /* Write your code here ... */
97
98 // Waiting for the system synchronisation.
99 isf_system_sync();
100 task_ci(0);
101
102 }
103
104 /* END ISFCore1. */
105
106 /*!
107 ** @}
108 */
109 /*
110 ** ###################################################################
111 **
112 ** This file was created by Processor Expert 10.3 [05.09]
113 ** for the Freescale Kinetis series of microcontrollers.
114 **
115 ** ###################################################################
116 */
ISFCore1.h
isf_system_sync
void isf_system_sync(void)
This function synchronizes the user tasks and the system initialization.
Definition: isf_init.c:50
PM_task
void PM_task(uint32_t task_init_data)
Definition: ISFCore1.c:71
ci_callback
const ci_funcp_t ci_callback[]
Command interpreter callbacks. The array index is the application ID.
Definition: ISFCore1.c:49
task_ci
void task_ci(uint32 initial_data)
Command Interpreter Task - main task to handle communication via mailboxes with the host...
Definition: task_ci.c:499
CI_task
void CI_task(uint32_t task_init_data)
Definition: ISFCore1.c:94
App1_ci_app_callback
ci_response_enum App1_ci_app_callback(ci_host_cmd_packet_t *, ci_app_resp_packet_t *)
Definition: App1.c:313
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:242
ci_app_resp_packet_t
This structure enables an application to read from or write to the host.
Definition: isf_ci.h:210
ci_host_cmd_packet_t
This structure contains host command information.
Definition: isf_ci.h:186
task_idle
void task_idle(uint32 initial_data)
Definition: pm.c:156
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:343
ci_response_enum
ci_response_enum
These are the CI errors provided to the host.
Definition: isf_ci.h:107
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:151
- © Freescale Semiconductor, Inc. 2015. All Rights Reserved.