20260324
This commit is contained in:
17
RTX5_20220316/Driver/usart/usart.h
Normal file
17
RTX5_20220316/Driver/usart/usart.h
Normal 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
|
||||
Reference in New Issue
Block a user