SmartBar
Loading...
Searching...
No Matches
stm32f3xx_hal_msp.c File Reference

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

#include "main.h"

Functions

void HAL_TIM_MspPostInit (TIM_HandleTypeDef *htim)
 
void HAL_MspInit (void)
 
void HAL_TIM_PWM_MspInit (TIM_HandleTypeDef *htim_pwm)
 TIM_PWM MSP Initialization This function configures the hardware resources used in this example.
 
void HAL_TIM_Base_MspInit (TIM_HandleTypeDef *htim_base)
 TIM_Base MSP Initialization This function configures the hardware resources used in this example.
 
void HAL_TIM_PWM_MspDeInit (TIM_HandleTypeDef *htim_pwm)
 TIM_PWM MSP De-Initialization This function freeze the hardware resources used in this example.
 
void HAL_TIM_Base_MspDeInit (TIM_HandleTypeDef *htim_base)
 TIM_Base 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.
 

Detailed Description

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

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_MspInit()

void HAL_MspInit ( void )

Initializes the Global MSP.

◆ HAL_TIM_Base_MspDeInit()

void HAL_TIM_Base_MspDeInit ( TIM_HandleTypeDef * htim_base)

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

Parameters
htim_baseTIM_Base handle pointer
Return values
None

TIM16 GPIO Configuration PA6 ------> TIM16_CH1

◆ HAL_TIM_Base_MspInit()

void HAL_TIM_Base_MspInit ( TIM_HandleTypeDef * htim_base)

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

Parameters
htim_baseTIM_Base handle pointer
Return values
None

TIM16 GPIO Configuration PA6 ------> TIM16_CH1

◆ HAL_TIM_MspPostInit()

void HAL_TIM_MspPostInit ( TIM_HandleTypeDef * htim)

TIM3 GPIO Configuration PC7 ------> TIM3_CH2

TIM15 GPIO Configuration PB14 ------> TIM15_CH1

TIM17 GPIO Configuration PB9 ------> TIM17_CH1

◆ HAL_TIM_PWM_MspDeInit()

void HAL_TIM_PWM_MspDeInit ( TIM_HandleTypeDef * htim_pwm)

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

Parameters
htim_pwmTIM_PWM handle pointer
Return values
None

◆ HAL_TIM_PWM_MspInit()

void HAL_TIM_PWM_MspInit ( TIM_HandleTypeDef * htim_pwm)

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

Parameters
htim_pwmTIM_PWM handle pointer
Return values
None

◆ 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

USART2 GPIO Configuration PA2 ------> USART2_TX PA3 ------> USART2_RX

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

◆ 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

USART2 GPIO Configuration PA2 ------> USART2_TX PA3 ------> USART2_RX

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