Avalon Firmware
 
Loading...
Searching...
No Matches
usart.c File Reference

This file provides code for the configuration of the USART instances. More...

#include "usart.h"

Functions

void MX_UART4_Init (void)
 
void MX_UART5_Init (void)
 
void MX_USART1_UART_Init (void)
 
void MX_USART3_UART_Init (void)
 
void HAL_UART_MspInit (UART_HandleTypeDef *uartHandle)
 
void HAL_UART_MspDeInit (UART_HandleTypeDef *uartHandle)
 

Variables

UART_HandleTypeDef huart4
 
UART_HandleTypeDef huart5
 
UART_HandleTypeDef huart1
 
UART_HandleTypeDef huart3
 

Detailed Description

This file provides code for the configuration of the USART instances.

Attention

Copyright (c) 2024 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Function Documentation

◆ HAL_UART_MspDeInit()

void HAL_UART_MspDeInit ( UART_HandleTypeDef * uartHandle)

UART4 GPIO Configuration PC10 ------> UART4_TX PC11 ------> UART4_RX

UART5 GPIO Configuration PC12 ------> UART5_TX PD2 ------> UART5_RX

USART1 GPIO Configuration PC4 ------> USART1_TX PC5 ------> USART1_RX

USART3 GPIO Configuration PB10 ------> USART3_TX PB11 ------> USART3_RX

◆ HAL_UART_MspInit()

void HAL_UART_MspInit ( UART_HandleTypeDef * uartHandle)

Initializes the peripherals clocks

UART4 GPIO Configuration PC10 ------> UART4_TX PC11 ------> UART4_RX

Initializes the peripherals clocks

UART5 GPIO Configuration PC12 ------> UART5_TX PD2 ------> UART5_RX

Initializes the peripherals clocks

USART1 GPIO Configuration PC4 ------> USART1_TX PC5 ------> USART1_RX

Initializes the peripherals clocks

USART3 GPIO Configuration PB10 ------> USART3_TX PB11 ------> USART3_RX

◆ MX_UART4_Init()

void MX_UART4_Init ( void )

◆ MX_UART5_Init()

void MX_UART5_Init ( void )

◆ MX_USART1_UART_Init()

void MX_USART1_UART_Init ( void )

◆ MX_USART3_UART_Init()

void MX_USART3_UART_Init ( void )

Variable Documentation

◆ huart1

UART_HandleTypeDef huart1

◆ huart3

UART_HandleTypeDef huart3

◆ huart4

UART_HandleTypeDef huart4

◆ huart5

UART_HandleTypeDef huart5