ll_debug.h 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /**************************************************************************************************
  2. Phyplus Microelectronics Limited confidential and proprietary.
  3. All rights reserved.
  4. IMPORTANT: All rights of this software belong to Phyplus Microelectronics
  5. Limited ("Phyplus"). Your use of this Software is limited to those
  6. specific rights granted under the terms of the business contract, the
  7. confidential agreement, the non-disclosure agreement and any other forms
  8. of agreements as a customer or a partner of Phyplus. You may not use this
  9. Software unless you agree to abide by the terms of these agreements.
  10. You acknowledge that the Software may not be modified, copied,
  11. distributed or disclosed unless embedded on a Phyplus Bluetooth Low Energy
  12. (BLE) integrated circuit, either as a product or is integrated into your
  13. products. Other than for the aforementioned purposes, you may not use,
  14. reproduce, copy, prepare derivative works of, modify, distribute, perform,
  15. display or sell this Software and/or its documentation for any purposes.
  16. YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
  17. PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
  18. INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
  19. NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
  20. PHYPLUS OR ITS SUBSIDIARIES BE LIABLE OR OBLIGATED UNDER CONTRACT,
  21. NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
  22. LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
  23. INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
  24. OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
  25. OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
  26. (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
  27. **************************************************************************************************/
  28. /**
  29. ****************************************************************************************
  30. *
  31. * @file ll_debug.h
  32. *
  33. * @brief This file defines the status used for debug
  34. *
  35. *
  36. * $Rev: $
  37. *
  38. ****************************************************************************************
  39. */
  40. #ifndef _LL_DEBUG_H_
  41. #define _LL_DEBUG_H_
  42. #define DEBUG_ENTER_SYSTEM_SLEEP 0
  43. #define DEBUG_ENTER_MCU_SLEEP 1
  44. #define DEBUG_WAKEUP 2
  45. #define DEBUG_ISR_EXIT 3
  46. #define DEBUG_ISR_ENTRY 4
  47. #define DEBUG_LL_HW_STX 5
  48. #define DEBUG_LL_HW_SRX 6
  49. #define DEBUG_LL_HW_TRX 7
  50. #define DEBUG_LL_HW_RTX 8
  51. #define DEBUG_LL_HW_TRLP 9
  52. #define DEBUG_LL_HW_TRLP_EMPT 10
  53. #define DEBUG_LL_HW_RTLP 11
  54. #define DEBUG_LL_HW_RTLP_1ST 12
  55. #define DEBUG_LL_HW_RTLP_EMPT 13
  56. #define DEBUG_LL_HW_SET_STX 14
  57. #define DEBUG_LL_HW_SET_SRX 15
  58. #define DEBUG_LL_HW_SET_TRX 16
  59. #define DEBUG_LL_HW_SET_RTX 17
  60. #define DEBUG_LL_HW_SET_TRLP 18
  61. #define DEBUG_LL_HW_SET_TRLP_EMPT 19
  62. #define DEBUG_LL_HW_SET_RTLP 20
  63. #define DEBUG_LL_HW_SET_RTLP_1ST 21
  64. #define DEBUG_LL_HW_SET_RTLP_EMPT 22
  65. #define DEBUG_LL_STATE_IDLE 30
  66. #define DEBUG_LL_STATE_ADV_UNDIRECTED 31
  67. #define DEBUG_LL_STATE_ADV_DIRECTED 32
  68. #define DEBUG_LL_STATE_ADV_SCAN 33
  69. #define DEBUG_LL_STATE_ADV_NONCONN 34
  70. #define DEBUG_LL_STATE_SCAN 35
  71. #define DEBUG_LL_STATE_INIT 36
  72. #define DEBUG_LL_STATE_CONN_SLAVE 37
  73. #define DEBUG_LL_STATE_CONN_MASTER 38
  74. #define DEBUG_LL_STATE_DIRECT_TEST_MODE_TX 39
  75. #define DEBUG_LL_STATE_DIRECT_TEST_MODE_RX 40
  76. #define DEBUG_LL_STATE_MODEM_TEST_TX 41
  77. #define DEBUG_LL_STATE_MODEM_TEST_RX 42
  78. #define DEBUG_LL_STATE_MODEM_TEST_TX_FREQ_HOPPING 43
  79. #define DEBUG_LL_SEND_ADV 44
  80. #define DEBUG_LL_TIMER_EXPIRY_ENTRY 50
  81. #define DEBUG_LL_TIMER_EXPIRY_EXIT 51
  82. #endif // _LL_DEBUG_H_