23 #ifndef CONFIG_BOARD_HAS_HSE
24 #define CONFIG_BOARD_HAS_HSE 1
27 #include "periph_cpu.h"
42 #define DAC_NUMOF ARRAY_SIZE(dac_config)
53 .rcc_mask = RCC_APB1ENR_TIM2EN,
59 #define TIMER_0_ISR isr_tim2
61 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
71 .rcc_mask = RCC_APB2ENR_USART1EN,
81 .rcc_mask = RCC_APB1ENR_USART2EN,
91 .rcc_mask = RCC_APB1ENR_USART3EN,
101 #define UART_0_ISR (isr_usart1)
102 #define UART_1_ISR (isr_usart2)
103 #define UART_2_ISR (isr_usart3)
105 #define UART_NUMOF ARRAY_SIZE(uart_config)
115 .rcc_mask = RCC_APB1ENR_TIM3EN,
125 .rcc_mask = RCC_APB1ENR_TIM4EN,
135 #define PWM_NUMOF ARRAY_SIZE(pwm_config)
153 .rccmask = RCC_APB2ENR_SPI1EN,
166 .rccmask = RCC_APB1ENR_SPI3EN,
171 #define SPI_NUMOF ARRAY_SIZE(spi_config)
187 .rcc_mask = RCC_APB1ENR_I2C1EN,
188 .rcc_sw_mask = RCC_CFGR3_I2C1SW,
199 .rcc_mask = RCC_APB1ENR_I2C2EN,
200 .rcc_sw_mask = RCC_CFGR3_I2C2SW,
205 #define I2C_0_ISR isr_i2c1_er
206 #define I2C_1_ISR isr_i2c2_er
208 #define I2C_NUMOF ARRAY_SIZE(i2c_config)