add 48 pins IC define in BSP/stm32f10x

This commit is contained in:
margguo 2016-05-23 22:00:21 +08:00
parent 3defb749cb
commit 4bbbfab29c
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
* Change Logs:
* Date Author Notes
* 2015-03-24 Bright the first version
* 2016-05-23 Margguo@gmail.com Add 48 pins IC define
* 2016-05-23 Margguo@gmail.com Add 48 pins IC define
*/
#include <rthw.h>
@ -20,7 +20,7 @@
#ifdef RT_USING_PIN
#define STM32F10X_PIN_NUMBERS 48 //[48, 64, 100, 144 ]
#define STM32F10X_PIN_NUMBERS 100 //[48, 64, 100, 144 ]
#define __STM32_PIN(index, rcc, gpio, gpio_index) { 0, RCC_##rcc##Periph_GPIO##gpio, GPIO##gpio, GPIO_Pin_##gpio_index}
#define __STM32_PIN_DEFAULT {-1, 0, 0, 0}