van_bsp_debug_shell.h 894 B

12345678910111213141516171819202122232425262728293031323334
  1. /******************************************************************
  2. * Copyright (C) 2023 - 2023 OneChip, Inc. All rights reserved.
  3. * File name: van_bsp_debug_shell.c
  4. * Author: fanyidong Date:2020.11.21
  5. * Description: 单片机仿shell函数
  6. * Others:
  7. * History:
  8. 1. Date:
  9. Author:
  10. Modification:
  11. *****************************************************************/
  12. #ifndef VAN_BSP_DEBUG_SHELL_H
  13. #define VAN_BSP_DEBUG_SHELL_H
  14. typedef enum {
  15. VAN_LOG_CRITICAL = 0,
  16. VAN_LOG_ERROR = 1,
  17. VAN_LOG_WARN = 2,
  18. VAN_LOG_INFO = 3,
  19. VAN_LOG_NOTICE = 4,
  20. VAN_LOG_DEBUG = 5,
  21. }VAN_LOG_LEVEL_DEF;
  22. void addChartoCmdBuf(unsigned char inputchar);
  23. void addinputtocmdbuf(unsigned char *cmdbuf, unsigned int len);
  24. void decodedebugfunction(void);
  25. void decodedebugvariable(void);
  26. void find_stm32_Peripherals(void *peripheralsAdd, char *name);
  27. #endif // DRIVER_COMMON_H