25 #ifndef CONFIG_BOARD_HAS_LSE
26 #define CONFIG_BOARD_HAS_LSE 1
30 #ifndef CONFIG_BOARD_HAS_HSE
31 #define CONFIG_BOARD_HAS_HSE 1
34 #include "periph_cpu.h"
61 #define ADC_NUMOF ARRAY_SIZE(adc_config)
71 .rcc_mask = RCC_APB1ENR_USART2EN,
81 .rcc_mask = RCC_APB2ENR_USART1EN,
91 .rcc_mask = RCC_APB1ENR_USART3EN,
101 #define UART_0_ISR (isr_usart2)
102 #define UART_1_ISR (isr_usart1)
103 #define UART_2_ISR (isr_usart3)
105 #define UART_NUMOF ARRAY_SIZE(uart_config)
115 .rcc_mask = RCC_APB1ENR_TIM3EN,
125 #define PWM_NUMOF ARRAY_SIZE(pwm_config)
143 .rccmask = RCC_APB2ENR_SPI1EN,
156 .rccmask = RCC_APB1ENR_SPI2EN,
169 .rccmask = RCC_APB1ENR_SPI3EN,
174 #define SPI_NUMOF ARRAY_SIZE(spi_config)
190 .rcc_mask = RCC_APB1ENR_I2C1EN,
191 .rcc_sw_mask = RCC_CFGR3_I2C1SW,
202 .rcc_mask = RCC_APB1ENR_I2C3EN,
203 .rcc_sw_mask = RCC_CFGR3_I2C3SW,
208 #define I2C_0_ISR isr_i2c1_er
209 #define I2C_1_ISR isr_i2c3_er
211 #define I2C_NUMOF ARRAY_SIZE(i2c_config)