This commit is contained in:
2026-04-23 10:50:18 +08:00
commit a436fda935
844 changed files with 272643 additions and 0 deletions

View File

@ -0,0 +1,17 @@
#ifndef _usart_H
#define _usart_H
#include "general_type.h"
#include "stm32l1xx_usart.h"
#define USART1_MAX_SEND_LEN 100 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͻ<EFBFBD><CDBB><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD><EFBFBD>
void USART1_Configuration(u32 baund);
void UART_PutChar(USART_TypeDef* USARTx, uint8_t Data) ;
void UART_PutStr (USART_TypeDef* USARTx, char *str) ;
//void TIM3_Set(unsigned char sta);
void Usart1_ReceiveBuff_Clear(void);
//void timer3_init(void);
void USART_RS232_DEinit(void);
void USART_SDI_DEinit(void);
#endif