/****************************************************************************
* File Name : key_led.c.c
* Author : MCD Application Team
* FW Version : V2.0.1
* Date : 06/11/2012
* Description : This file provides all the RCC firmware functions.
*开发板 :神舟三号
* 现象 :如程序执行前按住按键USER2 LED亮起,没按则灯不亮
*****************************************************************************
*/
#include "stm32f10x_lib.h"
/ define LED ///
#define RCC_GPIO_LED RCC_APB2Periph_GPIOF
#define GPIO_LED GPIOF
#define GPIO_LED_PIN GPIO_Pin_6
/ define KEY ///
#define RCC_GPIO_KEY RCC_APB2Periph_GPIOD
#define GPIO_KEY GPIOD
#define GPIO_KEY_PIN GPIO_Pin_3
/ def