Siphon Regulator 1.0
Nanosattelite attitude determination and control system.
Loading...
Searching...
No Matches
stm32f1xx_hal_msp.c File Reference

This file provides code for the MSP Initialization and de-Initialization codes. More...

#include "main.h"

Go to the source code of this file.

Functions

void HAL_MspInit (void)
 
void HAL_SPI_MspInit (SPI_HandleTypeDef *hspi)
 SPI MSP Initialization This function configures the hardware resources used in this example.
 
void HAL_SPI_MspDeInit (SPI_HandleTypeDef *hspi)
 SPI MSP De-Initialization This function freeze the hardware resources used in this example.
 
void HAL_UART_MspInit (UART_HandleTypeDef *huart)
 UART MSP Initialization This function configures the hardware resources used in this example.
 
void HAL_UART_MspDeInit (UART_HandleTypeDef *huart)
 UART MSP De-Initialization This function freeze the hardware resources used in this example.
 

Variables

DMA_HandleTypeDef hdma_usart1_rx
 

Detailed Description

This file provides code for the MSP Initialization and de-Initialization codes.

Attention

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

Definition in file stm32f1xx_hal_msp.c.

Function Documentation

◆ HAL_MspInit()

void HAL_MspInit ( void )

Initializes the Global MSP.

DISABLE: JTAG-DP Disabled and SW-DP Disabled

Definition at line 64 of file stm32f1xx_hal_msp.c.

◆ HAL_SPI_MspDeInit()

void HAL_SPI_MspDeInit ( SPI_HandleTypeDef * hspi)

SPI MSP De-Initialization This function freeze the hardware resources used in this example.

Parameters
hspiSPI handle pointer
Return values
None

SPI2 GPIO Configuration PB13 ------> SPI2_SCK PB14 ------> SPI2_MISO PB15 ------> SPI2_MOSI

Definition at line 132 of file stm32f1xx_hal_msp.c.

◆ HAL_SPI_MspInit()

void HAL_SPI_MspInit ( SPI_HandleTypeDef * hspi)

SPI MSP Initialization This function configures the hardware resources used in this example.

Parameters
hspiSPI handle pointer
Return values
None

SPI2 GPIO Configuration PB13 ------> SPI2_SCK PB14 ------> SPI2_MISO PB15 ------> SPI2_MOSI

Definition at line 91 of file stm32f1xx_hal_msp.c.

◆ HAL_UART_MspDeInit()

void HAL_UART_MspDeInit ( UART_HandleTypeDef * huart)

UART MSP De-Initialization This function freeze the hardware resources used in this example.

Parameters
huartUART handle pointer
Return values
None

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

Definition at line 219 of file stm32f1xx_hal_msp.c.

◆ HAL_UART_MspInit()

void HAL_UART_MspInit ( UART_HandleTypeDef * huart)

UART MSP Initialization This function configures the hardware resources used in this example.

Parameters
huartUART handle pointer
Return values
None

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

Definition at line 162 of file stm32f1xx_hal_msp.c.

Variable Documentation

◆ hdma_usart1_rx

DMA_HandleTypeDef hdma_usart1_rx
extern

Definition at line 54 of file main.c.