stm32f103
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
dev_board.h
Go to the documentation of this file.
1 #ifndef STM32F103_CONFIG_DEV_BOARD_H_
2 #define STM32F103_CONFIG_DEV_BOARD_H_
3 
4 #include "stm32f10x.h"
5 #include "stm32f10x_gpio.h"
6 
7 #define LIB_USE_LED 1
8 #define LIB_LED1_PINOUT {GPIOB, GPIO_Pin_0}
9 
10 #define LIB_USE_BUTTON 1
11 #define LIB_BUTTON1_PINOUT {GPIOE, GPIO_Pin_6}
12 
13 #define LIB_USE_UART 1
14 #define LIB_UART1_TX_PINOUT {GPIOA, GPIO_Pin_9}
15 #define LIB_UART1_RX_PINOUT {GPIOA, GPIO_Pin_10}
16 
17 #endif // STM32F103_CONFIG_DEV_BOARD_H_