|
Envorimental Monitoring
|
This file provides code for the MSP Initialization and de-Initialization codes. More...
#include "main.h"Functions | |
| void | HAL_MspInit (void) |
| 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_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. | |
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.
| void HAL_I2C_MspDeInit | ( | I2C_HandleTypeDef * | hi2c | ) |
I2C MSP De-Initialization This function freeze the hardware resources used in this example.
| hi2c | I2C handle pointer |
| None |
I2C3 GPIO Configuration PC9 ------> I2C3_SDA PA8 ------> I2C3_SCL
| void HAL_I2C_MspInit | ( | I2C_HandleTypeDef * | hi2c | ) |
I2C MSP Initialization This function configures the hardware resources used in this example.
| hi2c | I2C handle pointer |
| None |
I2C3 GPIO Configuration PC9 ------> I2C3_SDA PA8 ------> I2C3_SCL
| void HAL_MspInit | ( | void | ) |
Initializes the Global MSP.
| 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 |
USART2 GPIO Configuration PA2 ------> USART2_TX PA3 ------> USART2_RX
| 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 |
USART2 GPIO Configuration PA2 ------> USART2_TX PA3 ------> USART2_RX