提交 4bbbfab2 编写于 作者: M margguo

add 48 pins IC define in BSP/stm32f10x

上级 3defb749
......@@ -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}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册