27 #ifndef CONFIG_BOARD_HAS_LSE
28 #define CONFIG_BOARD_HAS_LSE 1
32 #ifndef CONFIG_BOARD_HAS_HSE
33 #define CONFIG_BOARD_HAS_HSE 1
36 #include "periph_cpu.h"
63 #define ADC_NUMOF ARRAY_SIZE(adc_config)
73 .rcc_mask = RCC_APB1ENR_USART2EN,
83 .rcc_mask = RCC_APB2ENR_USART1EN,
93 .rcc_mask = RCC_APB1ENR_USART3EN,
103 #define UART_0_ISR (isr_usart2)
104 #define UART_1_ISR (isr_usart1)
105 #define UART_2_ISR (isr_usart3)
107 #define UART_NUMOF ARRAY_SIZE(uart_config)
117 .rcc_mask = RCC_APB2ENR_TIM16EN,
127 #define PWM_NUMOF ARRAY_SIZE(pwm_config)
145 .rccmask = RCC_APB1ENR_SPI2EN,
150 #define SPI_NUMOF ARRAY_SIZE(spi_config)
166 .rcc_mask = RCC_APB1ENR_I2C1EN,
167 .rcc_sw_mask = RCC_CFGR3_I2C1SW,
178 .rcc_mask = RCC_APB1ENR_I2C3EN,
179 .rcc_sw_mask = RCC_CFGR3_I2C3SW,
184 #define I2C_0_ISR isr_i2c1_er
185 #define I2C_1_ISR isr_i2c3_er
187 #define I2C_NUMOF ARRAY_SIZE(i2c_config)