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
32 #include "periph_cpu.h"
59 #define ADC_NUMOF ARRAY_SIZE(adc_config)
69 .rcc_mask = RCC_APB1ENR_USART3EN,
83 .rcc_mask = RCC_APB2ENR_USART1EN,
97 .rcc_mask = RCC_APB1ENR_USART2EN,
111 #define UART_0_ISR (isr_usart3)
112 #define UART_0_DMA_ISR (isr_dma1_stream6)
113 #define UART_1_ISR (isr_usart1)
114 #define UART_1_DMA_ISR (isr_dma1_stream5)
115 #define UART_2_ISR (isr_usart2)
116 #define UART_2_DMA_ISR (isr_dma1_stream4)
118 #define UART_NUMOF ARRAY_SIZE(uart_config)
128 .rcc_mask = RCC_APB2ENR_TIM1EN,
138 .rcc_mask = RCC_APB1ENR_TIM4EN,
148 #define PWM_NUMOF ARRAY_SIZE(pwm_config)
166 .rccmask = RCC_APB2ENR_SPI1EN,
171 #define SPI_NUMOF ARRAY_SIZE(spi_config)