20#ifndef CONFIG_BOARD_HAS_LSE 
   21#define CONFIG_BOARD_HAS_LSE            1 
   25#ifndef CONFIG_BOARD_HAS_HSE 
   26#define CONFIG_BOARD_HAS_HSE            1 
   29#ifndef CONFIG_CLOCK_HSE 
   30#define CONFIG_CLOCK_HSE                       MHZ(32) 
   33#include "periph_cpu.h" 
   35#include "cfg_rtt_default.h" 
   49        .rcc_mask   = RCC_APB2ENR_USART1EN,
 
   61        .rcc_mask   = RCC_APB1ENR1_USART2EN,
 
   73        .rcc_mask   = RCC_APB1ENR2_LPUART1EN,
 
   85#define UART_0_ISR          isr_usart1 
   86#define UART_1_ISR          isr_usart2 
   87#define UART_2_ISR          isr_lpuart1 
   89#define UART_NUMOF          ARRAY_SIZE(uart_config) 
  106        .rccmask  = RCC_APB3ENR_SUBGHZSPIEN,
 
  110#if !IS_ACTIVE(CONFIG_STM32_WLX5XX) 
  121        .rccmask  = RCC_APB1ENR1_SPI2EN,
 
  127#define SPI_NUMOF           ARRAY_SIZE(spi_config) 
  143        .rcc_mask       = RCC_APB1ENR1_I2C2EN,
 
  144        .rcc_sw_mask    = RCC_CCIPR_I2C2SEL_1,      
 
  145        .irqn           = I2C2_ER_IRQn,
 
  149#define I2C_1_ISR           isr_i2c2_er 
  151#define I2C_NUMOF           ARRAY_SIZE(i2c_config) 
  164#define VBAT_ADC            ADC_LINE(2)  
  165#define ADC_NUMOF           ARRAY_SIZE(adc_config) 
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
 
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
 
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
 
Common configuration for STM32 Timer peripheral based on TIM2.
 
@ GPIO_AF5
use alternate function 5
 
@ GPIO_AF4
use alternate function 4
 
@ GPIO_AF8
use alternate function 8
 
@ GPIO_AF_UNDEF
an UNDEF value definition, e.g.
 
@ GPIO_AF7
use alternate function 7
 
@ STM32_LPUART
STM32 Low-power UART (LPUART) module type.
 
@ STM32_USART
STM32 USART module type.
 
#define SPI_CS_UNDEF
Define value for unused CS line.
 
@ APB1
Advanced Peripheral Bus 1.
 
@ APB2
Advanced Peripheral Bus 2.
 
ADC device configuration.
 
I2C configuration structure.
 
SPI device configuration.
 
UART device configuration.