23 #ifndef CONFIG_BOARD_HAS_HSE
24 #define CONFIG_BOARD_HAS_HSE 1
28 #define CLOCK_HSE MHZ(16)
30 #include "periph_cpu.h"
46 #define DMA_0_ISR isr_dma2_stream3
47 #define DMA_1_ISR isr_dma2_stream2
49 #define DMA_NUMOF ARRAY_SIZE(dma_config)
60 .rcc_mask = RCC_APB1ENR_TIM2EN,
67 .rcc_mask = RCC_APB1ENR_TIM5EN,
73 #define TIMER_0_ISR isr_tim2
74 #define TIMER_1_ISR isr_tim5
76 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
86 .rcc_mask = RCC_APB2ENR_TIM11EN,
96 #define PWM_NUMOF ARRAY_SIZE(pwm_config)
111 #define ADC_NUMOF ARRAY_SIZE(adc_config)
123 #define DAC_NUMOF ARRAY_SIZE(dac_config)
133 .rcc_mask = RCC_APB1ENR_USART2EN,
140 #ifdef MODULE_PERIPH_DMA
141 .dma = DMA_STREAM_UNDEF,
142 .dma_chan = UINT8_MAX,
147 .rcc_mask = RCC_APB2ENR_USART1EN,
154 #ifdef MODULE_PERIPH_DMA
155 .dma = DMA_STREAM_UNDEF,
156 .dma_chan = UINT8_MAX,
161 .rcc_mask = RCC_APB1ENR_USART3EN,
168 #ifdef MODULE_PERIPH_DMA
169 .dma = DMA_STREAM_UNDEF,
170 .dma_chan = UINT8_MAX,
176 #define UART_0_ISR (isr_usart2)
177 #define UART_1_ISR (isr_usart1)
178 #define UART_2_ISR (isr_usart3)
181 #define UART_NUMOF ARRAY_SIZE(uart_config)
199 .rccmask = RCC_APB2ENR_SPI1EN,
201 #ifdef MODULE_PERIPH_DMA
210 #define SPI_NUMOF ARRAY_SIZE(spi_config)
226 .rcc_mask = RCC_APB1ENR_I2C1EN,
232 #define I2C_0_ISR isr_i2c1_ev
234 #define I2C_NUMOF ARRAY_SIZE(i2c_config)