source: S-port/trunk/Core/Src/stm32f4xx_hal_msp.c

Last change on this file was 1, checked in by AlexLir, 3 years ago
File size: 2.4 KB
Line 
1/* USER CODE BEGIN Header */
2/**
3 ******************************************************************************
4 * @file stm32f4xx_hal_msp.c
5 * @brief This file provides code for the MSP Initialization
6 * and de-Initialization codes.
7 ******************************************************************************
8 * @attention
9 *
10 * <h2><center>&copy; Copyright (c) 2021 STMicroelectronics.
11 * All rights reserved.</center></h2>
12 *
13 * This software component is licensed by ST under Ultimate Liberty license
14 * SLA0044, the "License"; You may not use this file except in compliance with
15 * the License. You may obtain a copy of the License at:
16 * www.st.com/SLA0044
17 *
18 ******************************************************************************
19 */
20/* USER CODE END Header */
21
22/* Includes ------------------------------------------------------------------*/
23#include "main.h"
24/* USER CODE BEGIN Includes */
25
26/* USER CODE END Includes */
27
28/* Private typedef -----------------------------------------------------------*/
29/* USER CODE BEGIN TD */
30
31/* USER CODE END TD */
32
33/* Private define ------------------------------------------------------------*/
34/* USER CODE BEGIN Define */
35
36/* USER CODE END Define */
37
38/* Private macro -------------------------------------------------------------*/
39/* USER CODE BEGIN Macro */
40
41/* USER CODE END Macro */
42
43/* Private variables ---------------------------------------------------------*/
44/* USER CODE BEGIN PV */
45
46/* USER CODE END PV */
47
48/* Private function prototypes -----------------------------------------------*/
49/* USER CODE BEGIN PFP */
50
51/* USER CODE END PFP */
52
53/* External functions --------------------------------------------------------*/
54/* USER CODE BEGIN ExternalFunctions */
55
56/* USER CODE END ExternalFunctions */
57
58/* USER CODE BEGIN 0 */
59
60/* USER CODE END 0 */
61/**
62 * Initializes the Global MSP.
63 */
64void HAL_MspInit(void)
65{
66 /* USER CODE BEGIN MspInit 0 */
67
68 /* USER CODE END MspInit 0 */
69
70 __HAL_RCC_SYSCFG_CLK_ENABLE();
71 __HAL_RCC_PWR_CLK_ENABLE();
72
73 /* System interrupt init*/
74 /* PendSV_IRQn interrupt configuration */
75 HAL_NVIC_SetPriority(PendSV_IRQn, 15, 0);
76
77 /* USER CODE BEGIN MspInit 1 */
78
79 /* USER CODE END MspInit 1 */
80}
81
82/* USER CODE BEGIN 1 */
83
84/* USER CODE END 1 */
85
86/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Note: See TracBrowser for help on using the repository browser.