first commit
This commit is contained in:
19
MPU6050/APP/usart1.h
Normal file
19
MPU6050/APP/usart1.h
Normal file
@ -0,0 +1,19 @@
|
||||
#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 float error;
|
||||
extern u8 USART_RX_BUF[64];
|
||||
//<2F><><EFBFBD>յ<EFBFBD><D5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD>
|
||||
extern unsigned short USART_RX_STA; //<2F><><EFBFBD><EFBFBD>״̬<D7B4><CCAC>־
|
||||
|
||||
|
||||
void usart1_Init(u32 bound);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user