H753_CPP_W25Q_QSPI_Flash_Read_Write_01
1.0
STM32H753 W25Q QSPI flash (Adafruit 5632/5633/5634) read/write tutorial
Loading...
Searching...
No Matches
main.h
Go to the documentation of this file.
1
/* USER CODE BEGIN Header */
21
/* USER CODE END Header */
22
23
/* Define to prevent recursive inclusion -------------------------------------*/
24
#ifndef __MAIN_H
25
#define __MAIN_H
26
27
#ifdef __cplusplus
28
extern
"C"
{
29
#endif
30
31
/* Includes ------------------------------------------------------------------*/
32
#include "stm32h7xx_hal.h"
33
34
/* Private includes ----------------------------------------------------------*/
35
/* USER CODE BEGIN Includes */
36
37
/* USER CODE END Includes */
38
39
/* Exported types ------------------------------------------------------------*/
40
/* USER CODE BEGIN ET */
41
42
/* USER CODE END ET */
43
44
/* Exported constants --------------------------------------------------------*/
45
/* USER CODE BEGIN EC */
46
47
/* USER CODE END EC */
48
49
/* Exported macro ------------------------------------------------------------*/
50
/* USER CODE BEGIN EM */
51
52
/* USER CODE END EM */
53
54
/* Exported functions prototypes ---------------------------------------------*/
55
56
/* USER CODE BEGIN EFP */
57
58
/* USER CODE END EFP */
59
60
/* Private defines -----------------------------------------------------------*/
61
#define STLINK_RX_Pin GPIO_PIN_8
62
#define STLINK_RX_GPIO_Port GPIOD
63
#define STLINK_TX_Pin GPIO_PIN_9
64
#define STLINK_TX_GPIO_Port GPIOD
65
66
/* USER CODE BEGIN Private defines */
67
68
void
_Error_Handler
(
const
char
*file,
int
line);
69
70
#define Error_Handler() _Error_Handler((const char *)__FILE__, __LINE__)
71
#define REDIRECT_PRINTF
72
73
/* USER CODE END Private defines */
74
75
#ifdef __cplusplus
76
}
77
#endif
78
79
#endif
/* __MAIN_H */
_Error_Handler
void _Error_Handler(const char *file, int line)
This function is executed in case of error occurrence.
Definition
main.c:367
Core
Inc
main.h
Generated by
1.10.0