| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
os_app_hooks.h
Go to the documentation of this file.
1 /*
2 ************************************************************************************************************************
3 * uC/OS-III
4 * The Real-Time Kernel
5 *
6 * (c) Copyright 2009-2012; Micrium, Inc.; Weston, FL
7 * All rights reserved. Protected by international copyright laws.
8 *
9 * APPLICATION HOOKS
10 *
11 * File : OS_APP_HOOKS.H
12 * By : JJL
13 * Version : V3.03.00
14 *
15 * LICENSING TERMS:
16 * ---------------
17 * uC/OS-III is provided in source form for FREE short-term evaluation, for educational use or
18 * for peaceful research. If you plan or intend to use uC/OS-III in a commercial application/
19 * product then, you need to contact Micrium to properly license uC/OS-III for its use in your
20 * application/product. We provide ALL the source code for your convenience and to help you
21 * experience uC/OS-III. The fact that the source is provided does NOT mean that you can use
22 * it commercially without paying a licensing fee.
23 *
24 * Knowledge of the source code may NOT be used to develop a similar product.
25 *
26 * Please help us continue to provide the embedded community with the finest software available.
27 * Your honesty is greatly appreciated.
28 *
29 * You can contact us at www.micrium.com, or by phone at +1 (954) 217-2036.
30 ************************************************************************************************************************
31 */
32
33 #ifndef OS_APP_HOOKS_H
34 #define OS_APP_HOOKS_H
35
36
37 #ifdef OS_APP_HOOKS_H_GLOBALS
38 #define OS_APP_HOOKS_H_EXT
39 #else
40 #define OS_APP_HOOKS_H_EXT extern
41 #endif
42
43 /*
44 ************************************************************************************************************************
45 * INCLUDE HEADER FILES
46 ************************************************************************************************************************
47 */
48
49 #include <os.h>
50
51 /*
52 ************************************************************************************************************************
53 * FUNCTION PROTOTYPES
54 ************************************************************************************************************************
55 */
56
57 void App_OS_SetAllHooks (void);
58 void App_OS_ClrAllHooks (void);
59
60
61 /* ---------------------- HOOKS --------------------- */
62 void App_OS_TaskCreateHook(OS_TCB *p_tcb);
63 void App_OS_TaskDelHook (OS_TCB *p_tcb);
64 void App_OS_TaskReturnHook(OS_TCB *p_tcb);
65
66 void App_OS_IdleTaskHook (void);
67 void App_OS_InitHook (void);
68 void App_OS_StatTaskHook (void);
69 void App_OS_TaskSwHook (void);
70 void App_OS_TimeTickHook (void);
71
72 #endif