24 #ifndef CONFIG_BOARD_HAS_HSE
25 #define CONFIG_BOARD_HAS_HSE 1
28 #include "periph_cpu.h"
47 #define DMA_0_ISR isr_dma2_stream3
48 #define DMA_1_ISR isr_dma2_stream2
49 #define DMA_2_ISR isr_dma1_stream4
50 #define DMA_3_ISR isr_dma1_stream3
52 #define DMA_NUMOF ARRAY_SIZE(dma_config)
63 .rcc_mask = RCC_APB1ENR_TIM2EN,
70 .rcc_mask = RCC_APB1ENR_TIM5EN,
76 #define TIMER_0_ISR isr_tim2
77 #define TIMER_1_ISR isr_tim5
79 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
89 .rcc_mask = RCC_APB1ENR_USART2EN,
96 #ifdef MODULE_PERIPH_DMA
97 .dma = DMA_STREAM_UNDEF,
98 .dma_chan = UINT8_MAX,
103 .rcc_mask = RCC_APB1ENR_USART3EN,
110 #ifdef MODULE_PERIPH_DMA
111 .dma = DMA_STREAM_UNDEF,
112 .dma_chan = UINT8_MAX,
117 #define UART_0_ISR (isr_usart2)
118 #define UART_1_ISR (isr_usart3)
120 #define UART_NUMOF ARRAY_SIZE(uart_config)
137 #define ADC_NUMOF ARRAY_SIZE(adc_config)
149 #define DAC_NUMOF ARRAY_SIZE(dac_config)
159 .rcc_mask = RCC_APB2ENR_TIM1EN,
169 .rcc_mask = RCC_APB1ENR_TIM3EN,
179 #define PWM_NUMOF ARRAY_SIZE(pwm_config)
197 .rccmask = RCC_APB2ENR_SPI1EN,
199 #ifdef MODULE_PERIPH_DMA
216 .rccmask = RCC_APB1ENR_SPI2EN,
218 #ifdef MODULE_PERIPH_DMA
227 #define SPI_NUMOF ARRAY_SIZE(spi_config)
243 .rcc_mask = RCC_APB1ENR_I2C1EN,
249 #define I2C_0_ISR isr_i2c1_ev
251 #define I2C_NUMOF ARRAY_SIZE(i2c_config)