Peripheral MCU configuration for the WeAct-F411CE Board.
More...
#include "periph_cpu.h"
#include "clk_conf.h"
#include "cfg_i2c1_pb8_pb9.h"
#include "cfg_timer_tim5.h"
#include "cfg_usb_otg_fs.h"
Go to the source code of this file.
#define | CONFIG_BOARD_HAS_LSE 1 |
|
#define | CONFIG_BOARD_HAS_HSE 1 |
|
#define | CLOCK_HSE MHZ(25) |
|
|
Note that we do not configure all ADC channels, and not in the STM32F411 order.
Feel free to add more if needed.
|
#define | ADC_NUMOF ARRAY_SIZE(adc_config) |
|
static const adc_conf_t | adc_config [] |
|
◆ adc_config
◆ pwm_config
Initial value:= {
{
.dev = TIM2,
.rcc_mask = RCC_APB1ENR_TIM2EN,
},
{
.dev = TIM3,
.rcc_mask = RCC_APB1ENR_TIM3EN,
},
}
Definition at line 94 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.dev = USART2,
.rcc_mask = RCC_APB1ENR_USART2EN,
.irqn = USART2_IRQn,
},
{
.dev = USART1,
.rcc_mask = RCC_APB2ENR_USART1EN,
.irqn = USART1_IRQn,
},
}
Definition at line 52 of file periph_conf.h.