H753_CPP_Device_Electronic_Signature 1.0
STM32H753 96-bit device unique ID read and print tutorial
Loading...
Searching...
No Matches
main.h File Reference

: Header for main.c file. This file contains the common defines of the application. More...

#include "stm32h7xx_hal.h"

Go to the source code of this file.

Macros

#define Error_Handler()   _Error_Handler((const char *)__FILE__, __LINE__)
 
#define REDIRECT_PRINTF
 

Functions

void _Error_Handler (const char *file, int line)
 This function is executed in case of error occurrence.
 

Detailed Description

: Header for main.c file. This file contains the common defines of the application.

Attention

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.

Definition in file main.h.

Macro Definition Documentation

◆ Error_Handler

#define Error_Handler ( )    _Error_Handler((const char *)__FILE__, __LINE__)

Definition at line 64 of file main.h.

◆ REDIRECT_PRINTF

#define REDIRECT_PRINTF

Definition at line 65 of file main.h.

Function Documentation

◆ _Error_Handler()

void _Error_Handler ( const char * file,
int line )

This function is executed in case of error occurrence.

Parameters
fileThe file name as a string.
lineThe line number in the file.
Return values
None

Definition at line 396 of file main.c.