GPIO_LED GPIOF

来源:互联网 发布:河北广电网络集团电话 编辑:程序博客网 时间:2024/05/18 13:27
#if !defined (USE_STM3210B_EVAL) &&  !defined (USE_STM3210E_EVAL) //#define USE_STM3210B_EVAL #define USE_STM3210E_EVAL#endif/* Define the STM32F10x hardware depending on the used evaluation board */#ifdef USE_STM3210B_EVAL  #define GPIO_LED                   GPIOC      #define RCC_APB2Periph_GPIO_LED    RCC_APB2Periph_GPIOC#elif defined USE_STM3210E_EVAL  #define GPIO_LED                   GPIOF      #define RCC_APB2Periph_GPIO_LED    RCC_APB2Periph_GPIOF#endif 

原创粉丝点击