23 #ifndef CONFIG_BOARD_HAS_HSE
24 #define CONFIG_BOARD_HAS_HSE 1
28 #ifndef CONFIG_BOARD_HAS_LSE
29 #define CONFIG_BOARD_HAS_LSE 1
32 #include "periph_cpu.h"
49 #define DMA_SHARED_ISR_0 isr_dma1_ch2_3_dma2_ch1_2
50 #define DMA_SHARED_ISR_0_STREAMS { 0, 1 }
52 #define DMA_NUMOF ARRAY_SIZE(dma_config)
63 .rcc_mask = RCC_APB2ENR_TIM1EN,
69 #define TIMER_0_ISR isr_tim1_cc
71 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
81 .rcc_mask = RCC_APB1ENR_USART2EN,
88 #ifdef MODULE_PERIPH_DMA
95 .rcc_mask = RCC_APB2ENR_USART1EN,
102 #ifdef MODULE_PERIPH_DMA
109 .rcc_mask = RCC_APB1ENR_USART3EN,
115 .irqn = USART3_8_IRQn,
116 #ifdef MODULE_PERIPH_DMA
123 #define UART_0_ISR (isr_usart2)
124 #define UART_1_ISR (isr_usart1)
125 #define UART_2_ISR (isr_usart3_8)
127 #define UART_NUMOF ARRAY_SIZE(uart_config)
146 .rccmask = RCC_APB2ENR_SPI1EN,
148 #ifdef MODULE_PERIPH_DMA
157 #define SPI_NUMOF ARRAY_SIZE(spi_config)
167 .rcc_mask = RCC_APB1ENR_TIM2EN,
177 .rcc_mask = RCC_APB1ENR_TIM3EN,
187 #define PWM_NUMOF ARRAY_SIZE(pwm_config)
203 #define ADC_NUMOF ARRAY_SIZE(adc_config)