23 #include "periph_cpu.h"
42 #define DMA_0_ISR isr_dma1_channel2
43 #define DMA_1_ISR isr_dma1_channel3
44 #define DMA_2_ISR isr_dma1_channel7
45 #define DMA_3_ISR isr_dma1_channel4
47 #define DMA_NUMOF ARRAY_SIZE(dma_config)
57 .rcc_mask = RCC_APB1ENR_USART2EN,
64 #ifdef MODULE_PERIPH_DMA
71 .rcc_mask = RCC_APB2ENR_USART1EN,
78 #ifdef MODULE_PERIPH_DMA
85 .rcc_mask = RCC_APB1ENR_USART3EN,
92 #ifdef MODULE_PERIPH_DMA
99 #define UART_0_ISR (isr_usart2)
100 #define UART_1_ISR (isr_usart1)
101 #define UART_2_ISR (isr_usart3)
103 #define UART_NUMOF ARRAY_SIZE(uart_config)
113 .rcc_mask = RCC_APB1ENR_TIM2EN,
123 .rcc_mask = RCC_APB1ENR_TIM3EN,
133 #define PWM_NUMOF ARRAY_SIZE(pwm_config)
151 .rccmask = RCC_APB2ENR_SPI1EN,
153 #ifdef MODULE_PERIPH_DMA
162 #define SPI_NUMOF ARRAY_SIZE(spi_config)
178 .rcc_mask = RCC_APB1ENR_I2C1EN,
190 .rcc_mask = RCC_APB1ENR_I2C2EN,
196 #define I2C_0_ISR isr_i2c1_ev
197 #define I2C_1_ISR isr_i2c2_ev
199 #define I2C_NUMOF ARRAY_SIZE(i2c_config)
215 #define ADC_NUMOF ARRAY_SIZE(adc_config)
227 #define DAC_NUMOF ARRAY_SIZE(dac_config)