|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
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_TIM_MspPostInit (TIM_HandleTypeDef *htim) |
| void | HAL_MspInit (void) |
| Initializes the Global MSP. | |
| void | HAL_ADC_MspInit (ADC_HandleTypeDef *hadc) |
| ADC MSP Initialization This function configures the hardware resources used in this example. | |
| void | HAL_ADC_MspDeInit (ADC_HandleTypeDef *hadc) |
| ADC MSP De-Initialization This function freeze the hardware resources used in this example. | |
| void | HAL_I2C_MspInit (I2C_HandleTypeDef *hi2c) |
| I2C MSP Initialization This function configures the hardware resources used in this example. | |
| void | HAL_I2C_MspDeInit (I2C_HandleTypeDef *hi2c) |
| I2C MSP De-Initialization This function freeze the hardware resources used in this example. | |
| void | HAL_RTC_MspInit (RTC_HandleTypeDef *hrtc) |
| RTC MSP Initialization This function configures the hardware resources used in this example. | |
| void | HAL_RTC_MspDeInit (RTC_HandleTypeDef *hrtc) |
| RTC MSP De-Initialization This function freeze the hardware resources used in this example. | |
| void | HAL_MMC_MspInit (MMC_HandleTypeDef *hmmc) |
| MMC MSP Initialization This function configures the hardware resources used in this example. | |
| void | HAL_MMC_MspDeInit (MMC_HandleTypeDef *hmmc) |
| MMC MSP De-Initialization This function freeze the hardware resources used in this example. | |
| 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_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. | |
This file provides code for the MSP Initialization and de-Initialization codes.
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 stm32h7xx_hal_msp.c.
| void HAL_MMC_MspDeInit | ( | MMC_HandleTypeDef * | hmmc | ) |
MMC MSP De-Initialization This function freeze the hardware resources used in this example.
| hmmc | MMC handle pointer |
| None |
SDMMC1 GPIO Configuration PC8 ------> SDMMC1_D0 PC9 ------> SDMMC1_D1 PC10 ------> SDMMC1_D2 PC11 ------> SDMMC1_D3 PC12 ------> SDMMC1_CK PD2 ------> SDMMC1_CMD
Definition at line 395 of file stm32h7xx_hal_msp.c.
References __HAL_RCC_SDMMC1_CLK_DISABLE, EMMC_CLK_Pin, EMMC_CMD_GPIO_Port, EMMC_CMD_Pin, EMMC_D0_Pin, EMMC_D1_Pin, EMMC_D2_Pin, EMMC_D3_Pin, GPIOC, HAL_GPIO_DeInit(), HAL_NVIC_DisableIRQ(), SDMMC1, and SDMMC1_IRQn.
| void HAL_MMC_MspInit | ( | MMC_HandleTypeDef * | hmmc | ) |
MMC MSP Initialization This function configures the hardware resources used in this example.
| hmmc | MMC handle pointer |
| None |
Initializes the peripherals clock
SDMMC1 GPIO Configuration PC8 ------> SDMMC1_D0 PC9 ------> SDMMC1_D1 PC10 ------> SDMMC1_D2 PC11 ------> SDMMC1_D3 PC12 ------> SDMMC1_CK PD2 ------> SDMMC1_CMD
Definition at line 331 of file stm32h7xx_hal_msp.c.
References __HAL_RCC_GPIOC_CLK_ENABLE, __HAL_RCC_GPIOD_CLK_ENABLE, __HAL_RCC_SDMMC1_CLK_ENABLE, GPIO_InitTypeDef::Alternate, EMMC_CLK_Pin, EMMC_CMD_GPIO_Port, EMMC_CMD_Pin, EMMC_D0_Pin, EMMC_D1_Pin, EMMC_D2_Pin, EMMC_D3_Pin, Error_Handler(), GPIO_AF12_SDMMC1, GPIO_MODE_AF_PP, GPIO_NOPULL, GPIO_SPEED_FREQ_VERY_HIGH, GPIOC, HAL_GPIO_Init(), HAL_NVIC_EnableIRQ(), HAL_NVIC_SetPriority(), HAL_OK, HAL_RCCEx_PeriphCLKConfig(), GPIO_InitTypeDef::Mode, RCC_PeriphCLKInitTypeDef::PeriphClockSelection, GPIO_InitTypeDef::Pin, GPIO_InitTypeDef::Pull, RCC_PERIPHCLK_SDMMC, RCC_SDMMCCLKSOURCE_PLL, SDMMC1, SDMMC1_IRQn, RCC_PeriphCLKInitTypeDef::SdmmcClockSelection, and GPIO_InitTypeDef::Speed.
| __weak void HAL_MspInit | ( | void | ) |
Initializes the Global MSP.
Initializes the MSP.
| None |
Definition at line 64 of file stm32h7xx_hal_msp.c.
References __HAL_RCC_SYSCFG_CLK_ENABLE, HAL_NVIC_SetPriority(), and PendSV_IRQn.
Referenced by HAL_Init().
| void HAL_TIM_MspPostInit | ( | TIM_HandleTypeDef * | htim | ) |
TIM1 GPIO Configuration PB14 ------> TIM1_CH2N
TIM3 GPIO Configuration PC6 ------> TIM3_CH1 PC7 ------> TIM3_CH2
Definition at line 763 of file stm32h7xx_hal_msp.c.
References __HAL_RCC_GPIOB_CLK_ENABLE, __HAL_RCC_GPIOC_CLK_ENABLE, GPIO_InitTypeDef::Alternate, GPIO_AF1_TIM1, GPIO_AF2_TIM3, GPIO_MODE_AF_PP, GPIO_NOPULL, GPIO_PIN_14, GPIO_SPEED_FREQ_LOW, GPIOB, GPIOC, HAL_GPIO_Init(), TIM_HandleTypeDef::Instance, GPIO_InitTypeDef::Mode, GPIO_InitTypeDef::Pin, GPIO_InitTypeDef::Pull, PWM1_Pin, PWM2_Pin, GPIO_InitTypeDef::Speed, TIM1, and TIM3.
Referenced by MX_TIM1_Init(), and MX_TIM3_Init().