	#ifndef __DEBUG_USART_H
#define	__DEBUG_USART_H

#include "stm32f2xx.h"
#include <stdio.h>
#include "sys_data.h"



#define USART_BAUDRATE                    	9600 //´®¿Ú²¨ÌØÂÊ

#define USART3_RX_GPIO_PORT                GPIOD
#define USART3_RX_GPIO_CLK                 RCC_AHB1Periph_GPIOD
#define USART3_RX_PIN                    	 GPIO_Pin_8
#define USART3_RX_AF                       GPIO_AF_USART3
#define USART3_RX_SOURCE                   GPIO_PinSource8

#define USART3_TX_GPIO_PORT                GPIOD
#define USART3_TX_GPIO_CLK                 RCC_AHB1Periph_GPIOD
#define USART3_TX_PIN                      GPIO_Pin_9
#define USART3_TX_AF                       GPIO_AF_USART3
#define USART3_TX_SOURCE                   GPIO_PinSource9

#define USART_232                             USART3
void USART3_config(void);


#endif /* __USART1_H */
