1 /*********************************************************************
2 *                    SEGGER Microcontroller GmbH                     *
3 *                        The Embedded Experts                        *
4 **********************************************************************
5 *                                                                    *
6 *            (c) 1995 - 2021 SEGGER Microcontroller GmbH             *
7 *                                                                    *
8 *       www.segger.com     Support: support@segger.com               *
9 *                                                                    *
10 **********************************************************************
11 *                                                                    *
12 *       SEGGER SystemView * Real-time application analysis           *
13 *                                                                    *
14 **********************************************************************
15 *                                                                    *
16 * All rights reserved.                                               *
17 *                                                                    *
18 * SEGGER strongly recommends to not make any changes                 *
19 * to or modify the source code of this software in order to stay     *
20 * compatible with the SystemView and RTT protocol, and J-Link.       *
21 *                                                                    *
22 * Redistribution and use in source and binary forms, with or         *
23 * without modification, are permitted provided that the following    *
24 * condition is met:                                                  *
25 *                                                                    *
26 * o Redistributions of source code must retain the above copyright   *
27 *   notice, this condition and the following disclaimer.             *
28 *                                                                    *
29 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND             *
30 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,        *
31 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF           *
32 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE           *
33 * DISCLAIMED. IN NO EVENT SHALL SEGGER Microcontroller BE LIABLE FOR *
34 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR           *
35 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT  *
36 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;    *
37 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF      *
38 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT          *
39 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE  *
40 * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH   *
41 * DAMAGE.                                                            *
42 *                                                                    *
43 **********************************************************************
44 *                                                                    *
45 *       SystemView version: 3.40                                    *
46 *                                                                    *
47 **********************************************************************
48 -------------------------- END-OF-HEADER -----------------------------
49 File    : SEGGER_SYSVIEW_Int.h
50 Purpose : SEGGER SystemView internal header.
51 Revision: $Rev: 21281 $
52 */
53 
54 #ifndef SEGGER_SYSVIEW_INT_H
55 #define SEGGER_SYSVIEW_INT_H
56 
57 /*********************************************************************
58 *
59 *       #include Section
60 *
61 **********************************************************************
62 */
63 
64 #include "SEGGER_SYSVIEW.h"
65 
66 #ifdef __cplusplus
67 extern "C" {
68 #endif
69 
70 
71 /*********************************************************************
72 *
73 *       Private data types
74 *
75 **********************************************************************
76 */
77 //
78 // Commands that Host can send to target
79 //
80 typedef enum {
81   SEGGER_SYSVIEW_COMMAND_ID_START = 1,
82   SEGGER_SYSVIEW_COMMAND_ID_STOP,
83   SEGGER_SYSVIEW_COMMAND_ID_GET_SYSTIME,
84   SEGGER_SYSVIEW_COMMAND_ID_GET_TASKLIST,
85   SEGGER_SYSVIEW_COMMAND_ID_GET_SYSDESC,
86   SEGGER_SYSVIEW_COMMAND_ID_GET_NUMMODULES,
87   SEGGER_SYSVIEW_COMMAND_ID_GET_MODULEDESC,
88   SEGGER_SYSVIEW_COMMAND_ID_HEARTBEAT = 127,
89   // Extended commands: Commands >= 128 have a second parameter
90   SEGGER_SYSVIEW_COMMAND_ID_GET_MODULE = 128
91 } SEGGER_SYSVIEW_COMMAND_ID;
92 
93 #ifdef __cplusplus
94 }
95 #endif
96 
97 #endif
98 
99 /*************************** End of file ****************************/
100