STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
stm32_assert_template.h
Go to the documentation of this file.
1
21
/* Define to prevent recursive inclusion -------------------------------------*/
22
#ifndef __STM32_ASSERT_H
23
#define __STM32_ASSERT_H
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
29
/* Exported types ------------------------------------------------------------*/
30
/* Exported constants --------------------------------------------------------*/
31
/* Includes ------------------------------------------------------------------*/
32
/* Exported macro ------------------------------------------------------------*/
33
#ifdef USE_FULL_ASSERT
42
#define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
43
/* Exported functions ------------------------------------------------------- */
44
void
assert_failed(uint8_t* file, uint32_t line);
45
#else
46
#define assert_param(expr) ((void)0U)
47
#endif
/* USE_FULL_ASSERT */
48
49
#ifdef __cplusplus
50
}
51
#endif
52
53
#endif
/* __STM32_ASSERT_H */
54
55
56
Drivers
STM32F4xx_HAL_Driver
Inc
stm32_assert_template.h
Generated on Wed Feb 26 2025 for STM32F4xx HAL Documentation by
1.12.0