Basic_Frame_TypeC_2023_Omni
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_USART1_UART_Init (void)
void MX_USART3_UART_Init (void)
void MX_USART6_UART_Init (void)
void HAL_UART_MspInit (UART_HandleTypeDef *uartHandle)
void HAL_UART_MspDeInit (UART_HandleTypeDef *uartHandle)

Variables

UART_HandleTypeDef huart1
UART_HandleTypeDef huart3
UART_HandleTypeDef huart6
DMA_HandleTypeDef hdma_usart1_rx
DMA_HandleTypeDef hdma_usart1_tx
DMA_HandleTypeDef hdma_usart3_rx
DMA_HandleTypeDef hdma_usart6_rx
DMA_HandleTypeDef hdma_usart6_tx

Detailed Description

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

Attention

Copyright (c) 2023 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)

USART1 GPIO Configuration PB7 ------> USART1_RX PA9 ------> USART1_TX

USART3 GPIO Configuration PC11 ------> USART3_RX PC10 ------> USART3_TX

USART6 GPIO Configuration PG14 ------> USART6_TX PG9 ------> USART6_RX

◆ HAL_UART_MspInit()

void HAL_UART_MspInit ( UART_HandleTypeDef * uartHandle)

USART1 GPIO Configuration PB7 ------> USART1_RX PA9 ------> USART1_TX

USART3 GPIO Configuration PC11 ------> USART3_RX PC10 ------> USART3_TX

USART6 GPIO Configuration PG14 ------> USART6_TX PG9 ------> USART6_RX