Go to the documentation of this file.
23 #ifndef CONFIG_BOARD_HAS_LSE
24 #define CONFIG_BOARD_HAS_LSE 1
28 #ifndef CONFIG_BOARD_HAS_HSE
29 #define CONFIG_BOARD_HAS_HSE 1
32 #include "periph_cpu.h"
50 #define DMA_0_ISR isr_dma2_stream6
51 #define DMA_1_ISR isr_dma2_stream5
53 #define DMA_NUMOF ARRAY_SIZE(dma_config)
63 .rcc_mask = RCC_APB2ENR_USART1EN,
70 #ifdef MODULE_PERIPH_DMA
71 .dma = DMA_STREAM_UNDEF,
72 .dma_chan = UINT8_MAX,
77 #define UART_0_ISR (isr_usart1)
79 #define UART_NUMOF ARRAY_SIZE(uart_config)
97 .rccmask = RCC_APB2ENR_SPI5EN,
99 #ifdef MODULE_PERIPH_DMA
108 #define SPI_NUMOF ARRAY_SIZE(spi_config)
124 .rcc_mask = RCC_APB1ENR_I2C3EN,
126 .irqn = I2C3_EV_IRQn,
130 #define I2C_0_ISR isr_i2c3_ev
132 #define I2C_NUMOF ARRAY_SIZE(i2c_config)
@ GPIO_AF4
use alternate function 4
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
@ GPIO_AF5
use alternate function 5
int stream
DMA stream on stm32f2/4/7, channel on others STM32F2/4/7:
Common configuration for STM32 Timer peripheral based on TIM5.
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
UART device configuration.
cc2538_uart_t * dev
pointer to the used UART device
Common configuration for STM32 OTG HS peripheral with FS phy.
@ GPIO_AF7
use alternate function 7
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
I2C configuration options.
SPI_Type * dev
SPI device to use.
SPI configuration structure type.
I2C_TypeDef * dev
USART device used.