//LED端口定义
#define LED0 PBout(8) // DS0 work
#define LED1 PBout(9) // DS1 txrx#define POWA_ON GPIO_SetBits(GPIOA,GPIO_Pin_5) //继电器1
#define POWA_OFF GPIO_ResetBits(GPIOA,GPIO_Pin_5)#define POWB_ON GPIO_SetBits(GPIOA,GPIO_Pin_6) //继电器2
#define POWB_OFF GPIO_ResetBits(GPIOA,GPIO_Pin_6)#define SOND1 GPIO_ReadInputDataBit(GPIOC,GPIO_Pin_3) //PC0音频1
#define SOND2 GPIO_ReadInputDataBit(GPIOC,GPIO_Pin_2) //PC1音频2