/* ****************************************************************************** * * @file uart.h * @brief uart module * * * @version 1.0 * @date 2023/05/12 09:59:40 * @author Alex Xu * * Copyright (c) 2013-2099,Tkplusemi Technology Co.,Ltd. * All Rights Reserved * * History: * Revision Date Author Desc * 1.0.0 2023/07/12 Alex build this file ****************************************************************************** */ #ifndef __UART_H__ #define __UART_H__ #include "define.h" #ifdef _DEBUG_ALL extern char putchar (char ch); #endif #if UART0_ENABLE extern void UART0_Init(void); extern void Uart0SendData(uint8_t Txdata); extern void Uart0SendString(char *s); extern void Uart0SendPacket(uint8_t Length,uint8_t *TransBuf); extern void Uart0SendString(char *s); #endif #endif