periph_conf.h File Reference

Board specific implementations for the STM32MP157C-DK2 board. More...

Detailed Description

Board specific implementations for the STM32MP157C-DK2 board.

Author
Gilles DOFFE gille.nosp@m.s.do.nosp@m.ffe@s.nosp@m.avoi.nosp@m.rfair.nosp@m.elin.nosp@m.ux.co.nosp@m.m

Definition in file periph_conf.h.

#include "periph_cpu.h"
#include "clk_conf.h"
#include "cfg_timer_tim2.h"
+ Include dependency graph for periph_conf.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define CONFIG_BOARD_HAS_LSE   1
 
#define CONFIG_BOARD_HAS_HSE   1
 

UART configuration

#define UART_0_ISR   (isr_usart3)
 
#define UART_0_DMA_ISR   (isr_dma1_stream4)
 
#define UART_NUMOF   ARRAY_SIZE(uart_config)
 
static const uart_conf_t uart_config []
 

Variable Documentation

◆ uart_config

const uart_conf_t uart_config[]
static
Initial value:
= {
{
.dev = USART3,
.rcc_mask = RCC_MC_APB1ENSETR_USART3EN,
.rx_pin = GPIO_PIN(PORT_B, 12),
.tx_pin = GPIO_PIN(PORT_B, 10),
.rx_af = GPIO_AF8,
.tx_af = GPIO_AF7,
.bus = APB1,
.irqn = USART3_IRQn,
.type = STM32_USART,
.clk_src = RCC_UART35CKSELR_UART35SRC_2,
},
}

Definition at line 44 of file periph_conf.h.

GPIO_AF8
@ GPIO_AF8
use alternate function 8
Definition: periph_cpu_common.h:94
STM32_USART
@ STM32_USART
STM32 USART module type.
Definition: periph_cpu.h:583
GPIO_AF7
@ GPIO_AF7
use alternate function 7
Definition: periph_cpu_common.h:93
GPIO_PIN
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
Definition: periph_cpu.h:35
PORT_B
@ PORT_B
port B
Definition: periph_cpu.h:37
APB1
@ APB1
APB1 bus.
Definition: periph_cpu.h:176