Peripheral MCU configuration for the STM32L476G-DISCO board.
More...
Peripheral MCU configuration for the STM32L476G-DISCO board.
- Author
- Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr
Definition in file periph_conf.h.
#include "periph_cpu.h"
#include "clk_conf.h"
#include "cfg_rtt_default.h"
#include "cfg_usb_otg_fs.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_tim5 |
◆ TIMER_NUMOF
◆ UART_0_ISR
#define UART_0_ISR (isr_usart2) |
◆ UART_NUMOF
◆ timer_config
Initial value:= {
{
.dev = TIM5,
.max = 0xffffffff,
.rcc_mask = RCC_APB1ENR1_TIM5EN,
.irqn = TIM5_IRQn
}
}
@ APB1
Advanced Peripheral Bus 1
Definition at line 40 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.dev = USART2,
.rcc_mask = RCC_APB1ENR1_USART2EN,
.irqn = USART2_IRQn,
.clk_src = 0,
}
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
@ GPIO_AF7
use alternate function 7
@ STM32_USART
STM32 USART module type.
Definition at line 59 of file periph_conf.h.