SEGGER_SYSVIEW_Int.h 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. /*
  2. * SPDX-FileCopyrightText: 1995-2021 SEGGER Microcontroller GmbH
  3. *
  4. * SPDX-License-Identifier: BSD-1-Clause
  5. */
  6. /*********************************************************************
  7. * SEGGER Microcontroller GmbH *
  8. * The Embedded Experts *
  9. **********************************************************************
  10. * *
  11. * (c) 1995 - 2021 SEGGER Microcontroller GmbH *
  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 SystemView and 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. * condition is met: *
  30. * *
  31. * o Redistributions of source code must retain the above copyright *
  32. * notice, this condition and the following disclaimer. *
  33. * *
  34. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND *
  35. * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, *
  36. * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF *
  37. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE *
  38. * DISCLAIMED. IN NO EVENT SHALL SEGGER Microcontroller BE LIABLE FOR *
  39. * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR *
  40. * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT *
  41. * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; *
  42. * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF *
  43. * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT *
  44. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE *
  45. * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH *
  46. * DAMAGE. *
  47. * *
  48. **********************************************************************
  49. * *
  50. * SystemView version: 3.42 *
  51. * *
  52. **********************************************************************
  53. -------------------------- END-OF-HEADER -----------------------------
  54. File : SEGGER_SYSVIEW_Int.h
  55. Purpose : SEGGER SystemView internal header.
  56. Revision: $Rev: 21281 $
  57. */
  58. #ifndef SEGGER_SYSVIEW_INT_H
  59. #define SEGGER_SYSVIEW_INT_H
  60. /*********************************************************************
  61. *
  62. * #include Section
  63. *
  64. **********************************************************************
  65. */
  66. #include "SEGGER_SYSVIEW.h"
  67. #ifdef __cplusplus
  68. extern "C" {
  69. #endif
  70. /*********************************************************************
  71. *
  72. * Private data types
  73. *
  74. **********************************************************************
  75. */
  76. //
  77. // Commands that Host can send to target
  78. //
  79. typedef enum {
  80. SEGGER_SYSVIEW_COMMAND_ID_START = 1,
  81. SEGGER_SYSVIEW_COMMAND_ID_STOP,
  82. SEGGER_SYSVIEW_COMMAND_ID_GET_SYSTIME,
  83. SEGGER_SYSVIEW_COMMAND_ID_GET_TASKLIST,
  84. SEGGER_SYSVIEW_COMMAND_ID_GET_SYSDESC,
  85. SEGGER_SYSVIEW_COMMAND_ID_GET_NUMMODULES,
  86. SEGGER_SYSVIEW_COMMAND_ID_GET_MODULEDESC,
  87. SEGGER_SYSVIEW_COMMAND_ID_HEARTBEAT = 127,
  88. // Extended commands: Commands >= 128 have a second parameter
  89. SEGGER_SYSVIEW_COMMAND_ID_GET_MODULE = 128
  90. } SEGGER_SYSVIEW_COMMAND_ID;
  91. #ifdef __cplusplus
  92. }
  93. #endif
  94. #endif
  95. /*************************** End of file ****************************/