ISF  2.1
Intelligent Sensing Framework for Kinetis with Processor Expert
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Protocol1.h
Go to the documentation of this file.
1 /* ###################################################################
2 ** THIS COMPONENT MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
3 ** Filename : Protocol1.h
4 ** CDE edition : Standard
5 ** Project : ISF_K64F_CW_PROJ
6 ** Processor : MK64FN1M0VLL12
7 ** Component : ISF_CI_Protocol
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:01, # CodeGen: 0
11 ** Abstract :
12 **
13 ** Settings :
14 ** Contents :
15 ** ProtocolInit -
16 ** ProtocolCallBack -
17 **
18 ** (c) Copyright <company/user-name>, 2014
19 http://www.<company>.com
20 mail: info@<company>.com
21 ** ###################################################################*/
22 /*!
23 ** @file Protocol1.h
24 ** @version 01.00
25 ** @brief
26 **
27 */
28 /*!
29 ** @addtogroup Protocol1_module Protocol1 module documentation
30 ** @{
31 */
32 
33 #ifndef __Protocol1_H
34 #define __Protocol1_H
35 
36 /* MODULE Protocol1. */
37 
38 /* Include shared modules, which are used for whole project */
39 #include "PE_Types.h"
40 #include "PE_Error.h"
41 #include "PE_Const.h"
42 #include "IO_Map.h"
43 /* Include inherited components */
44 
45 #include "Cpu.h"
46 #include "isf.h"
47 #include "isf_ci_protocol.h"
48 
49 
50 #ifndef __CDEUserType_Protocol1_Type
51 #define __CDEUserType_Protocol1_Type
52 typedef int32_t Protocol1_Type; /*Type*/
53 #endif
54 #include "isf_ci_protocol.h"
55 
56 
57 
58 /*
59 ** ===================================================================
60 ** Method : Protocol1_ProtocolCallBack (component ISF_CI_Protocol)
61 ** @brief
62 ** Protocol callback function
63 ** Parameters :
64 ** NAME - DESCRIPTION
65 ** @param
66 ** uint32_t anumBytes - Number of bytes in source packet
67 ** @param
68 ** uint8_t apSrc - Source data buffer
69 ** @param
70 ** uint32_t apnumDestBytes - Input: max size of pDest; Output: actual size
71 ** of pDest
72 ** @param
73 ** uint8_t apDest - Destination data buffer
74 ** @return
75 ** int32_t -
76 ** ===================================================================
77 */
78 int32_t Protocol1_ProtocolCallBack(uint32_t anumBytes, uint8_t *apSrc, uint32_t *apnumDestBytes, uint8_t *apDest);
79 
80 /*
81 ** ===================================================================
82 ** Method : Protocol1_ProtocolInit (component ISF_CI_Protocol)
83 ** @brief
84 ** Protocol initialization function.
85 ** Parameters :
86 ** NAME - DESCRIPTION
87 ** @param
88 ** int8_t aprotocolID - 0 to 255
89 ** @param
90 ** void* apInitData - User define initialization data
91 ** @return
92 ** int32_t - ISF_SUCCESS or ISF_ERR_LIB_INIT
93 ** ===================================================================
94 */
95 int32_t Protocol1_ProtocolInit(int8_t aprotocolID, void* apInitData);
96 
97 
98 
99 
100 
101 
102 
103 
104 /* END Protocol1. */
105 
106 #endif
107 /* ifndef __Protocol1_H */
108 /*!
109 ** @}
110 */
111 /*
112 ** ###################################################################
113 **
114 ** This file was created by Processor Expert 10.3 [05.09]
115 ** for the Freescale Kinetis series of microcontrollers.
116 **
117 ** ###################################################################
118 */
int32_t Protocol1_ProtocolCallBack(uint32_t anumBytes, uint8_t *apSrc, uint32_t *apnumDestBytes, uint8_t *apDest)
int32_t Protocol1_Type
Definition: Protocol1.h:52
Command Interpreter (CI) Protocol header file.
Main ISF header file. Contains code common to all ISF components.
int32_t Protocol1_ProtocolInit(int8_t aprotocolID, void *apInitData)