24 #ifndef CONFIG_BOARD_HAS_LSE
25 #define CONFIG_BOARD_HAS_LSE 1
29 #ifndef CONFIG_BOARD_HAS_HSE
30 #define CONFIG_BOARD_HAS_HSE 1
33 #include "periph_cpu.h"
60 #define ADC_NUMOF ARRAY_SIZE(adc_config)
74 #define DMA_0_ISR isr_dma1_channel2
75 #define DMA_1_ISR isr_dma1_channel3
76 #define DMA_2_ISR isr_dma1_channel4
77 #define DMA_3_ISR isr_dma1_channel7
78 #define DMA_NUMOF ARRAY_SIZE(dma_config)
88 .rcc_mask = RCC_APB1ENR_USART2EN,
95 #ifdef MODULE_PERIPH_DMA
102 .rcc_mask = RCC_APB2ENR_USART1EN,
109 #ifdef MODULE_PERIPH_DMA
116 #if !defined(MODULE_PERIPH_SPI) || !defined(MODULE_PERIPH_DMA)
119 .rcc_mask = RCC_APB1ENR_USART3EN,
126 #ifdef MODULE_PERIPH_DMA
134 #define UART_0_ISR (isr_usart2)
135 #define UART_1_ISR (isr_usart1)
136 #define UART_2_ISR (isr_usart3)
138 #define UART_NUMOF ARRAY_SIZE(uart_config)
148 .rcc_mask = RCC_APB1ENR_TIM3EN,
158 #define PWM_NUMOF ARRAY_SIZE(pwm_config)
176 .rccmask = RCC_APB2ENR_SPI1EN,
178 #ifdef MODULE_PERIPH_DMA
187 #define SPI_NUMOF ARRAY_SIZE(spi_config)