firmware
IEM Firmware Documentation
|
This file provides code for the MSP Initialization and de-Initialization codes. More...
#include "main.h"
Functions | |
void | HAL_MspInit (void) |
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_CRC_MspInit (CRC_HandleTypeDef *hcrc) |
CRC MSP Initialization This function configures the hardware resources used in this example. | |
void | HAL_CRC_MspDeInit (CRC_HandleTypeDef *hcrc) |
CRC MSP De-Initialization This function freeze the hardware resources used in this example. | |
void | HAL_FDCAN_MspInit (FDCAN_HandleTypeDef *hfdcan) |
FDCAN MSP Initialization This function configures the hardware resources used in this example. | |
void | HAL_FDCAN_MspDeInit (FDCAN_HandleTypeDef *hfdcan) |
FDCAN 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_Base_MspInit (TIM_HandleTypeDef *htim_base) |
TIM_Base MSP Initialization This function configures 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. |
Variables | |
DMA_HandleTypeDef | hdma_adc1 |
DMA_HandleTypeDef | hdma_adc2 |
DMA_HandleTypeDef | hdma_spi4_rx |
DMA_HandleTypeDef | hdma_spi4_tx |
DMA_HandleTypeDef | hdma_uart4_rx |
DMA_HandleTypeDef | hdma_uart4_tx |
static uint32_t | HAL_RCC_ADC12_CLK_ENABLED = 0 |
static uint32_t | HAL_RCC_FDCAN_CLK_ENABLED = 0 |
This file provides code for the MSP Initialization and de-Initialization codes.
Copyright (c) 2025 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.
void HAL_ADC_MspDeInit | ( | ADC_HandleTypeDef * | hadc | ) |
ADC MSP De-Initialization This function freeze the hardware resources used in this example.
hadc | ADC handle pointer |
None |
ADC1 GPIO Configuration PA6 ------> ADC1_INP3 PF12 ------> ADC1_INP6
ADC2 GPIO Configuration PA4 ------> ADC2_INP18 PA5 ------> ADC2_INP19 PA7 ------> ADC2_INP7
void HAL_ADC_MspInit | ( | ADC_HandleTypeDef * | hadc | ) |
ADC MSP Initialization This function configures the hardware resources used in this example.
hadc | ADC handle pointer |
None |
ADC1 GPIO Configuration PA6 ------> ADC1_INP3 PF12 ------> ADC1_INP6
ADC2 GPIO Configuration PA4 ------> ADC2_INP18 PA5 ------> ADC2_INP19 PA7 ------> ADC2_INP7
void HAL_CRC_MspDeInit | ( | CRC_HandleTypeDef * | hcrc | ) |
CRC MSP De-Initialization This function freeze the hardware resources used in this example.
hcrc | CRC handle pointer |
None |
void HAL_CRC_MspInit | ( | CRC_HandleTypeDef * | hcrc | ) |
CRC MSP Initialization This function configures the hardware resources used in this example.
hcrc | CRC handle pointer |
None |
void HAL_FDCAN_MspDeInit | ( | FDCAN_HandleTypeDef * | hfdcan | ) |
FDCAN MSP De-Initialization This function freeze the hardware resources used in this example.
hfdcan | FDCAN handle pointer |
None |
FDCAN1 GPIO Configuration PA11 ------> FDCAN1_RX PA12 ------> FDCAN1_TX
FDCAN2 GPIO Configuration PB12 ------> FDCAN2_RX PB13 ------> FDCAN2_TX
FDCAN3 GPIO Configuration PD12 ------> FDCAN3_RX PD13 ------> FDCAN3_TX
void HAL_FDCAN_MspInit | ( | FDCAN_HandleTypeDef * | hfdcan | ) |
FDCAN MSP Initialization This function configures the hardware resources used in this example.
hfdcan | FDCAN handle pointer |
None |
FDCAN1 GPIO Configuration PA11 ------> FDCAN1_RX PA12 ------> FDCAN1_TX
FDCAN2 GPIO Configuration PB12 ------> FDCAN2_RX PB13 ------> FDCAN2_TX
FDCAN3 GPIO Configuration PD12 ------> FDCAN3_RX PD13 ------> FDCAN3_TX
void HAL_MspInit | ( | void | ) |
Initializes the Global MSP.
void HAL_SPI_MspDeInit | ( | SPI_HandleTypeDef * | hspi | ) |
SPI MSP De-Initialization This function freeze the hardware resources used in this example.
hspi | SPI handle pointer |
None |
SPI4 GPIO Configuration PE2 ------> SPI4_SCK PE5 ------> SPI4_MISO PE6 ------> SPI4_MOSI
void HAL_SPI_MspInit | ( | SPI_HandleTypeDef * | hspi | ) |
SPI MSP Initialization This function configures the hardware resources used in this example.
hspi | SPI handle pointer |
None |
Initializes the peripherals clock
SPI4 GPIO Configuration PE2 ------> SPI4_SCK PE5 ------> SPI4_MISO PE6 ------> SPI4_MOSI
void HAL_TIM_Base_MspDeInit | ( | TIM_HandleTypeDef * | htim_base | ) |
TIM_Base MSP De-Initialization This function freeze the hardware resources used in this example.
htim_base | TIM_Base handle pointer |
None |
void HAL_TIM_Base_MspInit | ( | TIM_HandleTypeDef * | htim_base | ) |
TIM_Base MSP Initialization This function configures the hardware resources used in this example.
htim_base | TIM_Base handle pointer |
None |
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 |
UART4 GPIO Configuration PD0 ------> UART4_RX PD1 ------> UART4_TX
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 |
Initializes the peripherals clock
UART4 GPIO Configuration PD0 ------> UART4_RX PD1 ------> UART4_TX
|
static |
|
static |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |