RTEMS 7.0-rc1
Loading...
Searching...
No Matches
Variables
console-usart2.c File Reference

STM32U5 USART2 instance. More...

#include <stm32u5/hal.h>

Variables

stm32u5_uart_context stm32u5_usart2_instance
 

Detailed Description

STM32U5 USART2 instance.

Variable Documentation

◆ stm32u5_usart2_instance

stm32u5_uart_context stm32u5_usart2_instance
Initial value:
= {
.uart =
{ .Instance = USART2,
.Init.BaudRate = BSP_CONSOLE_BAUD,
.Init.WordLength = UART_WORDLENGTH_8B,
.Init.StopBits = UART_STOPBITS_1,
.Init.Parity = UART_PARITY_NONE,
.Init.Mode = UART_MODE_TX_RX,
.Init.HwFlowCtl = UART_HWCONTROL_NONE,
.Init.OverSampling = UART_OVERSAMPLING_16,
.Init.OneBitSampling = UART_ONE_BIT_SAMPLE_DISABLE,
.Init.ClockPrescaler = UART_PRESCALER_DIV1,
.AdvancedInit.AdvFeatureInit = UART_ADVFEATURE_NO_INIT },
.config = &stm32u5_usart2_config
}