minipix_uart_interface
A library and examples for the MiniPIX UART interface
|
This file provides code for the MSP Initialization and de-Initialization codes. More...
#include "main.h"
Functions | |
void | HAL_MspInit (void) |
void | HAL_UART_MspInit (UART_HandleTypeDef *huart) |
UART MSP Initialization This function configures the hardware resources used in this example. More... | |
void | HAL_UART_MspDeInit (UART_HandleTypeDef *huart) |
UART MSP De-Initialization This function freeze the hardware resources used in this example. More... | |
Variables | |
DMA_HandleTypeDef | hdma_usart1_rx |
DMA_HandleTypeDef | hdma_usart2_rx |
DMA_HandleTypeDef | hdma_usart6_rx |
This file provides code for the MSP Initialization and de-Initialization codes.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
void HAL_MspInit | ( | void | ) |
Initializes the Global MSP.
void HAL_UART_MspDeInit | ( | UART_HandleTypeDef * | huart | ) |
UART MSP De-Initialization This function freeze the hardware resources used in this example.
huart | UART handle pointer |
None |
USART1 GPIO Configuration PA9 ---—> USART1_TX PA10 ---—> USART1_RX
USART2 GPIO Configuration PA2 ---—> USART2_TX PA3 ---—> USART2_RX
USART6 GPIO Configuration PC6 ---—> USART6_TX PC7 ---—> USART6_RX
void HAL_UART_MspInit | ( | UART_HandleTypeDef * | huart | ) |
UART MSP Initialization This function configures the hardware resources used in this example.
huart | UART handle pointer |
None |
USART1 GPIO Configuration PA9 ---—> USART1_TX PA10 ---—> USART1_RX
USART2 GPIO Configuration PA2 ---—> USART2_TX PA3 ---—> USART2_RX
USART6 GPIO Configuration PC6 ---—> USART6_TX PC7 ---—> USART6_RX
DMA_HandleTypeDef hdma_usart1_rx |
DMA_HandleTypeDef hdma_usart2_rx |
DMA_HandleTypeDef hdma_usart6_rx |