]> git.sur5r.net Git - freertos/blob - FreeRTOS-Plus/FreeRTOS-Plus-Trace/Include/trcTypes.h
Add FreeRTOS-Plus directory.
[freertos] / FreeRTOS-Plus / FreeRTOS-Plus-Trace / Include / trcTypes.h
1 /*******************************************************************************\r
2  * FreeRTOS+Trace v2.2.3 Recorder Library\r
3  * Percepio AB, www.percepio.se\r
4  *\r
5  * trcTypes.h\r
6  *\r
7  * Data types used by the trace recorder library.\r
8  *\r
9  * Terms of Use\r
10  * This software is copyright Percepio AB. The recorder library is free for\r
11  * use together with Percepio products. You may distribute the recorder library\r
12  * in its original form, including modifications in trcPort.c and trcPort.h\r
13  * given that these modification are clearly marked as your own modifications\r
14  * and documented in the initial comment section of these source files. \r
15  * This software is the intellectual property of Percepio AB and may not be \r
16  * sold or in other ways commercially redistributed without explicit written \r
17  * permission by Percepio AB.\r
18  *\r
19  * Disclaimer \r
20  * The trace tool and recorder library is being delivered to you AS IS and \r
21  * Percepio AB makes no warranty as to its use or performance. Percepio AB does \r
22  * not and cannot warrant the performance or results you may obtain by using the \r
23  * software or documentation. Percepio AB make no warranties, express or \r
24  * implied, as to noninfringement of third party rights, merchantability, or \r
25  * fitness for any particular purpose. In no event will Percepio AB, its \r
26  * technology partners, or distributors be liable to you for any consequential, \r
27  * incidental or special damages, including any lost profits or lost savings, \r
28  * even if a representative of Percepio AB has been advised of the possibility \r
29  * of such damages, or for any claim by any third party. Some jurisdictions do \r
30  * not allow the exclusion or limitation of incidental, consequential or special \r
31  * damages, or the exclusion of implied warranties or limitations on how long an \r
32  * implied warranty may last, so the above limitations may not apply to you.\r
33  *\r
34  * FreeRTOS+Trace is available as Free Edition and in two premium editions.\r
35  * You may use the premium features during 30 days for evaluation.\r
36  * Download FreeRTOS+Trace at http://www.percepio.se/index.php?page=downloads\r
37  *\r
38  * Copyright Percepio AB, 2012.\r
39  * www.percepio.se\r
40  ******************************************************************************/\r
41 \r
42 #ifndef TRCTYPES_H\r
43 #define TRCTYPES_H\r
44 \r
45 #include <stdint.h>\r
46 \r
47 typedef uint16_t traceLabel;\r
48 \r
49 typedef uint8_t objectHandleType;\r
50 \r
51 typedef uint8_t traceObjectClass;\r
52 \r
53 #define TRACE_CLASS_QUEUE ((traceObjectClass)0)\r
54 #define TRACE_CLASS_SEMAPHORE ((traceObjectClass)1) \r
55 #define TRACE_CLASS_MUTEX ((traceObjectClass)2)\r
56 #define TRACE_CLASS_TASK ((traceObjectClass)3)\r
57 #define TRACE_CLASS_ISR ((traceObjectClass)4)\r
58 \r
59 #endif\r