SEGGER_SYSVIEW_Int.h 5.4 KB

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