www.pudn.com > webserver.zip > System.h, change:2009-10-30,size:759b


#ifndef __SYSTEM_H 
	#define __SYSTEM_H 1 
#include "stm32f10x_type.h" 
#include "stm32f10x_lib.h" 
#include "stm32f10x_usart.h" 
#include "stm32f10x_gpio.h" 
#include "stm32f10x_flash.h" 
typedef struct 
{	u16  Time0;	/*定时时间*/ 
}TimerStr; 
 
/*串口号*/ 
#define COM1   0//USART1 
#define COM2   1//USART2 
#define COM3   2//USART3 
#define COM4   3//UART4 
#define COM5   4//UART5 
/*波特率*/ 
#define BAUDRATE  9600//波特率: 115200,9600,4800,2400,1200,(bp 
/*引脚电平*/ 
#define HIGH 1 
#define LOW  0 
/*引脚位定义,格式:引脚组,引脚号。  
如 #define DEBUG_IO GPIOB,GPIO_Pin_12,定义PB12口为DEBUG*/ 
//#define DEBUG_IO GPIOB,GPIO_Pin_12    
#define DEBUG_IO GPIOC,GPIO_Pin_13 
 
/*引脚位寄存器宏定义*/ 
#define IOBIT  GPIO_TypeDef*, u16	 
 
  
#endif