26 #ifndef CONFIG_BOARD_HAS_LSE
27 #define CONFIG_BOARD_HAS_LSE 1
31 #ifndef CONFIG_BOARD_HAS_HSE
32 #define CONFIG_BOARD_HAS_HSE 1
36 #define CLOCK_HSE MHZ(25)
38 #include "periph_cpu.h"
55 .rcc_mask = RCC_APB1ENR_USART2EN,
62 #ifdef MODULE_PERIPH_DMA
63 .dma = DMA_STREAM_UNDEF,
64 .dma_chan = UINT8_MAX,
69 .rcc_mask = RCC_APB2ENR_USART1EN,
76 #ifdef MODULE_PERIPH_DMA
77 .dma = DMA_STREAM_UNDEF,
78 .dma_chan = UINT8_MAX,
84 #define UART_0_ISR isr_usart2
85 #define UART_1_ISR isr_usart1
88 #define UART_NUMOF ARRAY_SIZE(uart_config)
97 .rcc_mask = RCC_APB1ENR_TIM2EN,
107 .rcc_mask = RCC_APB1ENR_TIM3EN,
117 #define PWM_NUMOF ARRAY_SIZE(pwm_config)
135 .rccmask = RCC_APB2ENR_SPI1EN,
148 .rccmask = RCC_APB1ENR_SPI2EN,
161 .rccmask = RCC_APB1ENR_SPI3EN,
166 #define SPI_NUMOF ARRAY_SIZE(spi_config)
185 #define ADC_NUMOF ARRAY_SIZE(adc_config)