ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
osa1.h
Go to the documentation of this file.
1 /* ###################################################################
2 ** This component module is generated by Processor Expert. Do not modify it.
3 ** Filename : osa1.h
4 ** Project : ISF2P2_K64F_MQX_PROJ
5 ** Processor : MK64FN1M0VLL12
6 ** Component : fsl_os_abstraction
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 **
13 ** Contents :
14 ** OSA_MemoryAllocateAlign - void* OSA_MemoryAllocateAlign(size_t size,size_t align);
15 ** OSA_DefaultIntHandler - static inline osa_int_handler_t OSA_DefaultIntHandler(void);
16 ** OSA_SemaCreate - osa_status_t OSA_SemaCreate(semaphore_t * pSem,uint8_t initValue);
17 ** OSA_SemaWait - osa_status_t OSA_SemaWait(semaphore_t * pSem,uint32_t timeout);
18 ** OSA_SemaPost - osa_status_t OSA_SemaPost(semaphore_t * pSem);
19 ** OSA_SemaDestroy - osa_status_t OSA_SemaDestroy(semaphore_t * pSem);
20 ** OSA_MutexCreate - osa_status_t OSA_MutexCreate(mutex_t * pMutex);
21 ** OSA_MutexLock - osa_status_t OSA_MutexLock(mutex_t * pMutex,uint32_t timeout);
22 ** OSA_MutexUnlock - osa_status_t OSA_MutexUnlock(mutex_t * pMutex);
23 ** OSA_MutexDestroy - osa_status_t OSA_MutexDestroy(mutex_t * pMutex);
24 ** OSA_EventCreate - osa_status_t OSA_EventCreate(event_t * pEvent,osa_event_clear_mode_t clearMode);
25 ** OSA_EventWait - osa_status_t OSA_EventWait(event_t * pEvent,event_flags_t flagsToWait,bool...
26 ** OSA_EventSet - osa_status_t OSA_EventSet(event_t * pEvent,event_flags_t flagsToSet);
27 ** OSA_EventClear - osa_status_t OSA_EventClear(event_t * pEvent,event_flags_t flagsToClear);
28 ** OSA_EventGetFlags - event_flags_t OSA_EventGetFlags(event_t * pEvent);
29 ** OSA_EventDestroy - osa_status_t OSA_EventDestroy(event_t * pEvent);
30 ** OSA_TaskCreate - osa_status_t OSA_TaskCreate(task_t task,uint8_t * name,uint16_t...
31 ** OSA_TaskDestroy - osa_status_t OSA_TaskDestroy(task_handler_t handler);
32 ** OSA_TaskYield - osa_status_t OSA_TaskYield(void);
33 ** OSA_TaskGetHandler - task_handler_t OSA_TaskGetHandler(void);
34 ** OSA_TaskGetPriority - uint16_t OSA_TaskGetPriority(task_handler_t handler);
35 ** OSA_TaskSetPriority - osa_status_t OSA_TaskSetPriority(task_handler_t handler,uint16_t priority);
36 ** OSA_MsgQCreate - msg_queue_handler_t OSA_MsgQCreate(msg_queue_t * queue,uint16_t...
37 ** OSA_MsgQPut - osa_status_t OSA_MsgQPut(msg_queue_handler_t handler,void * pMessage);
38 ** OSA_MsgQGet - osa_status_t OSA_MsgQGet(msg_queue_handler_t handler,void * pMessage,uint32_t...
39 ** OSA_MsgQDestroy - osa_status_t OSA_MsgQDestroy(msg_queue_handler_t handler);
40 ** OSA_MemAlloc - void* OSA_MemAlloc(size_t size);
41 ** OSA_MemAllocZero - void* OSA_MemAllocZero(size_t size);
42 ** OSA_MemFree - osa_status_t OSA_MemFree(void * ptr);
43 ** OSA_TimeDelay - void OSA_TimeDelay(uint32_t delay);
44 ** OSA_TimeGetMsec - uint32_t OSA_TimeGetMsec(void);
45 ** OSA_InstallIntHandler - osa_int_handler_t OSA_InstallIntHandler(int32_t IRQNumber,osa_int_handler_t...
46 ** OSA_EnterCritical - void OSA_EnterCritical(osa_critical_section_mode_t mode);
47 ** OSA_ExitCritical - void OSA_ExitCritical(osa_critical_section_mode_t mode);
48 ** OSA_Init - osa_status_t OSA_Init(void);
49 ** OSA_Start - osa_status_t OSA_Start(void);
50 **
51 ** Copyright : 1997 - 2015 Freescale Semiconductor, Inc.
52 ** All Rights Reserved.
53 **
54 ** Redistribution and use in source and binary forms, with or without modification,
55 ** are permitted provided that the following conditions are met:
56 **
57 ** o Redistributions of source code must retain the above copyright notice, this list
58 ** of conditions and the following disclaimer.
59 **
60 ** o Redistributions in binary form must reproduce the above copyright notice, this
61 ** list of conditions and the following disclaimer in the documentation and/or
62 ** other materials provided with the distribution.
63 **
64 ** o Neither the name of Freescale Semiconductor, Inc. nor the names of its
65 ** contributors may be used to endorse or promote products derived from this
66 ** software without specific prior written permission.
67 **
68 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
69 ** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
70 ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
71 ** DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
72 ** ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
73 ** (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
74 ** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
75 ** ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
76 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
77 ** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
78 **
79 ** http: www.freescale.com
80 ** mail: support@freescale.com
81 ** ###################################################################*/
82 /*!
83 ** @file osa1.h
84 ** @version 01.00
85 ** @brief
86 **
87 */
88 /*!
89 ** @addtogroup osa1_module osa1 module documentation
90 ** @{
91 */
92 #ifndef __osa1_H
93 #define __osa1_H
94 /* MODULE osa1. */
95 /* Include inherited beans */
96 #include "mqx_ksdk.h"
97 #include "Cpu.h"
98 
99 #define PEX_RTOS_INIT OSA_Init
100 
101 
102 #endif
103 /* ifndef __osa1_H */
104 /*!
105 ** @}
106 */
107 /*
108 ** ###################################################################
109 **
110 ** This file was created by Processor Expert 10.5 [05.21]
111 ** for the Freescale Kinetis series of microcontrollers.
112 **
113 ** ###################################################################
114 */
MQX Lite RTOS Adapter component.