Go to the documentation of this file.
5 #ifndef STM32F103_CONFIG_TEST_CONFIG_H_
6 #define STM32F103_CONFIG_TEST_CONFIG_H_
9 #include "stm32f10x_gpio.h"
12 #define LIB_LED1_PINOUT {GPIOB, GPIO_Pin_12}
13 #define LIB_LED2_PINOUT {GPIOB, GPIO_Pin_13}
14 #define LIB_LED3_PINOUT {GPIOB, GPIO_Pin_14}
16 #define LIB_USE_BUTTON 2
17 #define LIB_BUTTON1_PINOUT {GPIOB, GPIO_Pin_6}
18 #define LIB_BUTTON2_PINOUT {GPIOB, GPIO_Pin_7}
20 #define LIB_USE_BUZZER 1
21 #define LIB_BUZZER1_PINOUT {GPIOB, GPIO_Pin_0}
23 #define LIB_USE_UART 1
24 #define LIB_UART1_TX_PINOUT {GPIOA, GPIO_Pin_9}
25 #define LIB_UART1_RX_PINOUT {GPIOA, GPIO_Pin_10}
28 #define LIB_TFT1_SCK_PINOUT {GPIOA, GPIO_Pin_5}
29 #define LIB_TFT1_MISO_PINOUT {GPIOA, GPIO_Pin_6}
30 #define LIB_TFT1_MOSI_PINOUT {GPIOA, GPIO_Pin_7}
31 #define LIB_TFT1_SS_PINOUT {GPIOA, GPIO_Pin_4}
32 #define LIB_TFT1_DEPS {TFT1, RCC_APB2Periph_TFT1, LIB_TFT1_SCK_PINOUT, LIB_TFT1_MISO_PINOUT, LIB_TFT1_MOSI_PINOUT, LIB_TFT1_SS_PINOUT}
34 #endif // STM32F103_CONFIG_TEST_CONFIG_H_