CubeMon-Vue-Demo-STM32F407VGT6U
stm32f4xx_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_ADC_MspInit (ADC_HandleTypeDef *hadc)
 ADC MSP Initialization This function configures the hardware resources used in this example. More...
 
void HAL_ADC_MspDeInit (ADC_HandleTypeDef *hadc)
 ADC MSP De-Initialization This function freeze the hardware resources used in this example. More...
 
void HAL_DAC_MspInit (DAC_HandleTypeDef *hdac)
 DAC MSP Initialization This function configures the hardware resources used in this example. More...
 
void HAL_DAC_MspDeInit (DAC_HandleTypeDef *hdac)
 DAC MSP De-Initialization This function freeze the hardware resources used in this example. More...
 
void HAL_I2C_MspInit (I2C_HandleTypeDef *hi2c)
 I2C MSP Initialization This function configures the hardware resources used in this example. More...
 
void HAL_I2C_MspDeInit (I2C_HandleTypeDef *hi2c)
 I2C MSP De-Initialization This function freeze the hardware resources used in this example. More...
 
void HAL_TIM_PWM_MspInit (TIM_HandleTypeDef *htim_pwm)
 TIM_PWM MSP Initialization This function configures the hardware resources used in this example. More...
 
void HAL_TIM_Base_MspInit (TIM_HandleTypeDef *htim_base)
 TIM_Base MSP Initialization This function configures the hardware resources used in this example. More...
 
void HAL_TIM_PWM_MspDeInit (TIM_HandleTypeDef *htim_pwm)
 TIM_PWM MSP De-Initialization This function freeze the hardware resources used in this example. More...
 
void HAL_TIM_Base_MspDeInit (TIM_HandleTypeDef *htim_base)
 TIM_Base MSP De-Initialization This function freeze the hardware resources used in this example. More...
 

Variables

DMA_HandleTypeDef hdma_adc1
 

Detailed Description

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

Attention

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

void HAL_ADC_MspDeInit ( ADC_HandleTypeDef *  hadc)

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

Parameters
hadcADC handle pointer
Return values
None

ADC1 GPIO Configuration PA1 ---—> ADC1_IN1 PA2 ---—> ADC1_IN2

◆ HAL_ADC_MspInit()

void HAL_ADC_MspInit ( ADC_HandleTypeDef *  hadc)

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

Parameters
hadcADC handle pointer
Return values
None

ADC1 GPIO Configuration PA1 ---—> ADC1_IN1 PA2 ---—> ADC1_IN2

◆ HAL_DAC_MspDeInit()

void HAL_DAC_MspDeInit ( DAC_HandleTypeDef *  hdac)

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

Parameters
hdacDAC handle pointer
Return values
None

DAC GPIO Configuration PA4 ---—> DAC_OUT1 PA5 ---—> DAC_OUT2

◆ HAL_DAC_MspInit()

void HAL_DAC_MspInit ( DAC_HandleTypeDef *  hdac)

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

Parameters
hdacDAC handle pointer
Return values
None

DAC GPIO Configuration PA4 ---—> DAC_OUT1 PA5 ---—> DAC_OUT2

◆ HAL_I2C_MspDeInit()

void HAL_I2C_MspDeInit ( I2C_HandleTypeDef *  hi2c)

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

Parameters
hi2cI2C handle pointer
Return values
None

I2C1 GPIO Configuration PB6 ---—> I2C1_SCL PB7 ---—> I2C1_SDA

◆ HAL_I2C_MspInit()

void HAL_I2C_MspInit ( I2C_HandleTypeDef *  hi2c)

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

Parameters
hi2cI2C handle pointer
Return values
None

I2C1 GPIO Configuration PB6 ---—> I2C1_SCL PB7 ---—> I2C1_SDA

◆ 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

◆ 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

◆ HAL_TIM_MspPostInit()

void HAL_TIM_MspPostInit ( TIM_HandleTypeDef *  htim)

TIM4 GPIO Configuration PD12 ---—> TIM4_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