SEGGER_SYSVIEW_Int.h 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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.32 *
  46. * *
  47. **********************************************************************
  48. -------------------------- END-OF-HEADER -----------------------------
  49. File : SEGGER_SYSVIEW_Int.h
  50. Purpose : SEGGER SystemView internal header.
  51. Revision: $Rev: 21281 $
  52. */
  53. #ifndef SEGGER_SYSVIEW_INT_H
  54. #define SEGGER_SYSVIEW_INT_H
  55. /*********************************************************************
  56. *
  57. * #include Section
  58. *
  59. **********************************************************************
  60. */
  61. #include "SEGGER_SYSVIEW.h"
  62. #ifdef __cplusplus
  63. extern "C" {
  64. #endif
  65. /*********************************************************************
  66. *
  67. * Private data types
  68. *
  69. **********************************************************************
  70. */
  71. //
  72. // Commands that Host can send to target
  73. //
  74. typedef enum {
  75. SEGGER_SYSVIEW_COMMAND_ID_START = 1,
  76. SEGGER_SYSVIEW_COMMAND_ID_STOP,
  77. SEGGER_SYSVIEW_COMMAND_ID_GET_SYSTIME,
  78. SEGGER_SYSVIEW_COMMAND_ID_GET_TASKLIST,
  79. SEGGER_SYSVIEW_COMMAND_ID_GET_SYSDESC,
  80. SEGGER_SYSVIEW_COMMAND_ID_GET_NUMMODULES,
  81. SEGGER_SYSVIEW_COMMAND_ID_GET_MODULEDESC,
  82. SEGGER_SYSVIEW_COMMAND_ID_HEARTBEAT = 127,
  83. // Extended commands: Commands >= 128 have a second parameter
  84. SEGGER_SYSVIEW_COMMAND_ID_GET_MODULE = 128
  85. } SEGGER_SYSVIEW_COMMAND_ID;
  86. #ifdef __cplusplus
  87. }
  88. #endif
  89. #endif
  90. /*************************** End of file ****************************/