ISF
2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
Main Page
Modules
Data Structures
Files
File List
Globals
MainTask.h
Go to the documentation of this file.
1
/* ###################################################################
2
** This component module is generated by Processor Expert. Do not modify it.
3
** Filename : MainTask.h
4
** Project : ISF2P2_K64F_MQX_PROJ
5
** Processor : MK64FN1M0VLL12
6
** Component : OS_Task
7
** Version : Component 1.2.0, Driver 01.00, CPU db: 3.00.000
8
** Repository : KSDK 1.2.0
9
** Compiler : GNU C Compiler
10
** Date/Time : 2016-10-06, 13:38, # CodeGen: 0
11
** Abstract :
12
** OS_Task component.
13
** Contents :
14
** Init - osa_status_t MainTask_Init(void);
15
**
16
** Copyright : 1997 - 2015 Freescale Semiconductor, Inc.
17
** All Rights Reserved.
18
**
19
** Redistribution and use in source and binary forms, with or without modification,
20
** are permitted provided that the following conditions are met:
21
**
22
** o Redistributions of source code must retain the above copyright notice, this list
23
** of conditions and the following disclaimer.
24
**
25
** o Redistributions in binary form must reproduce the above copyright notice, this
26
** list of conditions and the following disclaimer in the documentation and/or
27
** other materials provided with the distribution.
28
**
29
** o Neither the name of Freescale Semiconductor, Inc. nor the names of its
30
** contributors may be used to endorse or promote products derived from this
31
** software without specific prior written permission.
32
**
33
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
34
** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
35
** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
36
** DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
37
** ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
38
** (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
39
** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
40
** ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
41
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
42
** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
43
**
44
** http: www.freescale.com
45
** mail: support@freescale.com
46
** ###################################################################*/
47
/*!
48
** @file MainTask.h
49
** @version 01.00
50
** @brief
51
** OS_Task component.
52
*/
53
/*!
54
** @addtogroup MainTask_module MainTask module documentation
55
** @{
56
*/
57
58
#ifndef __MainTask_H
59
#define __MainTask_H
60
61
/* MODULE MainTask. */
62
63
/* Include inherited beans */
64
65
#include "
Cpu.h
"
66
67
/* MainTask task name */
68
#define MAINTASK_TASK_NAME "maintask"
69
/* MainTask task stack size */
70
#define MAINTASK_TASK_STACK_SIZE 1024U
71
/* MainTask task priority value */
72
#define MAINTASK_TASK_PRIORITY 16U
73
/* Call PEX_components_init() method in MainTask component */
74
#define MainTask_PEX_RTOS_COMPONENTS_INIT 0x01U
75
76
/*
77
** ===================================================================
78
** Method : Init (component OS_Task)
79
**
80
** Description :
81
** The method creates and starts task defined by OS_Task
82
** component.
83
** This method is internal. It is used by Processor Expert only.
84
** ===================================================================
85
*/
86
osa_status_t
MainTask_Init
(
void
);
87
88
89
/* END MainTask. */
90
91
#endif
92
/* ifndef __MainTask_H */
93
/*!
94
** @}
95
*/
96
/*
97
** ###################################################################
98
**
99
** This file was created by Processor Expert 10.5 [05.21]
100
** for the Freescale Kinetis series of microcontrollers.
101
**
102
** ###################################################################
103
*/
Cpu.h
MainTask_Init
osa_status_t MainTask_Init(void)
Definition:
MainTask.c:74
© Freescale Semiconductor, Inc. 2016. All Rights Reserved.