Files
Gamble/Gambal/APP/usart1.h

22 lines
410 B
C
Raw Permalink Normal View History

2023-12-18 14:36:22 +08:00
#ifndef _usart1_H
#define _usart1_H
#include "system.h"
#include "stdio.h"
#define RX_485 GPIO_ResetBits(GPIOA,GPIO_Pin_8);
#define TX_485 GPIO_SetBits(GPIOA,GPIO_Pin_8);
extern u8 USART_RX_BUF[30];
2023-12-18 14:36:22 +08:00
//<2F><><EFBFBD>յ<EFBFBD><D5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD>
extern unsigned short USART_RX_STA; //<2F><><EFBFBD><EFBFBD>״̬<D7B4><CCAC>־
2023-12-19 10:15:15 +08:00
extern u8 G_RX_Xerror[12];
extern u8 G_RX_Yerror[12];
2023-12-18 14:36:22 +08:00
void usart1_Init(u32 bound);
#endif