DIY Logging Volt/Ampmeter
stm32f1xx_hal_msp.c
Go to the documentation of this file.
1 /* USER CODE BEGIN Header */
2 /**
3  ******************************************************************************
4  * @file stm32f1xx_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 BSD 3-Clause license,
14  * the "License"; You may not use this file except in compliance with the
15  * License. You may obtain a copy of the License at:
16  * opensource.org/licenses/BSD-3-Clause
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  */
64 void HAL_MspInit(void)
65 {
66  /* USER CODE BEGIN MspInit 0 */
67 
68  /* USER CODE END MspInit 0 */
69 
72 
73  /* System interrupt init*/
74 
75  /** NOJTAG: JTAG-DP Disabled and SW-DP Enabled
76  */
78 
79  /* USER CODE BEGIN MspInit 1 */
80 
81  /* USER CODE END MspInit 1 */
82 }
83 
84 /* USER CODE BEGIN 1 */
85 
86 /* USER CODE END 1 */
87 
88 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
__HAL_RCC_PWR_CLK_ENABLE
#define __HAL_RCC_PWR_CLK_ENABLE()
Definition: stm32f1xx_hal_rcc.h:440
main.h
Main header-file for the high-precision logging voltage/current meter project.
__HAL_RCC_AFIO_CLK_ENABLE
#define __HAL_RCC_AFIO_CLK_ENABLE()
Definition: stm32f1xx_hal_rcc.h:495
HAL_MspInit
void HAL_MspInit(void)
Definition: stm32f1xx_hal_msp.c:64
__HAL_AFIO_REMAP_SWJ_NOJTAG
#define __HAL_AFIO_REMAP_SWJ_NOJTAG()
Enable the Serial wire JTAG configuration.
Definition: stm32f1xx_hal_gpio_ex.h:485