NNP STM Generic Remote Module git-main
Loading...
Searching...
No Matches
stm32l4xx_hal_msp.c File Reference

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_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_CAN_MspInit (CAN_HandleTypeDef *hcan)
 CAN MSP Initialization This function configures the hardware resources used in this example.
 
void HAL_CAN_MspDeInit (CAN_HandleTypeDef *hcan)
 CAN 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_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.
 

Variables

DMA_HandleTypeDef hdma_adc1
 

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.

Definition in file stm32l4xx_hal_msp.c.

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 PC0 ------> ADC1_IN1 PC1 ------> ADC1_IN2 PC2 ------> ADC1_IN3 PC3 ------> ADC1_IN4

Definition at line 160 of file stm32l4xx_hal_msp.c.

◆ 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

Initializes the peripherals clock

ADC1 GPIO Configuration PC0 ------> ADC1_IN1 PC1 ------> ADC1_IN2 PC2 ------> ADC1_IN3 PC3 ------> ADC1_IN4

Definition at line 87 of file stm32l4xx_hal_msp.c.

Here is the call graph for this function:

◆ HAL_CAN_MspDeInit()

void HAL_CAN_MspDeInit ( CAN_HandleTypeDef * hcan)

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

Parameters
hcanCAN handle pointer
Return values
None

CAN1 GPIO Configuration PB8 ------> CAN1_RX PB9 ------> CAN1_TX

Definition at line 235 of file stm32l4xx_hal_msp.c.

◆ HAL_CAN_MspInit()

void HAL_CAN_MspInit ( CAN_HandleTypeDef * hcan)

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

Parameters
hcanCAN handle pointer
Return values
None

CAN1 GPIO Configuration PB8 ------> CAN1_RX PB9 ------> CAN1_TX

Definition at line 193 of file stm32l4xx_hal_msp.c.

◆ 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

I2C2 GPIO Configuration PB13 ------> I2C2_SCL PB14 ------> I2C2_SDA

Definition at line 319 of file stm32l4xx_hal_msp.c.

◆ 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

Initializes the peripherals clock

I2C2 GPIO Configuration PB13 ------> I2C2_SCL PB14 ------> I2C2_SDA

Definition at line 267 of file stm32l4xx_hal_msp.c.

Here is the call graph for this function:

◆ HAL_MspInit()

void HAL_MspInit ( void )

Initializes the Global MSP.

Definition at line 64 of file stm32l4xx_hal_msp.c.

◆ 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

Definition at line 379 of file stm32l4xx_hal_msp.c.

◆ 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

Definition at line 353 of file stm32l4xx_hal_msp.c.

Variable Documentation

◆ hdma_adc1

DMA_HandleTypeDef hdma_adc1
extern

Definition at line 49 of file main.c.