Minimal peripheral configuration for STM32U385 (bring-up)
More...
Minimal peripheral configuration for STM32U385 (bring-up)
- Author
- Adarsh Nair Mullachery adars.nosp@m.h.mu.nosp@m.llach.nosp@m.ery@.nosp@m.tuhh..nosp@m.de
Definition in file periph_conf.h.
#include "periph_cpu.h"
#include "clk_conf.h"
Go to the source code of this file.
◆ CONFIG_BOARD_HAS_LSE
| #define CONFIG_BOARD_HAS_LSE 1 |
◆ TIMER_0_ISR
| #define TIMER_0_ISR isr_tim3 |
◆ TIMER_NUMOF
◆ UART_0_ISR
| #define UART_0_ISR (isr_usart1) |
◆ UART_1_ISR
◆ UART_NUMOF
◆ timer_config
Initial value:= {
{
.dev = TIM3,
.max = 0xffffffff,
.rcc_mask = RCC_APB1ENR1_TIM3EN,
.irqn = TIM3_IRQn,
}
}
@ APB1
Advanced Peripheral Bus 1.
Definition at line 36 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.dev = USART1,
.rcc_mask = RCC_APB2ENR_USART1EN,
.irqn = USART1_IRQn,
.clk_src = 0,
},
{
.dev = LPUART1,
.rcc_mask = RCC_APB3ENR_LPUART1EN,
.bus = APB3,
.irqn = LPUART1_IRQn,
.clk_src = 0,
}
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
@ GPIO_AF8
use alternate function 8
@ GPIO_AF7
use alternate function 7
@ STM32_LPUART
STM32 Low-power UART (LPUART) module type.
@ STM32_USART
STM32 USART module type.
@ APB2
Advanced Peripheral Bus 2.
Definition at line 55 of file periph_conf.h.