van_bsp_debug_uart.h 952 B

12345678910111213141516171819202122232425262728
  1. /******************************************************************
  2. * Copyright (C) 2023 - 2023 OneChip, Inc. All rights reserved.
  3. * File name: van_bsp_debug_uart.h.h
  4. * Author: fanyidong Date:2020.11.21
  5. * Description: STM32调试串口接口函数
  6. * Others:
  7. * History:
  8. 1. Date:
  9. Author:
  10. Modification:
  11. *****************************************************************/
  12. #ifndef VAN_BSP_DEBUG_UART_H
  13. #define VAN_BSP_DEBUG_UART_H
  14. #include "onechip_include_header.h"
  15. void Van_Debug_UART_Init(UART_HandleTypeDef * puart);
  16. void Van_Debug_UART_TxCpltCallback(UART_HandleTypeDef *huart);
  17. void Van_Debug_UART_Send_DMA(unsigned char *pdata, unsigned int Length);
  18. void Van_Debug_UART_Rec_IDLE(UART_HandleTypeDef *huart);
  19. void Van_Debug_UART_ErrorCallback(UART_HandleTypeDef *huart);
  20. void Van_Debug_UART1_test(void);
  21. void Van_Device_Printf(unsigned int printLevel, const char *cmd, ...);
  22. #endif // DRIVER_COMMON_H