23 #ifndef CONFIG_BOARD_HAS_LSE
24 #define CONFIG_BOARD_HAS_LSE 1
28 #ifndef CONFIG_BOARD_HAS_HSE
29 #define CONFIG_BOARD_HAS_HSE 1
31 #define CLOCK_HSE MHZ(16)
33 #include "periph_cpu.h"
48 .rcc_mask = RCC_APB1ENR_TIM2EN,
55 .rcc_mask = RCC_APB1ENR_TIM3EN,
61 #define TIMER_0_ISR isr_tim2
62 #define TIMER_1_ISR isr_tim3
64 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
74 .rcc_mask = RCC_APB1ENR_USART2EN,
82 .rcc_mask = RCC_APB2ENR_USART1EN,
90 #define UART_0_ISR (isr_usart2)
91 #define UART_1_ISR (isr_usart1)
93 #define UART_NUMOF ARRAY_SIZE(uart_config)
107 .rccmask = RCC_APB1ENR_SPI2EN,
112 #define SPI_NUMOF ARRAY_SIZE(spi_config)
119 #ifndef RTT_FREQUENCY
120 #define RTT_FREQUENCY (1)
135 .rcc_mask = RCC_APB1ENR_I2C1EN,
141 #define I2C_0_ISR isr_i2c1_ev
143 #define I2C_NUMOF ARRAY_SIZE(i2c_config)